Create Product Templates: Difference between revisions

From Posstack.com Documentation
No edit summary
No edit summary
Line 41: Line 41:
: [[File:Create Clean template 2.jpg|1200x1200px]]
: [[File:Create Clean template 2.jpg|1200x1200px]]


* 2.2. The fill in the '''Name''' & the '''''Based on''''' fields as follows: [[File:Create clean template base.png|1200x1200px]]
* 2.2. The fill in the '''Name''' & the '''''Based on''''' fields as follows: [[File:Create clean template form.png|1200x1200px]]


:* '''Name''': <span style="color:red">type the name using the following name structure, where “easy-“ is the prefix. The name can contain any of the following characters: (a-z), (0-9), and dash. E.g: easy-collection-phone</span>
:* '''Name''': <span style="color:red">type the name using the following name structure, where “easy-“ is the prefix. The name can contain any of the following characters: (a-z), (0-9), and dash. E.g: easy-collection-phone</span>

Revision as of 05:45, 3 December 2022

You can easily create a unique individual template for each of your products that presents specialized information and rich content blocks. When creating a product template using the Easy Content Builder, your original product page URL remains unchanged.

In this section, you will learn:

Create a new template for a Single product with the ECB app

NOTE: We highly recommend you create three Clean templates first, 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.

Step 1: Create a new product:

  • From your Shopify admin, go to Products.
  • From the Products page, click Add product.
  • Enter a title for your product, along with additional details.
  • Click Save.
Note:  If you want to create a template for an existing product, simply go to your Shopify admin > Products > click the name of the product that you want, then follow Step 2 below.

Step 2: Create a template for the product

  • From the Product Edit page, click More actions (that appears in the upper-right of the form), click Create Template for this product:
Create product template.jpg
  • From Easy Content Builder dashboard, you can create a new template based on:
    • Select a prebuilt product template provided by the Easy Content Builder app. Or,
    • Select from available templates of the main theme (if created before): This option is only visible if you did build templates using the Easy Content Builder app before. It allows you to speed up the workflow by reusing those templates.
Create template for single product.jpg

Step 3: Customize the template in the Theme Editor

  • After you perform Step 2 above, you will be automatically directed to the Theme Editor where you can start adding content blocks to the template you’ve just created. Please refer to sections Add Sections and Adding ECB Blocks for more details.

Create a new template for a group of products

Step 1: Open the Theme Editor

  • From the Shopify admin, go to Online Store > Themes. Find the theme that you want to edit, and then click Customize. Create Clean template customize.jpg

Step 2: Create a template

  • 2.1. From the dropdown menu in the Theme Editor, click Products, then scroll down and click Create template.
Create Clean template 2.jpg
  • 2.2. The fill in the Name & the Based on fields as follows: Create clean template form.png
  • Name: type the name using the following name structure, where “easy-“ is the prefix. The name can contain any of the following characters: (a-z), (0-9), and dash. E.g: easy-collection-phone
Note: When migrating templates to a new theme, the ECB app only migrates the templates with the name structure above.
  • Based on: Select Default template or any available template created before.

Step 3: Customize the template you've just created

  • From the Theme Editor, you can start adding content blocks to the template you’ve just created. Please refer to sections Add Sections and Adding ECB Blocks for more details.

Step 4: Assign the template to the products

To assign the template you've just created to any product, go to the Shopify admin > Products, open the product you want and assign the template you’ve created (under the Theme Template section).

Create product template 2.jpg