Menu
Feedback
Start here

Known issues

Known issues
Nominal Taxes + Gift Promotions on the same item might generate checkout errors
Catalog
ID: 1089066
Backlog
Published on8/29/2024
Last updated on9/4/2024
1 min read

Summary

Currently, when configuring a nominal tax along with gift promotions on the same item, the promotions module, when communicating with the checkout application, might generate a different rounding of the tax value

Simulation

The simulation of this type of issue is extremely specific and hard to replicate. It requires a set of gift promotions applying over the same item and a nominal tax.

Although it might be difficult to reproduce the behavior, the steps would be as follows:

1 - Create a nominal tax for a specific SKU, preferably with an odd number (such as 4.99), even numbers might not face this problem. 2 - Create a gift promotion for this SKU 3 - Add an even number of skus to the cart 4 - attempt to close the order, an error display might be shown and the order won't be closed. You can be certain this is the issue if, by changing the amount of items in the order, the problem subsides.

Note: this happens for very specific combinations of (amount of items in cart) + (tax values) + (gift promotions).

Workaround

Either use a percentual tax instead, other types of promotions aside from gifts

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 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