Adding Text to Products with Specific Tags

Hey all, I wanted to add specific text to all products with a certain tag and have looked around and tried several recommended solutions but none seem to work. For example, I want to add the text “All sales on sale shoes are final” to anything with the tag “Sale Shoes”, this is one example of code I’ve tried to add to the product.liquid.template file:

{% for tag in product.tags %}
{% if tag contains ‘Sale Shoes’ %}
All sales on sale shoes are final
{% endif %}
{% endfor %}

Any advice?

Hi @craig32

Try:

{% if product.tags contains “Sale Shoes” %}

All sales on sale shoes are final

{%endif%}

Let me know!

Thanks for the tip! That doesn’t seem to be working either however. Is
there a certain place inside the liquid file that I should be placing the
code?