Bundles and cart?

Hey,

I have some products that are bundled (via graphQL Add a product fixed bundle).

I want to have an option on the product page, that the customer can add another product to the bundle (checkbox) before they select Add to cart, wondering if this is considered a nested bundle or not and if it is possible?

Hey @ChrisBradley, you’re right that adding another bundled product via checkbox would technically count as a nested bundle, which isn’t supported in Shopify (as mentioned in our docs on adding product fixed bundles and adding variant fixed bundles here).

But just out of curiosity, have you looked into offering a checkbox selection directly on the Product Display Page through a theme app extension for the checkbox UI, or using a cart transform function to dynamically group the optional item in the cart without it technically being part of a bundle?

You could technically use the second option there to merge things post-add without nesting, based on metafields or attributes. Hope this helps a bit as always - let me know if I can clarify anything more on my end.

Hey @Alan_G

figured as much, I had considered just having this as a seperate item. I guess the problem is that the customer may select two of these products with different options and it might be hard to isloate which option was for which bundle.

I was considering using lineitemproperties to list the product page it was on to link.

I need to speak with sales and see how frquently that happens and if its worth the effort TBH.

That’s actually a good workaround too @ChrisBradley, it wouldn’t be “true” nesting either so it could work (you could theoretically combine your flow with add.js via the Ajax API).

Not the most elegant solution, but would definitely work. I’ll mark this thread as solved for now, but feel free to ping me here if I can help out further for sure!

@Alan_G yeah not the most elegant but at the same time really the solution without rebuilding everything (which I am pretty adverse to).

Ill check out the add.js implement as well, thanks!