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. |
Beta Was this translation helpful? Give feedback.
4 replies
-
@ignacio-chiazzo @nickwesselman Opened a ticket with partner support for proper action/resolution |
Beta Was this translation helpful? Give feedback.
0 replies
-
Any updates on this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When adding non-bundled products/variants to the cart via
/cart/add.js
, the response is a completeitems
array 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 completeitems
array 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?
Beta Was this translation helpful? Give feedback.
All reactions