Menu
Feedback
Start here

Known issues

Known issues
Apply the discount to the most expensive items - UI not saving data.
Catalog
ID: 1011071
Backlog
Published on4/3/2024
Last updated on4/3/2024
1 min read

Summary

When using the promotions UI, manually attempting to save the "Apply to the most expensive items" option will not work and the selector will remain at the cheapest type option.

{"base64":"  ","img":{"width":747,"height":532,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":37849,"url":"https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/Catalog/apply-the-discount-to-the-most-expensive-items-ui-not-saving-data_1.png"}}

Simulation

1 - Go to the promotions User Interface: https://account_name.myvtex.com/admin/promotions

2 - In the promotions UI, select the option to "Apply the discount to the most expensive items"

3 - Save the promotion

4 - Access it once again, the box to apply for the cheapest option will be selected instead.

Workaround

Use the promotions save API instead https://developers.vtex.com/docs/api-reference/promotions-and-taxes-api#post-/api/rnb/pvt/calculatorconfiguration

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback