Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Incorrect Value on Package due Discount division
Incorrect Value on Package due Discount division
ID: 605517
Backlog
Published on 6/27/2022
Last update on 11/25/2022

Summary

The package has a different value of total order without shipping value. It happens because of the discounts does not have properly division with amount itens of order.

Simulation

As example if the order has 4 itens and the price of each iten is 17 cents, total 68 cents. And if the discount is 3 cents, so the value should be 65 cents but is not possible give one cent to each iten as discount because the division calculate is not properly. So the UI will show 64 cents as total of package value once the correct value is 65 cents.

On UI you will see iten as 16 cents (calculatedSellingPrice) and UnitMultiplier as 4, equal 64 cents as value.

But the correct way is 1 iten as 17 cents and 3 itens as 16 cents, equal 65 cents as value.

Workaround

There is no workaround yet.

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