Personalized checkout and custom promotions with Shopify Scripts
This is pretty convoluted, so I'm assuming no, but can you reference the metafield data from a products metafield, in a different products metafield?
So I have "product-a", and I enter something in "metafield-1" for that product.
Then I go to "product-b", is there a way to reference/pull the data I entered in "metafield-1" for "product-a" in "metafield-1" for "product-b"? (or any metafield really...)
Hi @Wysong ,
Sadly, it's not possible to directly access metafields of a different product in Liquid. However, you can link those products using a product_reference metafield. As the result, you'll be able to retrieve the related product object and then access its metafields.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025