How To Remove Tag Section From The Catalog Page

Posted on Posted in eCommerce

Remove Tag Section in Shopify

Remove tag section

If you’re looking to remove tag section in Shopify you have come to the right place! I am going to show you how to remove them quickly and easily.

In your theme directory, within the ‘templates‘¬†folder should be a file named ‘collections.liquid’.

Lines 5-8 should say something like this:

{% if settings.collections_tags_enable %}

{% include ‘collection-tags’ %}

{% endif %}

 

Replace those lines with this:

 

{% unless collection.handle == ‘all’ %}

{% if settings.collections_tags_enable %}

{% include ‘collection-tags’ %}

{% endif %}

{% endunless %}

 

This will hide the tags for only /collections/all and you will still have the tags available within the individual collections that you create.

 

Do you want to remove them from everywhere?

Use the following code instead:

{% comment %}

{% if settings.collections_tags_enable %}

{% include ‘collection-tags’ %}

{% endif %}

{% endcomment %}

The above code basically turns the command into a comment so it isn’t executed at all.

Facebook Comments
Please follow and like us:

Leave a Reply