Created
April 22, 2023 00:27
-
-
Save ihorduchenko/170c488561509a04cc559197fec74938 to your computer and use it in GitHub Desktop.
How to fetch the value of metaobject containing the list of other metaobjects from anywhere in Shopify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assign entries = shop.metaobjects.pdp_buybox_advantages['pdp-buybox-advantages']['advantages'].value %} | |
{%- for item in entries -%} | |
{%- assign image = item.image.value -%} | |
{%- assign text = item.text.value -%} | |
{%- endfor -%} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment