Expanse Support: Can I add another Product with its own sections?

This documentation is for older versions of Expanse and no longer relevant to most merchants. Only continue reading if you're on a version before 2.0 of Expanse.

For details on template creation in versions 2.0 and higher, view the documentation here.

This is possible if you are comfortable duplicating files and making a few minor changes.

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

  1. Open the code editor, find the Templates folder and click Add new template
  2. Choose product in the first dropdown and call it something you will recognize later, in our case white-shirt
  3. Look for this line:
    {% section 'product-story-sections' %}
  4. Replace that line with:
    {% section 'product-white-shirt' %}
    including the recognizable name above in the filename and click Save

Create a new section

  1. In the code editor's sidebar, find the Sections folder and click Add new section
  2. Name the section with the exact same name from step 3 above, in our case product-white-shirt
  3. Remove the code in the text box so the file is empty
  4. Find the Sections folder again and click on product-sections-template.liquid
  5. 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.