Expand operation not carried out when all component quantities are greater than 1 #226
Closed
ctrevorrow
started this conversation in
Feedback: Cart Transform API
Replies: 2 comments
-
I've also tried Shopify's Cart Transform test app and observed the same issue. Another example, this function output results in Line #0 staying unchanged (not expanded) but Line #1 is expanded and displayed with the components nested under it in the checkout:
When going through with a checkout, the order shows up in the admin with the line items like Line #0 still unexpanded. If a bundle does not have at least one component with a quantity of 1, it is never expanded at any stage. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey! Thanks for bringing this up. I replied in the issue . |
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
Uh oh!
There was an error while loading. Please reload this page.
-
When all of a bundle product's component products' quantities are greater than 1, the Expand operation which the Function outputs is not carried out. However, if one of the component products' quantities is equal to 1, the Expand operation results in the expected cart changes.
For example, this function output results in no changes in the checkout (Line #0 stays as the bundle product and DOES NOT display the components under it):
I can see the operation in the Run details (under Shopify Partners), but no changes are made to the Cart.
However, this function output results in the expected behavior in the checkout (Line #0 shows the bundle product's name with the components nested under it):
I am fairly certain both examples were working correctly in the first week of April.
Beta Was this translation helpful? Give feedback.
All reactions