Debut: Hiding Shopify product tags using a custom prefix

Hey team,

I am trying to follow the second half of this help doc: https://burstcommerce.com/how-to-hide-shopify-product-tags-from-collection-filters/

But I am not sure which file to input the code below into. Please kindly help, thanks!


  

Browse by tag:

  

Hi @ctsimon ,

Go to sections > collection-template.liquid file, find ‘for tag in collection.all_tags’.

You will need to change the code here: https://i.imgur.com/FGzcPAb.png

Hope it helps!

Thank you very much! @LitExtension

Do you know where i can put the code for the:

Hiding Shopify product tags using a predefined list of hidden tags

{% assign exclude_tags = "ghost,worst-seller" | split: ',' %}

Hi @ctsimon ,

It’s just a declaration of tags, you can just add it here: https://i.imgur.com/GjK37pA.png

I would like to do the opposite of this. Hide all current tags but show new tags with prefix. How do I re-write the code?

Hi @KatKat1 ,

You can create a question on the community and send me the link. I will check it.
Because this will help build a better community.
Thank you.