Custom Conditional Not working

Shopify Partner
40 2 9

I have a theme that was purchased on CodeCanyon and I've added a small piece of code to the product template and I have it set to only show if the tag is "boots" or "shoes" but for some reason one of the products shows this item even when it doesn't have either of those tags. I've been searching to see if I could figure out why it's not working and I'm at a loss.


The product url is and the item that is showing is the Talkbox (that is also the class of the div). It shouldn't be showing at all.


Any help would be greatly appreciated.


Here is the piece of code I put in the template file


{% for tag in product.tags %}
              {% if tag == 'boots' or 'shoes' %}
            <div class="talkbox">
              <a href="">
                <img class="sizing_info" src="">
            {% endif %}
              {% endfor %}


Replies 0 (0)