Create Template For Multiple Pages: Difference between revisions

From Posstack.com Documentations
mNo edit summary
Line 12: Line 12:
*Then, you will be automatically directed to your Shopify theme editor. Here, you can start adding content blocks to the template you’ve just created.
*Then, you will be automatically directed to your Shopify theme editor. Here, you can start adding content blocks to the template you’ve just created.


:{{Note|Below are common customization you might want to check out:  
Below are common customization you might want to check out:
:* Define multiple-column layouts: read the [[Create Template For Single Page|setup guide]].  
:*Define multiple-column layouts: read the [[Create Template For Single Page|setup guide]].
:* Add new content blocks to the template: read the [[Add Blocks|setup guide]].  
:*Add new content blocks to the template: read the [[Add Blocks|setup guide]].
:* Adjust the padding/margin of each section: read the [[Create Template For Single Page|setup guide]]. |info}}
:*Adjust the padding/margin of each section: read the [[Create Template For Single Page|setup guide]].
:{{Note|NOTE: After you have done steps above, the new template you’ve just created will appear under Easy Content Builder admin > '''Manage Templates''' section with a label ‘''Not assigned to any page yet. Click '''Customize''' to preview template with: [a specific page]’.''|inline}}
:{{Note|NOTE: After you have done steps above, the new template you’ve just created will appear under Easy Content Builder admin > '''Manage Templates''' section with a label ‘''Not assigned to any page yet. Click '''Customize''' to preview template with: [a specific page]’.''|inline}}


Line 28: Line 28:
:[[File:Ecb - Bulk edit.png|border|frameless|1024x1024px]]
:[[File:Ecb - Bulk edit.png|border|frameless|1024x1024px]]
*In the Bulk editor, click the '''Columns''' drop-down menu, and then in the '''General''' section, click the '''Template''' checkbox.
*In the Bulk editor, click the '''Columns''' drop-down menu, and then in the '''General''' section, click the '''Template''' checkbox.
:[[File:Ecb bulk edit3.jpg|border|frameless|1024x1024px]]  
:[[File:Ecb bulk edit3.jpg|border|frameless|1024x1024px]]
*Click the template field of the first line, then hold the shift key, and then click the template field of the last line. A blue shading will appear around the items you have selected.
*Click the template field of the first line, then hold the shift key, and then click the template field of the last line. A blue shading will appear around the items you have selected.
*Using the drop-down menu, choose a new template for the selected items.
*Using the drop-down menu, choose a new template for the selected items.
Line 34: Line 34:
{{Note|To assign a template to a product individually, use the Online Store > Theme Templates section of the product editor (by going to your Shopify admin > '''Products''', click the product from the list of existing products) to apply the new template you’ve just created to a specific product.|reminder}}
{{Note|To assign a template to a product individually, use the Online Store > Theme Templates section of the product editor (by going to your Shopify admin > '''Products''', click the product from the list of existing products) to apply the new template you’ve just created to a specific product.|reminder}}


====For Blog Posts and Pages====
====For Blog Posts and Pages ====
The bulk editing feature for blog posts and pages is no longer available. So, follow the steps below to assign a template to blog posts or pages on an individual item level:   
The bulk editing feature for blog posts and pages is no longer available. So, follow the steps below to assign a template to blog posts or pages on an individual item level:   



Revision as of 01:37, 20 September 2023

This guide explains how to create templates for Product, Blog Post, and Store Pages and apply them to multiple pages at once.

Creating a template assigned to multiple pages is handy when you want to build and customize templates for a group of items like Men clothing, Cushions, Rugs, etc.
To customize Homepage or Collection pages, follow section Template for Standard pages.

Step 1: Create a new template

  • From your Shopify admin, click Apps > Easy Content Builder.
Ecb-menu.png
  • From the Easy Content Builder dashboard, click Browse Templates.
Ecb-browse-templates.png
  • Find a prebuilt template that you want to use, and then click Choose Template. Then, select the template type (Product, Blog Post, Page) and enter the template name (The template name should be between 3-15 characters - only letters, numbers, underscores and hyphens are allowed).
Ecb-choose-template.jpg
  • Then, you will be automatically directed to your Shopify theme editor. Here, you can start adding content blocks to the template you’ve just created.

Below are common customization you might want to check out:

  • Define multiple-column layouts: read the setup guide.
  • Add new content blocks to the template: read the setup guide.
  • Adjust the padding/margin of each section: read the setup guide.
NOTE: After you have done steps above, the new template you’ve just created will appear under Easy Content Builder admin > Manage Templates section with a label ‘Not assigned to any page yet. Click Customize to preview template with: [a specific page]’.

Step 2: Assign the new template

For Products

To apply the new template to multiple products at once, use the Bulk editor by following these steps:

  • From your Shopify admin, click Products.
  • Click on checkboxes next to each product you want to apply the new template.
  • Then, click on Bulk Edit.
Ecb - Bulk edit.png
  • In the Bulk editor, click the Columns drop-down menu, and then in the General section, click the Template checkbox.
Ecb bulk edit3.jpg
  • Click the template field of the first line, then hold the shift key, and then click the template field of the last line. A blue shading will appear around the items you have selected.
  • Using the drop-down menu, choose a new template for the selected items.
  • Click Save.
To assign a template to a product individually, use the Online Store > Theme Templates section of the product editor (by going to your Shopify admin > Products, click the product from the list of existing products) to apply the new template you’ve just created to a specific product.

For Blog Posts and Pages

The bulk editing feature for blog posts and pages is no longer available. So, follow the steps below to assign a template to blog posts or pages on an individual item level:

  1. From your Shopify admin, go to Online Store > Pages/Blog Posts.
  2. Click the name of the blog post/page to edit.
  3. In the Online store section, use the drop-down menu to select the template you've created to apply to the selected page.
  4. Click Save.
To know which template ID, please open the Easy Content Builder dashboard in another browser tab and click on Manage Templates. Here, you will see the list of templates you created.