Merge bundles with cart transform

Our app utilizes the Cart Transform Merge Operation to implement bundles. Some of our merchants have existing products with components created with the Shopify Bundles app and wish to merge several of these into a final bundle using our app.

We’ve encountered an issue where the merge operation doesn’t work when attempting to merge two variants when one is created with the Shopify Bundles app. The cart transform operation succeeds, and I can confirm that the output is correct, but the bundle is not merged in the cart or checkout.

I believe this issue is similar to the one reported in this community thread: cartTransform price update not applied to product with components (bundle) - Shopify Community

Is there a workaround for this issue?

From what I could understand, you are trying to merge 2 variants into a parent product via the merge function.

One of those variants is created via Shopify Bundles app. That would mean that it’s a bundle itself.

As of now, Shopify doesn’t support nested bundles where a bundle can not be a part of another bundle.

It’s there in the Fixed Bundle documentation but it’s true for bundles as a concept. You can not have a bundle within a bundle. Neither from the API nor via expand or merge functions.

More about this here

1 Like