Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
PlaceOrder generating wrong discount and shipping values between items that appear more than once
PlaceOrder generating wrong discount and shipping values between items that appear more than once
ID: 732529
Backlog
Published on 1/12/2023
Last update on 2/13/2023

Summary

When the order creation request declares the same item more than once, required to declare different prices or discount values between the multiple units of the item, the checkout service will sum up all the quantities in a single item and apply only the conditions from the first item in all of them. It'll generate a wrong total price/discount and even shipping.

A quick example of this scenario is while applying a "more for less" promotion in an external place order request, or even when this condition happens at the marketplace level for a Multilevel Omnichannel inventory (MOI) scenario.

Simulation

  • Access a marketplace account that has regular sellers using the multi-level relationship (MOI)
  • Add a product that has a "more for less" promotion and places the order
  • Check the total price (discounts and shipping) at the seller

This is just an easier way to simulate, but you can also use the Place Order API

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