Display contents of shopify bundle

Display contents of shopify bundle

L1B3A
Shopify Partner
7 0 0

is it possible to acces the products inside the shopify bundle to display the content of the bundle in liquid on my webshop? I've tried several things however nothing works and the output is nothing or null except for this little code : 

{% if bundle == empty %}
  The bundle is empty.
{% else %}
  The bundle is not empty.
{% endif %}

 

Replies 2 (2)

ProfitLabs
Shopify Partner
210 10 30

Hi @L1B3A,

 

Best of my knowledge contents of shopify bundles are not visible on store fronts, if you really need it then you can try out our app called Profit Bundles where we add the composition of the bundles as meta fields on product variants which you use to display on the product pages. 

Abhinav | Shopify Partner
- If helpful, please Like and Accept Solution.
- Creator of Sync Inventory - GoGo - Sync Inventory Across Multiple or Single Shopify Store .
- Creator of Profit Bundles - Sell Omni Sales Channel Bundles that you can fulfill yourself or even by a 3PL or Dropshipper.

CherryM
Shopify Partner
40 0 15

Hi @L1B3A,

 

Great question! 

 

Yes, it is possible to access the products inside a Shopify bundle and display the contents in Liquid, but it depends on how the bundle is set up. If the bundle is created using a custom method or an app, accessing the individual products may require a specific approach.

 

If you are using Simple Bundles in Shopify, you can indeed access the individual products inside the bundle to display them on your storefront using Liquid. Simple Bundles breaks down the bundle into its component products at checkout, but if you want to display the contents of the bundle on your product page, you’ll need to access the specific metafields where the bundle data is stored. 

 

Happy to assist and clarify further with your questions! Feel free to reach out at hello@simplebundles.io😊

 

Merchant Support Advisor at Simple Bundles & Freshly Inventory I Freshly Commerce