Impulse Support: Can I add another Product with its own sections?
This documentation is for older versions of Impulse and no longer relevant to most merchants. Only continue reading if you're on a version before 5.0 of Impulse.
For details on template creation in versions 5.0 and higher, view the documentation here.
This is possible if you are comfortable duplicating files and making a few minor changes. This feature applies to Impulse v1.0 and up.
Note: this process can become cumbersome with a large (10+) number of unique Products. We recommend talking to a Shopify Expert to see if another solution may fit your content needs. Because Shopify was not designed to use modular sections outside of the homepage, support for this customization will be limited to this guide.
In short, Shopify saves your section content by the filename of the section. This means we'll need to copy the current section and template files and rename them to be unique for each product that we want to have sections on.
In this example, we'll be setting up a new "White Shirt" product with sections.
Create a new template
- Open the code editor, find the Templates folder and click Add new template
- Choose product in the first dropdown and call it something you will recognize later, in our case white-shirt
- In versions 3.2.0 and newer (July 2020), look for this line:
{% section 'product-story-sections' %}
In older versions, look for this line:
{% section 'product-template' %} - Replace that line with:
{% section 'product-white-shirt' %}
including the recognizable name above in the filename and click Save
Create a new section
- In the code editor's sidebar, find the Sections folder and click Add new section
- Name the section with the exact same name from step 3 above, in our case product-white-shirt
- Remove the code in the text box so the file is empty
- Find the Sections folder again and click on product-sections-template.liquid
- Right-click on the code, click Select All, copy it to the clipboard, open up the section file we just created, paste the code in and click Save
You can now follow the usual steps to apply your new template to a Product and begin adding sections from the Theme Editor. This time you'll look for the template called product.white-shirt.