Menu
Feedback
Start here

Known issues

Known issues
Wrong value for priceDefinition in the chain order for a multilevel marketplace
Order Management
ID: 663203
Backlog
Published on11/27/2023
Last updated on11/27/2023
1 min read

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
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