When I change the “< > custom liquid” section of a page, it’s changing the code for all of the site’s pages. Is there a way to keep this separate for each page? // updating my message : I’ve made additional custom liquid sections, and I see that I can choose which can be seen or not seen with the eye symbol in each page, but now somehow I see that every page is still generally duplicated to have the same content.
Thanks in advance for any help!
1 Like
I suggest on creating another page template and assign that page.
Create a new page template:
- From your Shopify admin, go to Online Store > Themes.
- Find the theme that you want to edit, and then click Customize.
- Use the Template drop-down menu to select a template. Click + Create template.
- Give your template a unique name.
- Using the Template drop-down menu, select which existing template you want to base your new template on.
- Click Create template
NOTE: You can then add the sections that you want and this section will only appear to pages assigned to this template.
Apply a new template to a page:
- From your Shopify admin, go to Online Store > Pages.
- Click the title of the store page.
- In the Online store section, use the drop-down menu to select a new theme template to apply to the selected page.
- Click Save.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Use alternate templates so each page is literally getting it’s own group of settings.
Or use metafields in the liquid or dynamic sources for content
Alternatively in the custom-liquid setting add logic that changes the content based on the page handle,etc
i.e. {% if page.handle == “contact-us” %}Show this {% elseif page.handle == “contact-us” %} show that {% endif %}
For very long logic use a case/when statement tag.