Minion

How to create alternate page and product templates in Shopify

Create and assign Shopify alternate templates without changing every page, and understand how JSON templates use sections and shared content.

Reviewed December 2, 2026 · Minion

An alternate template changes the layout for selected products, collections or pages. It is useful for a specialist product range, a campaign landing page or a different editorial layout without changing the default template used elsewhere.

Create the template

  1. Duplicate the theme you plan to edit.
  2. Open the theme editor and choose the relevant resource type from the template selector.
  3. Create a new template based on an appropriate existing template.
  4. Add, remove or arrange the sections the theme supports.
  5. Preview the layout using a representative product, collection or page.

Current Shopify themes commonly use JSON templates. The JSON file describes the sections and settings; custom HTML and Liquid belong in the referenced sections, not directly inside JSON.

Assign the right resource

Choose the alternate template in the product, collection or page's template setting. The available choices depend on the published theme, so coordinate assignments with the theme release. Merely creating or previewing a template does not assign it to the intended content.

Settings on a shared template can affect every resource assigned to it. Use resource data and metafields for information that changes per product, rather than entering one product's details into a shared section setting.

Check the release

Test an assigned resource and a resource that should keep the default layout. Check mobile spacing, menus, product forms and app blocks. If the alternate layout depends on custom sections, include those files in the theme release.

Before replacing the live theme, confirm that it contains the same template names and required settings. Template architecture is part of the release, not just a visual change in the editor.

References

Put this into practice.

Minion builds Shopify templates and sections that give your team flexible layouts without making everyday content changes dependent on code.

Talk to MinionExplore our services