On collection page, show a mixture of products and other sections

jamalali81
Shopify Partner
23 0 3

On collection pages I need to be able to show rows of products as well as rows of other sections like hotspots, featured product. The other sections should be dynamic, so the end user can change the content of them and add/remove them.

 

Does anyone have any ideas as to how this can be achieved?

 

In a collection template (liquid or json) is it possible to get all the sections and then mix them into the rendering of the product rows? Preferably want to do this in liquid, but can use JavaScript if not possible.

Replies 4 (4)
jamalali81
Shopify Partner
23 0 3

Yes sure. Write your ideas here please, if you don't mind.

jamalali81
Shopify Partner
23 0 3

Thank you so much for this. It's given me some ideas.

 

Point 2, is it possible to loop through dynamic sections in a liquid template file? I know it's possible in a liquid section file. If this is indeed possible then that will be the solution.

jamalali81
Shopify Partner
23 0 3

@الساعدي This is what I am trying to achieve

 

Product that naturally belongs in the collection.jpg

jamalali81
Shopify Partner
23 0 3

If you can mention the technical approaches here that would be fantastic.