I have a metafield that displays building instructions for models except we haven’t loaded all the building instructions as of yet so we only want the ones to show that has a value in the metafield.
Below is my coding but for some reason it doesn’t work. I am still a junior dev when it comes to development and css coding.
{% if product.metafields.myfields.building_manual_image != blank %}
**Click on the below image to download the building instructions**
{% endif %}
It’s a poorly documented critical part of using the new metafield definitions and is a constant source of friction with liquids poor error messaging.
And for clarity keep in mind the data put on 1 products own metafield definition in it’s admin IS NOT shared with other products, so be sure the data actually exists as part of troubleshooting metafield definitions.