Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stkiyah opened this issue Sep 8, 2019 · 0 comments
Open

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

stkiyah opened this issue Sep 8, 2019 · 0 comments

Comments

@stkiyah
Copy link

stkiyah commented Sep 8, 2019

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant