Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Inconsistent price when the SKU has unit multiplier different than 1
Inconsistent price when the SKU has unit multiplier different than 1
ID: 651102
Backlog
Published on 9/5/2022
Last update on 2/2/2024

Summary

When some SKU contains a unit multiplier different than 1 (it can be int as 10 or 100, or float as 0.8, for example), in some situations, the price returned in store-graphql may have inconsistencies based on the division of the price returned from the simulation API:

calculatedSellingPrice / (unitMultiplier * 100)

It can apply to all price values that use the unit multiplier such as in installments (that do not consider unit multiplier value and the simulation call sends the value with the unit multiplier being considered), PDP price, PLP price, or cart.

Simulation

Check the simulation called for a product with a unit multiplier Check the Price of the product on a search page or using a product search query from search-graphql The prices can be divergent by cents

Workaround

N/A

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