Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Cashback promotions do not consider items removed from orders
Cashback promotions do not consider items removed from orders
ID: 1019864
Backlog
Published on 4/19/2024
Last update on 4/19/2024

Summary

Currently, when using cashback promotions, the calculations are entirely performed in the moment the items are inserted in the cart.

Hence, any changes to the orders done after that are not considered. Consequently, orders that had removed items and only consider the application of cashback after an invoice, the main case for this issue, will still take into account the removed item's cashback even though it was removed.

Simulation

1 - Create a 10% cashback promotion, restricted to only yourself (to avoid incorrect applications) and with the invoiced condition to apply the credits.

2 - Close a $100 order composed of 2 items: one that costs $80 and the other $20.

3 - The applied credits should be $10. Remove the $8 item from the order and invoice it.

4 - You will still be credited $10 as a cashback, despite the expected value now being $2, which happens because the promotion calculations are done during the checkout simulation, before the order is closed.

Workaround

There is no workaround.

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