Templates
A template is a reusable JSON layout for a type of page. Edit a template once and every product, collection or page assigned to it updates.
Page, template, section
- Page
- The content itself — a product, a collection, an About page.
- Template
- The layout that page uses: which sections appear and in what order.
- Section
- One building block inside a template, like Campaign hero or Doorframe.
Masa templates
Illustrative example — this is a demonstration in the browser and isn’t connected to a Shopify store. Nothing is saved.
Product template
Defined in `templates/product.json`. Shared by products assigned to the default product template.
- Product (Size frame, Height check, Care, Size guide)
- Product recommendations
- Complementary products
Create and assign a template
- 01In the Theme Editor, open the page-type selector at the top and choose Products, Collections or Pages.
- 02Click Create template, name it (or select an existing alternate like `map` or `contact`), and save.
- 03Arrange sections and blocks for the template.
- 04In Shopify admin, open the product, collection or page and select the template in its Theme template dropdown.