Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
There are several metafields that I repeat continuously across multiple collections/products/pages, so a Metaobject seemed like it should be my solution.
I created a metaobject, then added it to a collection template as a metafield. Now I can't seem to figure out just how to reference it...?
I've tried:
... metafields.custom.mymetaobject.[field]
... metafields.custom.mymetaobject.[field].value
... metafields.custom.mymetaobject.[type].[field]
... metafields.custom.mymetaobject.[type].[field].value
Am I misunderstanding the use of metaobjects?
Any help would be appreciated!
hello
please send me your store URL?
Gotta say, this being the first "answer" to almost any question asked, gets old.
Not looking to hire anyone -- just asking a general question about how one references the data in a metaobject that is assigned in metafield (as a metaobject type).
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024