Shopify themes, liquid, logos, and UX
I am adding custom Metafields to my site and not all products are applicable - I am using the Empire theme any help would be appreciated
https://tiletools.com/products/gundlach-red-urethane-grout-float
Hello @TileTools-1 ,
With liquid you can make the metafields conditional
e.g.
{% if product.metafields.namespace.key != blank %}
{{ product.metafields.namespace.key }}
{% endif %}
Or you can write a script which will check if there is content available for the tab or not.
If not then use hide the parent element.
Hope it will give you an idea to write code a/to your needs.
Thanks
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