ColorlibHQ / Fashe

Free Shopify ecommerce theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Removing the categories/tags showing on the product page

stkiyah opened this issue · comments

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>