Short description of issue
Want to add shopify bundle in liquid code
Link to Shopify Store
This is just a dummy store for me to test out my custom shopify apps
Reproduction steps
There’s no error because it doesn’t exist
Additional info
I have downloaded and installed shopify-bundles from your app store and i was wondering if there is a way for me to get the product data within any newly created bundle? I can retrieve the data via Api, but there doesn’t seem to be anyway to get them via liquid. I have talked with your support team and they recommend creating a post here.
What type of topic is this
Feature request
Hey @Tony_Chau,
As far as I know, there is no way to access the child components with liquid of the bundle created via the native Shopify Bundles app.
Here’s a bundle created in the Bundles app:
Here’s the new bundle product with the components:
And here’s the data for that product:
It doesn’t look like it exists anywhere on the object unfortunately.
How I like to solve this is by building a metaobject with the same components, and then pulling the data from the metaobject with liquid.
It’s not a perfect solution because you need to keep the bundle composition updated in both the metaobject and the bundles, but it gives you a lot more control over the experience.
Hope this helps!
Hi Robbie,
Thanks for the reply. I am just making this post as a request for the shopify team in hope it becomes a new feature in the future. I was recommended to make a metafield where it will confirm whether its a bundle or not, however, I am currently building a shopify app and I need to collect all product data from the bundle which it does grant me unfortunately as I need to collect their metafield data too.
Hope this makes it clear.
I would love this feature as well !