arrow-right cart chevron-down chevron-left chevron-right chevron-up close menu minus play plus search share user email pinterest facebook instagram snapchat tumblr twitter vimeo linkedin youtube subscribe dogecoin dwolla forbrugsforeningen litecoin amazon_payments american_express bitcoin cirrus discover fancy interac jcb master paypal stripe visa diners_club dankort maestro trash

Shopping Cart

Shopify Insights

Simplify Your Shopify Site: Duplicating Templates Made Easy

In the world of Shopify, simplicity and efficiency are key. Duplicating templates is a handy tool that allows you to make copies of existing pages, products, or collections, saving time and effort. Let's explore how to duplicate templates on Shopify and the benefits it brings.

1. Understanding Template Duplication:

Template duplication is a feature in Shopify that allows you to create exact copies of existing templates, such as pages, products, or collections. When you duplicate a template, Shopify preserves its structure, design, and functionality, making it easy to replicate templates for different purposes without having to recreate them from scratch. Whether you're creating a new landing page, product layout, or collection display, template duplication ensures consistency and efficiency in your website design process. This straightforward process is accessible to all users, regardless of their level of expertise.

2. Step-by-Step Guide:

Go to the "Edit Code" Section of Your Theme:

Start by logging in to your Shopify admin dashboard.

  1. From the left-hand menu, navigate to "Online Store" and select "Themes."
  2. Find the theme you want to work with and click on the "Actions" dropdown menu.
  3. Choose "Edit Code" from the list of options. This will take you to the theme's code editor.

Select the Page or Template You Want to Duplicate:

In the code editor, navigate to the section that contains the template you wish to duplicate. This could be a template for a page, product, or collection, depending on what you want to duplicate.

Copy the Code:

Once you've located the template code"

  1. Select the entire code block.
  2. Right-click and choose "Copy," or use the keyboard shortcut (Ctrl + C on Windows, Command + C on Mac) to copy the code.

Create a New Template and Save It:

In the code editor, under the "Templates" folder:

  1. Click on "Add a new template:
  2. Choose the template type and extension from the dropdown, then name your new template (e.g., "Custom" or "Holiday Sale Collection") and click "Done" to save it.

Paste the Code:

Open the newly created template in the theme editor.

  1. Delete all existing content, then paste the copied code using right-click or the keyboard shortcut (Ctrl + V on Windows, Command + V on Mac).
  2. Finally, click "Save" in the top right corner.

Select the Template from the Dropdown:

  1. Exit the "Edit Code" page and navigate to the relevant section (e.g., Admin -> Products -> Collections).
  2. Choose the desired collection and in the right sidebar, select your new template from the "Theme template" dropdown.
  3. Click "Save" to apply the template.

3. Benefits of Template Duplication:

Duplicating templates offers numerous benefits for Shopify store owners. Firstly, it allows you to create variations of templates for different purposes, such as seasonal promotions, targeted campaigns, or special events, without having to start from scratch.

This saves you time and effort by avoiding the need to rebuild layouts or features repeatedly. Additionally, template duplication enables you to experiment with new designs and content formats effortlessly, as you can easily revert to the original template if needed.

Moreover, users can enhance flexibility and customization capabilities by accessing the theme customizer. Through the customizer, users can select the duplicated template and adjust its content directly. By navigating to "Themes" and then "Customize," users can select the desired collection from the dropdown menu. From there, they can easily customize various sections and content elements of the template to better suit their needs and preferences.


Template duplication is a powerful way to simplify the customization process for Shopify store owners. By allowing you to create exact copies of existing templates while preserving their structure, design, and functionality, it streamlines the creation of variations for different purposes, such as seasonal promotions or targeted campaigns.

This saves time and effort by eliminating the need to rebuild layouts or features repeatedly. Whether you're a beginner or an experienced user, mastering template duplication enables you to unlock the full potential of your Shopify store and create a compelling online presence that drives success.