News
Restrict a section to certain templates
We can restrict a section to certain templates by specifying those templates through the templates attribute. For example: "templates":[ "index","product" ] This attribute accepts a list of strings that represent the page type. 404...
Restrict a section to certain templates
We can restrict a section to certain templates by specifying those templates through the templates attribute. For example: "templates":[ "index","product" ] This attribute accepts a list of strings that represent the page type. 404...
Add a tog to hide the cart icon only on the hom...
   Step1: add a script to schema setting: { "type":"checkbox", "id":"hccheckbox", "label":"Hide Cart"}, Step2: add an if condition to check if this page is home page: add the...
Add a tog to hide the cart icon only on the hom...
   Step1: add a script to schema setting: { "type":"checkbox", "id":"hccheckbox", "label":"Hide Cart"}, Step2: add an if condition to check if this page is home page: add the...
Create New Section
Step1: create a new section liquid file named: custom_section.liquid Step 2:Â add code scripts below: Â Say Hi from my first custome section! {% if section.settings.cs_checkbox %} <img src="{{ product.featured_image|img_url...
Create New Section
Step1: create a new section liquid file named: custom_section.liquid Step 2:Â add code scripts below: Â Say Hi from my first custome section! {% if section.settings.cs_checkbox %} <img src="{{ product.featured_image|img_url...
Rendering a new section.liquid inside the json...
This blog simply explain how to add new section to the json template
Rendering a new section.liquid inside the json...
This blog simply explain how to add new section to the json template