Create Metaobject List Template That Includes Image With Text Section Per Entry

Solved

Create Metaobject List Template That Includes Image With Text Section Per Entry

sancuscommerce
Shopify Partner
19 1 3

I'm trying to create a metaobject index list template and am looping over the entries in the metaobject, but I want to render the image with text section passing in the image, heading, description and button url values. How can I do this without knowing how many sections there will be when creating the template json file?

 

{% for metaobject in shop.metaobjects.recipes.values %} 
/** Render Image With Text Section Using Metaobject's Image, Recipe Name, Description and Link **/
/** Alternate Image From Left To Right **/
{% endfor %}
Accepted Solution (1)

CodingFifty
Shopify Partner
901 134 164

This is an accepted solution.

Hi @sancuscommerce,

 

Please follow this tutorial.

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com

View solution in original post

Reply 1 (1)

CodingFifty
Shopify Partner
901 134 164

This is an accepted solution.

Hi @sancuscommerce,

 

Please follow this tutorial.

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com