2

Hide icon block on product page template if no content


A
Anonymous

I use product metafield data on my current Shopify theme to populate the text in an 'icon' block. On my current theme, if there is no data, the field simply does no display, however on this theme the the block just shows an icon with no text. Not all products have this metafield data, so I think when metafield data is being used to populate the content of an icon block, it should only display if there is actually content available, and be hidden if not. Otherwise, we just get an icon floating there with no text. It is possible to achieve this with a text block, but doing it with an icon block would be nice, as it does in my current 'Impulse' theme.

A