I tried using a similar code, but it’s not working for me. Can you help?
I have two Image with Text sections on my product page, each section is connecting to a dynamic source pulling images and text from a metaobject. When products aren’t using these sections, the metafield is left blank but it’s still showing a place holder image. How can I hide the entire section if the matafield is blank?
I tried the code below in the Image-with-text liquid, but either I’m not putting the code in the proper place, or I need a different code since it’s pulling from a metaobject.
{% if product.metafields.custom.fabric_options != blank %}