Empty items array post cart transform #398
stevekaran
started this conversation in
Feedback: Cart Transform API
Replies: 3 comments 4 replies
|
Hi, that behaviour is unexpected. Could you provide more details so that we can investigate further? Note that the API will not return the bundle components as lines, instead the lines will be the "parent" bundles. |
4 replies
|
@ignacio-chiazzo @nickwesselman Opened a ticket with partner support for proper action/resolution |
0 replies
|
Any updates on this? |
0 replies
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.
When adding non-bundled products/variants to the cart via
/cart/add.js, the response is a completeitemsarray with a detailed JSON structure of the product/variant that was added to the cart, validating the item(s) were added successfully.When adding child product variants of a bundle to the cart via
/cart/add.js, the response returned is an empty items arrayitems: [], instead of the completeitemsarray like with non-bundled products. Only upon re-fetching the cart does one get the full JSON of the cart.Is this intentional/as designed?
All reactions