Vantage Theme: Adding More Custom Advanced Layout Templates
Now with new custom templates in the Vantage theme (v6.5+) you can create collections, products, and pages that give you the ability to organize your content better, eventually leading to higher conversions. This wonderful theme feature is pushing the bounds of Shopify! Out-of-the-box the Vantage theme (v6.5+) includes the following custom templates…
Custom Collection Templates
Custom Product Templates
Custom Page Templates
With these, you are able to create up to four Top-Level Collection Pages, Advanced Layout Product Pages, and Advanced Layout Pages. If you need more templates than what is included, adding them is very easy, in this tutorial we will go through the steps to do this.
From the Shopify Admin, go to Online Store > Themes, next to the theme you want to edit click on Actions > Edit Code.
In the Folder Sidebar look for the Templates folder and click Add a new template.
Select collection from the dropdown and type custom-five (or whichever number you're on) in the form. In this example we are adding another custom collection template, however, the steps are the same for Products and Pages, you would just need to choose the correct type in the dropdown.
The new template will show a single line of code, replace 'collection-template' with 'collection-custom-five' (or product-custom-five, or page-custom-five). Save the file.
In the Folder Sidebar look for the folder Sections and click on Add a new section.
Name the new section collection-custom-five (or product-custom-five, or page-custom-five). Click Create Section.
You will see on the right, the new collection-custom-five.liquid file with generic code. You will need to copy the code from the collection-custom-one.liquid file. So from the Folder Sidebar in the Sections folder click on collection-custom-one.liquid.
Select and copy (ctrl or command C) the entire contents of the collection-custom-one.liquid file.
From the Folder Sidebar in the Sections folder click on collection-custom-five.liquid, erase the existing code to empty the file, then paste (ctrl or command V) the code from the other template.
Search (ctrl or command F) the file for "Custom Collection One" and rename it to "Custom Collection Five". Save the file.
If you have a different theme or older version of Vantage theme published and you are working on this new version as a draft, you will find out real quick there is no collection.custom-one (two, three or four) to choose from the select menu. This is because your current theme does not have these templates. To override this you will need to create these custom templates on your current theme, this won't affect your live shop at all. Follow the steps in our tutorial here.
Now you will be able to choose the collection.custom-five template for your collection and customize it in the theme settings! You can repeat these steps for as many templates as you need. And you can follow the same instructions for adding more Product and Page custom templates. To learn more about configuring the settings for these custom templates see our following tutorials…