Skip to content

Prototype preview — explore Tangent & Masa Shopify themes. Browse catalog

Script&Theory

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.

  1. Product (Size frame, Height check, Care, Size guide)
  2. Product recommendations
  3. Complementary products

Create and assign a template

  1. 01In the Theme Editor, open the page-type selector at the top and choose Products, Collections or Pages.
  2. 02Click Create template, name it (or select an existing alternate like `map` or `contact`), and save.
  3. 03Arrange sections and blocks for the template.
  4. 04In Shopify admin, open the product, collection or page and select the template in its Theme template dropdown.