Available template and theme แบ งเป นก กล ม

Choose a template or type a key word or phrase into the Search for online templates and themes field, and press Enter.

  • When you find the template that you want, select it to see the details, and then select Create.

Note: If you created templates, they may be under the Personal tab. Business customers may see a Company tab with themed templates.

If you've created a template or gotten one from elsewhere, store it in the right location to make it easy to apply:

Templates are a collection of sections that are configured to give your online store a consistent look and feel. Which sections are available in your templates depends on your theme. In the theme editor, you can discover which templates are applied to which pages, and then edit them to customize the information displayed to your customers.

Editing a template applies the changes to every page that uses that page template. For example, if you add a newsletter signup form to a collection template, then all collections pages that use the default collection template now display the newsletter signup form.

You can have up to 1000 templates in total.

Edit templates

You can edit your templates to add sections to your online store. Some sections contain blocks that can be further customized, but not every section or block has settings or content that can be edited. When you edit your templates, your changes are displayed in real time in the theme preview window.

Steps:

Create a new template

Some template types can be used to display multiple pages using the resources in your store. These template types include:

  • collections
  • products
  • blogs
  • blog posts
  • pages

All themes come with a default template for each type. This default template is what resources use if you don't have an alternate template explicitly set.

Any changes you make to a template will impact all pages that use that template. If you want to display some pages of that type differently, then you can create a new template based on one that already exists in your theme. Creating a new template from an existing template automatically populates your new template with the same sections, which you can then edit to remove, add, or hide sections as needed without impacting the display of other templates of that type.

Steps:

Create a template for metaobjects

You can create a template for a web page for metaobjects.

To use this feature, you need to complete the following steps:

  1. Create a metaobject definition with Storefront access and, optionally, . When you create a theme template, the theme editor activates the Web pages feature.
  2. Create entries for the metaobject definition.

You can now create a theme template.

Steps:

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find the theme that you want to edit, and then click Customize
  3. Open the page selector at the top of the page.
  4. Click Create metaobject template. In the dialog, click the metaobject that you want to use for your template. You can edit what metaobject field is used for the Page title and the Meta description, and you can edit the URL handle in the Search engine listing section. The template is automatically named with the same name as your metaobject definition.
  5. Click Create template.
  6. After you create the template, you can add sections, add blocks, and edit settings to customize the template. You can use dynamic sources to connect your metaobject definition fields. For example, if you're creating pages for your ambassador with images, then you might want to add in an image with text and then connect the metaobject entries by clicking the dynamic source icon.
  7. Click Save.

Template previews

Template previews let you test how a template will display different resources to your customers when you save or publish. You can use template previews to preview how your pages or products display with a different template applied.

Templates are assigned on a page or product level. You create and edit templates in the theme editor, but you change a page or product's assigned template in your Shopify admin. You can have multiple templates for your pages and products.

Preview an alternate template

You can preview how your pages or products display with a different template applied.

Steps:

Apply a new template

You can change an assigned template for the following sections in a published theme:

  • pages
  • products
  • collections
  • blogs
  • blog posts

Changing an assigned template is done in your Shopify admin. The template options that display are based on the available templates in the current live theme.

Templates for products and collections can be assigned on an individual item level, or to multiple items using the . This is done outside the theme editor.

Apply a new template to a page

Apply a new template to a product

  1. From your Shopify admin, go to Products.
  2. Use the search filter to locate the product that you want to change, or click the product from the list of existing products.
  3. In the Online store section, use the drop-down menu to select a new theme template to apply to the selected product.
  4. Click Save.

Apply a new template to a collection

  1. From your Shopify admin, go to Products > Collections.
  2. Use the search filter to locate the collection that you want to change, or click the collection from the list of existing collections.
  3. In the Online store section, use the drop-down menu to select a new theme template to apply to the selected collection.
  4. Click Save.

Apply a new template to a blog post

Apply a new template to a blog

Bulk template changes

You can use the Bulk editor to apply a new template to several products or collections at the same time.

Bulk edit products

  1. From your Shopify admin, go to Products.
  2. Use the search filter to locate the products that you want to change.
  3. To edit multiple products at the same time, use the following shortcuts:
    • To select and edit multiple products at the same time, click the checkbox of the items that you want to edit.
    • To select a range of products, click a checkbox, then hold the shift key and click another product checkbox.
    • To select multiple adjacent products, click to select an item, then hold the shift key and click another item checkbox.
  4. Click Bulk edit.
  5. In the Bulk editor, click the Columns drop-down menu, and then in the General section, click the Template checkbox.
  6. Click the template field of the first line, then hold the shift key, and then click the template field of the last line. A blue shading will appear around the items you have selected.
  7. Using the drop-down menu, choose a new template for the selected items.
  8. Click Save.

Bulk edit collections

  1. From your Shopify admin, go to Products > Collections.
  2. Use the search filter to locate the collections that you want to change.
  3. To edit multiple collections at the same time, use the following shortcuts:
    • To select and edit multiple collections at the same time, click the checkbox of the items that you want to edit.
    • To select a range of collections, click a checkbox, then hold the shift key and click another collection checkbox.
    • To select multiple adjacent collections, click to select an item, then hold the shift key and click another item checkbox.
  4. Click Bulk edit.
  5. In the Bulk editor, click the Columns drop-down menu, and then in the General section, click the Template checkbox.
  6. Click the template field of the first line, then hold the shift key, and then click the template field of the last line. A blue shading will appear around the items you have selected.
  7. Using the drop-down menu, choose a new template for the selected items.
  8. Click Save.

Managing your templates

To rename or delete your template, you need to use the code editor. Editing your template file might cause issues to your online store.