Adding section to shopify theme template
Solution:
This is because static sections share their settings across the whole store:
You can include a statically-rendered section in multiple theme files. However, only one instance of the section exists. If you change section settings in one location, then the change will be applied to all locations where the section is rendered.
From: Statically render a section (https://shopify.dev/themes/architecture/sections#statically-render-a-section)
You need to change your template to JSON and implement dynamic sections (which are the same, just template changes)
Just checked to confirm - with 2.0 page I was able to add two exact same sections on the given page and apply different settings to them.
Source
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.