ColorlibHQ / Fashe

Free Shopify ecommerce theme
34 stars 50 forks source link

Removing the categories/tags showing on the product page #37

Open stkiyah opened 5 years ago

stkiyah commented 5 years ago

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>