How To: Upgrade a page template to Online Store 2.0

Difficulty level: intermediate

Coding required: some

Need help? Contact support

  1. Create a new stub section to initiate Shopify Online Store 2.0 page template

    Note: this step only needs to be completed once per theme

    1. In the Shopify Theme Editor, edit the code of the theme you are working on

    2. In the sections folder of your theme, crete a new file in the folder. Title the assettheme-enhance-conversion.liquid

    3. Using the button below, click to copy the code content to your clipboard

    4. Delete the contents of the theme-enhance-conversion.liquid section created by Shopify and paste the contents of your clipboard into theme-enhance-conversion.liquid

    5. Save the theme-enhance-conversion.liquid file, if the icon is gray and you didn't click a green button, the previous step is incomplete

  2. Create a page template file

    This step needs to be completed for each page that you need to have Shopify Online 2.0 features for. For more info: how Shopify page templates work

    1. Navigate to the templates folder and add a new template file with the following:

      • Create a new template for: Page
      • Template type: JSON
      • File name: call it a name relevant to the page type you are customizing (i.e. landing promo july)

    2. Using the button below, click to copy the contents of the "theme-enhance-page-json" to your clipboard

    3. In the product page template you created, update the sections that were in there in both the manifest and the listing

    4. Paste into the template file that you created in the step above and click save

    5. Add decision gate to go to adding sections or to start merchandising

  3. Create a new page and assign a page template

    1. Create a new page as standard in Shopify

    2. Assign that page the template you just created

    3. Merchandise the content of that page in the Shopify Theme Editor

Issues viewing your page/page template?

If you are working on a preview theme and you are having issues viewing your page, please see: How Shopify page templates work

Subscribe to our newsletter

All things Shopify merchandising, design, photography, art direction & more

We care about the protection of your data. Read our Privacy Policy.