Display multiple entry using metaobjects and meta field Shopify product page
need to display image and title block in product page using metaobjects how can do it?
A user is attempting to display multiple metaobject entries on a Shopify product page, specifically trying to show images and titles in a block format.\n\nInitial Approach:\n- The user tried using json_parse and looping through metaobject data\n- Attempted to create an ingredients slider with images and titles\n- Code appears corrupted/reversed in the original post\n\nRecommended Solution:\n- Use the proper metaobject product template structure\n- Loop through metaobject entries using product.metafields.custom.metaobject_field.value\n- Access individual entry properties like entry.title and entry.description\n\nCurrent Issue:\n- Images are showing as blank\n- Titles are displaying as an array `[\
Display multiple entry using metaobjects and meta field Shopify product page
need to display image and title block in product page using metaobjects how can do it?
{% assign test = product.metafields.custom.test.value | json_parse %}
{{ test.section_subtitle }}
{{ test.ingredients_title[i] }}
Hi,
Need to use Metaobjects product template
Code example to display Metaobjects
{% if product.metafields.custom.metaobject_field %}
{% for entry in product.metafields.custom.metaobject_field.value %}
### {{ entry.title }}
{% if entry.description %}
{{ entry.description }}
{% endif %}
{% endfor %}
{% endif %}