πŸŽ‰ Β  New theme alert! Β  Check out Β  ETHERYX β†’
Skip to content

Templates ​

Templates are a collection of sections configured to provide your store with a consistent look and feel. In the theme editor, you can see which templates are applied to which pages and customize them to adjust the information displayed to your customers.

Edit ​

WARNING

When you edit a template, the changes apply to all pages that use that template.

Example: Adding a newsletter signup form to the default collection template means every collection page using that template will display the signup form.

If needed, follow the steps in Revert template to undo the changes.

Create ​

To display certain pages differently, create a new template based on an existing one. The new template will inherit the same sections, which you can edit without impacting the original template.

  1. From your Shopify admin, go to Online Store β†’ Themes
  2. Click Customize
  3. In the Home page dropdown, select Pages
  4. Click (+) Create template
  5. Enter a name for your new template.
  6. Select the template you want your new template to be based on.
  7. Click Create template

Revert ​

If you've made changes to a template (e.g., page) and now all pages show the same content, you can revert the template to its original state.

  1. From your Shopify admin, go to Online Store β†’ Themes
  2. Locate Etheryx, then click β€’β€’β€’ and select Edit code
  3. In the code editor, open the Templates folder and click on the template you want to revert (e.g., page.json).
  4. Click on Recent changes, then select the version labeled Original - to restore the default template.
  5. Click Save
πŸ–ΌοΈ Screenshot
A browser screenshot

This will reset the template to its original state, fixing any layout issues caused by recent edits.

Rename ​

IMPORTANT

Editing a template file might cause issues with your online store.

  1. From your Shopify admin, go to Online Store β†’ Themes
  2. Locate Etheryx,as then click β€’β€’β€’ and select Edit code
  3. In the code editor, find the templates folder.
  4. Click the name of the template that you want to rename, and then click the pencil icon.
  5. In the Rename file dialog, enter a new template name in the File name field.
  6. Click Rename file

Delete ​

To delete a template, you need to use the code editor.

  1. From your Shopify admin, go to Online Store β†’ Themes.
  2. Locate Etheryx,as then click β€’β€’β€’ and select Edit code
  3. In the code editor, open the Templates directory.
  4. Click on the template you want to delete.
  5. Click Delete file (or the bin icon πŸ—‘οΈ).
  6. Confirm the deletion.

NOTE

If any resources (e.g., pages or products) were assigned to the deleted template, they will automatically use the default template until you assign a different one.

Assign ​

  1. From the left bar click Change
  2. Select the page you want to assign the new template to
  3. Click Save

Assign β‘‘ ​

If the first option for assigning the page fails, try this one instead.

  1. From Shopify admin, go to Online Store β†’ Pages
  2. Open the desired page.
  3. Locate the Online store block and select a template from your current theme’s dropdown list to define how the page is displayed.
  4. Click Save

Assign in Bulk ​

You can use the Bulk editor to apply a new template to multiple products or collections at once.

  1. From your Shopify admin, go to Products

  2. Select the products you want to edit using one of the following methods:

    • Select individual products: Click the checkbox next to each product.
    • Select a range of products: Click the first product, hold the Shift key, then click the last product. This selects all products in between.
    • Select all products on the current page: Click the checkbox at the top of the product list.
    • Select all products in your store: Click the checkbox at the top, then click Select all in this store.
  3. Click Bulk edit

  4. In the Bulk editor, click the Columns drop-down menu and select Template from the General section.

  5. Click the first field in the Template column, then hold the Shift key and click the last field in that column. A blue highlight will appear around the selected items.

  6. Click the first selected field, choose the new template from the drop-down menu,

  7. Click Save

Access unpublished templates ​

Shopify limits the templates in the admin to those included in your published theme. Often times you’ll require access to templates in an unpublished theme but you are not ready to publish the new theme to unlock them. To address this, we suggest completing this workaround.

WARNING

Before continuing with this guide, make sure you have purchased the theme.

Step β‘  - Confirm the template name ​

  1. From your Shopify admin, go to Online Store β†’ Themes.
  2. Locate Etheryx, then click β€’β€’β€’ β†’ Edit code
  3. Under Templates, find the template you want to make accessible (e.g., page.about.json).

    No changes are needed here; simply confirm the template name for the next step.


Step β‘‘ - Create a custom template in the published theme ​

  1. From your Shopify admin, go to Online Store β†’ Themes.

  2. Click β€’β€’β€’ β†’ Edit code beside your published theme (e.g., Dawn).

  3. Under Templates, click (+) Add a new template.

  4. For Create a new template for, select the base template type (e.g., page).

  5. For File name, enter the custom template’s name (e.g., about).

    IMPORTANT

    Ensure this matches the spelling of the unpublished theme’s template name.

  6. Click Create template

  7. Open the default template file for the type (e.g., page.json).

  8. Copy the code from the default file and paste it into the new file.

  9. Click Save


Step β‘’ - Confirm the template is accessible ​

  1. From your Shopify admin, go to Online Store β†’ Pages.
  2. Open the page you want to associate with the template (e.g., About us).
  3. On the right side, in the Theme template dropdown, select the custom template name (e.g., about).
  4. Click Save