Hi there,
I’m wondering if there is a way to dynamically add a product’s single tag within an IF statement? On our store, we have products that have a single tag. This tag is used to group products as ‘fake variants’ on an individual product page.
The current (convoluted!) liquid I have so far is:
{% if product.tags.size > 0 %}
{% endif %}
At the minute, all products with a single tag appear.
Is there something that would function the same as this below (if it were possible in liquid):
{% if product.tags contains {{tag}} %}
Thanks for taking the time to read this!
Robbi
