Displaying Multiple Entry Product Metaobjects in Shopify

Displaying Multiple Entry Product Metaobjects in Shopify

Nessek
Shopify Partner
22 0 2

Hello,

I have a question regarding product-related metaobjects. I've created a metaobject that is linked to a product, and I'm able to display it using this syntax: {{ product.metafields.custom.test_avis.value.title }}. This works because it's a metafield with a single entry for each product.

However, I also have another metaobject named "avis_produit" which has multiple entries for a single product. Unfortunately, I'm unable to display it using the code: {{ product.metafields.custom.avis_produit.value.client }}. How can I go about displaying it correctly?

 

Thank you

Reply 1 (1)

weronika3
Visitor
2 0 0

Hi, did you find an answer?