Top

Create a Collection of Bundles

Product Bundles allows you to create a bundle collection page, which displays bundles that include products from within that collection.

To create a collection of bundles, follow these steps:

  1. From "Shopify Admin", select Online Store.

    select online store

  2. Select Actions.

    Actions

  3. Select Edit code.

    Edit code

  4. Find the "Templates" files:

    find_template.png

  5. Select Add a new template.

    add_template.png

  6. Select Collection as the "Create a new template for" option.

    template_type.png

  7. Enter "bundles" as the name of the template.

    template_name.png

  8. Select Create template.

    save_template.png

  9. Replace the contents of the file with the following code:
    {% paginate collection.products by 1000 %} {% for product in collection.products %}
        <div class="bold-bundle" data-product-id="{{ product.id }}"&gt ></div>
    {% endfor %}{% endpaginate %}
    <style>
        .bold-bundle{
         	display:inline-flex; 
        }
        .bold-bundles-widget{
        	margin: 5px; 
        }
    </style>
    
  10. Select Save.

    Select Save

That's it!

Note: You'll need to add this URL to your Shopify "Navigation" for your customers to easily find this page. This page will display all of the bundles that you currently have active on the site.

https://<your myshopify domain>/collections/all?view=bundles

Next Steps: