Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How To Loop Through A MetaField Which Is A List Of MetaObjects using gql

How To Loop Through A MetaField Which Is A List Of MetaObjects using gql

mansin2001
Shopify Partner
1 0 0

Hi all,

 

I have a Product metaField that contains a list of simple metaObjects.
The metaObjects contain a file (image) and a name (short text)

Is it possible to loop / iterate through the Product metaField which is a type: metaFeild (List) and display the image and name related to each metaObject using gql query ?

 

Thank you. Just trying to figure out if that data would be accessible or not at that level.

Replies 0 (0)