All things Shopify and commerce
Can we link the automatic "Category Metafields" that shows up under a product listing to a liquid code? It shows up between the variant and metafield option when you add a product page:
here is is under the metafield product option and also the content > metaobject area:
I want to be able to use it in a liquid code so it will show an icon if its been selected. For example, if the product category metafield "dietary-preference" is "vegan" in its list then show the "vegan" SVG icon.
if {{ shop.metaobjects['shopify--dietary-preferences']['vegan'] }} is selected then show icon.
Is this possible?
I'm looking for this as well. Currently Dietary Preferences and Product Certifications & Standards have a note when you hover over the image area in the metaobject section that says, "No compatible thumbnail field on this entry."
If I can easily link a thumbnail that would be a great solution.
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