Strange behavior of the cart when the product in the bundle is no longer available #423
alex-cool-tech
started this conversation in
Feedback: Cart Transform API
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I discovered a strange behavior that prevents me from editing the number of several bundles in one cart (expand operation)
Let's imagine that there are 2 bundles (2 different line items, same content, i take the data for the content from the line item properties of the bundle product)
When I try to add a quantity to the 1 bundle and its product content is no longer in stock (I get the expected error that we cannot add more of this bundle), then sometimes these 2 bundles are merged into one. How is it possible? Their CartLine ID is different
At the input of the function, the CartLine of the first bundle comes (with quantity 3), that is, Shopify itself converts something even before executing my function
Need your help, thank you!
Beta Was this translation helpful? Give feedback.
All reactions