You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was a section on the product page that said categories but instead of showing the category it showed the tags for the product. I would still like to show only the category and no the tags but I found the piece of code to remove it completely.
Heres the code I deleted in product.liquid:
<span class="s-text8"> {{ 'products.product.tags' | t }}: {% for tag in product.tags %} {% unless tag contains '_' %} <a href="/collections/all/{{ tag }}">{{ tag }}</a> {% unless forloop.last %}, {% endunless %} {% endunless %} {% endfor %} </span> </div>
The text was updated successfully, but these errors were encountered:
There was a section on the product page that said categories but instead of showing the category it showed the tags for the product. I would still like to show only the category and no the tags but I found the piece of code to remove it completely.
Heres the code I deleted in product.liquid:
<span class="s-text8"> {{ 'products.product.tags' | t }}: {% for tag in product.tags %} {% unless tag contains '_' %} <a href="/collections/all/{{ tag }}">{{ tag }}</a> {% unless forloop.last %}, {% endunless %} {% endunless %} {% endfor %} </span> </div>
The text was updated successfully, but these errors were encountered: