Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Wrong value for priceDefinition in the chain order for a multilevel marketplace
Wrong value for priceDefinition in the chain order for a multilevel marketplace
ID: 663203
Backlog
Published on 11/27/2023
Last update on 11/27/2023

Summary

The "priceDefinition" property for orders in the "chain" level in a multilevel marketplace isn't following the "sellingPrice" as expected. Instead, it's following the "price" property.

Simulation

Create an order with a discount applied since the marketplace layer (level 1), in relation to the seller layer (chain, level 2), in a multilevel relationship. The fulfillment layer (level 3) will present the values correctly, but the "chain" won't.

Workaround

Avoid using the "priceDefinition" property in these type of orders and do the maths using the price, quantity, unitMultiplier, and priceTag properties – to avoid issues with the "sellingPrice", which isn't a precise value.

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