# Product template

You can customize the **Default product** template.

**Any changes you make to a template will impact all pages that use that template**.&#x20;

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.

## Create a new product template

1\. In the theme editor (**Customize**), use the page selector to open **Products > Create template**.

![](https://content.gitbook.com/content/SnkJrgCgnPuM88XGWwwm/blobs/lOVnaMcDxCgxJXFSz3HE/Screen%20Shot%202021-11-04%20at%2021.50.42.png)

2\. Add a **Name** in the provided field for the new template.

![](https://content.gitbook.com/content/SnkJrgCgnPuM88XGWwwm/blobs/w7ctWCU8i8aD0GHyw5WR/Screen%20Shot%202021-11-04%20at%2021.54.09.png)

3\. Choose the suitable value in the **Based on** the dropdown, then select **Create template**.

## Apply a new template to a product

1. From your Shopify admin, go to [**Products**](https://www.shopify.com/admin/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 dropdown menu to select a new theme template to apply to the selected product.
4. Click **Save**.

## Manage your templates

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

### Rename a template

1. From your Shopify admin, go to **Online Store** > [**Themes**](https://www.shopify.com/admin/themes).
2. Find the theme with the template that you want to rename, and then click the ( <img src="https://720269760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSnkJrgCgnPuM88XGWwwm%2Fuploads%2FBXXWQK7opo8VQhHOB8m4%2FHorizontalDotsMinor.svg?alt=media&#x26;token=9697aade-8d14-4ac2-83d8-7a149eb6f73b" alt="" data-size="line">) button > **Edit code**.
3. In the code editor, find the templates folder. Click the name of the template that you want to rename, and then click **Rename file**.
4. Enter the new template name, and click **Rename file** to save.

### Delete a template

1. From your Shopify admin, go to **Online Store** > [**Themes**](https://www.shopify.com/admin/themes)
2. Find the theme you want to delete a template from, and then click the ( <img src="https://720269760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSnkJrgCgnPuM88XGWwwm%2Fuploads%2FBXXWQK7opo8VQhHOB8m4%2FHorizontalDotsMinor.svg?alt=media&#x26;token=9697aade-8d14-4ac2-83d8-7a149eb6f73b" alt="" data-size="line">) button > **Edit code**.
3. In the code editor, find the templates folder. Click the name of the template that you want to delete, and then click **Delete file**.&#x20;

If you have any resources assigned to that template, then they are displayed with the default template until you assign a different one.<br>
