Best way to create multiple versions of sections on static pages

augds
Explorer
98 0 25

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!

Reply 1 (1)

KetanKumar
Shopify Partner
36843 3636 11978

@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 Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing