For the complete documentation index, see llms.txt. This page is also available as Markdown.

Overview

Templates define the layout of each page type in your store. Create multiple templates to give different products or pages a completely different structure.

Templates are the foundation of how every page in your store looks and behaves. Each template is a collection of sections and blocks — configured independently in the Theme Editor. One template can look completely different from another: different sections, different content order, different blocks.

sparkles

Available templates in Avante themes

Template
Used for

Default product

All products by default

Pre-order

Products available for pre-order

Default collection

All collection pages

Collections list

The /collections page

Default blog

Blog listing page

Default blog post

Individual blog articles

Cart

The /cart page

Search

The /search page

Page

Standard pages (About, Contact, FAQ, etc.)

Password

Store password page

404

Page not found

Gift card

Gift card confirmation page

Quick view

Product quick view popup


How to create a new template

1

In the Theme Editor, use the page selector at the top to open Products → Create template

2

Enter a name for the new template

3

Select an existing template to base it on, then click Create template

The new template is a copy — customize it freely without affecting the original.


How to assign a template to a page or product

For products: Go to Shopify Admin → Products → open a product → find Theme template on the right → select a template → Save.

For pages: Go to Shopify Admin → Online Store → Pages → open a page → find Theme template on the right → select a template → Save.

lightbulb

Rename or delete a template

Renaming and deleting templates requires the code editor.

To rename:

  1. Go to Shopify Admin → Online Store → Themes → click ...Edit code

  2. Open the templates folder → click the template name → Rename file

  3. Enter a new name → Rename file

To delete:

  1. Go to Shopify Admin → Online Store → Themes → click ...Edit code

  2. Open the templates folder → click the template name → Delete file

sparkles

Last updated

Was this helpful?