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.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024