Create Page Templates: Difference between revisions

From Posstack.com Documentation
(Created page with "Webpages - such as About Us, Contact Us, Store Policies pages, etc - are important for building trust with your customers. You can create webpages in your Shopify admin, then add rich content blocks using Easy Content Builder following the steps below: '''Step 1''': Create a new page: * From your Shopify admin, click '''Online Store''' (under the '''''Sales channels''''' section) * Click '''Pages''', then click '''Add''' page. * Enter a title and content for the pa...")
 
No edit summary
Line 3: Line 3:
You can create webpages in your Shopify admin, then add rich content blocks using Easy Content Builder following the steps below:  
You can create webpages in your Shopify admin, then add rich content blocks using Easy Content Builder following the steps below:  


'''Step 1''': Create a new page:  
====Step 1: Create a new page:====


* From your Shopify admin, click '''Online Store''' (under the '''''Sales channels''''' section)
* From your Shopify admin, click '''Online Store''' (under the '''''Sales channels''''' section)
Line 9: Line 9:
* Enter a title and content for the page.
* Enter a title and content for the page.
* Click '''Save''' (by default your new page will be visible when you click '''Save''').
* Click '''Save''' (by default your new page will be visible when you click '''Save''').
====Step 2 (optional): Create a Clean template====
A Clean template allows you to hide/remove unused sections of your default templates and only display custom app sections created by the Easy Content Builder.
We recommend you create three Clean templates, each for a type of page - Product page, Webpage, and Blog Post page. Once created, you will have three Clean template files with the '''.clean''' suffix (''product.clean.json'', ''page.clean.json'', ''article.clean.json'').
Learn more about [[Clean Template|What a Clean template is]] and [[Clean Template|How to create a Clean template]].
'''Note''': For each type of page (Product page, Webpage, Blog Post page), you just need one Clean template only. If a Clean template for the webpages does exist, please discard Step 2 - Create a Clean template for pages. The same rule applies to other types of pages - Product and Blog Post pages.
====Step 3: Create a product template ====


'''Step 2''': Create and assign a template  
'''Step 2''': Create and assign a template  

Revision as of 04:34, 22 November 2022

Webpages - such as About Us, Contact Us, Store Policies pages, etc - are important for building trust with your customers.

You can create webpages in your Shopify admin, then add rich content blocks using Easy Content Builder following the steps below:

Step 1: Create a new page:

  • From your Shopify admin, click Online Store (under the Sales channels section)
  • Click Pages, then click Add page.
  • Enter a title and content for the page.
  • Click Save (by default your new page will be visible when you click Save).

Step 2 (optional): Create a Clean template

A Clean template allows you to hide/remove unused sections of your default templates and only display custom app sections created by the Easy Content Builder.

We recommend you create three Clean templates, each for a type of page - Product page, Webpage, and Blog Post page. Once created, you will have three Clean template files with the .clean suffix (product.clean.json, page.clean.json, article.clean.json).

Learn more about What a Clean template is and How to create a Clean template.

Note: For each type of page (Product page, Webpage, Blog Post page), you just need one Clean template only. If a Clean template for the webpages does exist, please discard Step 2 - Create a Clean template for pages. The same rule applies to other types of pages - Product and Blog Post pages. 

Step 3: Create a product template

Step 2: Create and assign a template

From the Page Edit form, click More action (that appears in the upper-right of the form), and click Create Template for this page:

<img>

From the Easy Content Builder dashboard, you can create a new template based on:

  • Existing templates (if available) of your main theme that you created using the Easy Content Builder
  • Creating a Clean Template (refer to the section Create Clean Template for more details)
  • Using a pre-built template  

<img>

When prompted to confirm, click ‘OK’. Then, you will be automatically redirected to the Theme Editor where you can start adding content blocks to the template you’ve just created (Please refer to the section Adding ECB Blocks for more details).

Another way to create a template:

You can also create a new template from the dropdown menu in the Theme Editor (click Products, then scroll down and click Create template). Once the template is created, go to the Shopify admin > Products, open the product you want, and assign the template you’ve created (under the Theme Template section).

<img>

Next Step:

Once the new Product template is in place, you can start adding content blocks (Please refer to the section Customize Template with Theme Editor and ECB Block Settings for more details)