Hello there,
I’m a beginner in regards to GraphQL. My challenge: I use the Shopify Storefront API to create a selectbox of all our products. When a user selects a product in this selectbox, some of its data (eg: metafields) should be displayed on the page.
The metafields i’m accessing actually contain a list of products (see it like related products) (this metafield type is “product list”, which is essentially an easy product picker). The output of the metafield when accessing it through graphQL is
["gid://shopify/Product/4650889281611","gid://shopify/Product/6620350382155","gid://shopify/Product/6717558653003","gid://shopify/Product/6535633141835"]
It seems as this is pasted as a string. How would i get titles, descriptions, images, … from these products?