Best way to create multiple versions of sections on static pages

Highlighted
Explorer
90 0 21

Hi,

I'm looking for the most efficient way to create sections that I can use on static pages, without having to make a new section file for every single section and render that separately. 

Right now, say I want to make an about page... I take the code from a section I want multiple times (for example image with text) and copy it into separate section files called about-feature-row-1, about-feature-row-2 etc. I then make a page.about template and render those sections after each other. If I would just render about-feature-row-1 multiple times, it loads the exact same thing as it has the same section id.

Is there a better way to do this?

Could I not just make a custom-feature-row and have something like a forloop on the section id, so I could render it on any static page and have unique content in it?

Thanks!

1 Like
Highlighted
Shopify Partner
7687 1058 2675

@augds 

Welcome to the Shopify community!
and Thanks for your Good question.

try this one 

Rendering section blocks

https://shopify.dev/tutorials/develop-theme-use-sections

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes