Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Apply the discount to the most expensive items - UI not saving data.
Apply the discount to the most expensive items - UI not saving data.
ID: 1011071
Backlog
Published on 4/3/2024
Last update on 4/3/2024

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/help-center-content/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
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 support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback