Skip to content
Contact

Rename and Delete a template

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

When you delete a template, any online store resources that had the template assigned to them are displayed with the default template until you assign a different one.

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find the theme with the template that you want to rename, and then click … > 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.
  1. From your Shopify admin, go to Online Store > Themes
  2. Find the theme you want to delete a template from, and then click … > Edit code.
  3. In the code editor, find the templates folder.
  4. Click the name of the template that you want to delete, and then click the trash can icon.
  5. In the dialog, click Delete file.