metaobjects multiple entry PDP page

Topic summary

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 `[\

Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

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_title }}

{{ test.section_subtitle }}

{% for i in (0..test.ingredients_image.size) %} {% assign image_url = test.ingredients_image[i] | img_url: 'master' %}
{{ test.ingredients_title[i] }}

{{ test.ingredients_title[i] }}

{% endfor %}

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 %}
{% if product.metafields.custom.test %}
{% for entry in product.metafields.custom.test.value %}

### {{ entry.ingredients_title }}

{% endfor %}
{% endif %}

Showing array in title

[“test1”,“test2”,“test3”]

and image showing blank