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