Debut Theme Product Filter Issue

giftsatbliss
Tourist
9 0 0

Hi i am trying to resolve an issue with a store developed within the debut theme related to the filter drop down on a collection page, when the filter option is turned on the drop down looks like it displays every tag from every collection within the store, is there an easy way to control what filter tags are displayed on each collection page?

 

Screen Shot 2019-08-16 at 14.27.54.png

0 Likes
Guleria
Shopify Partner
1360 278 384

Hello @giftsatbliss ,

Yes there is easy way. I can give you idea and it will helpful if you know liquid coed.
First create an option in collection pages to add those tags which you want to display in frontend. Keep note here you have to add the tags with comma (,) separation.
Now in code get these added tags. Once you get them split them and assign different variable 
e.g. {% assign cat_array = section.settings.filter_tags | split: ',' %} 

Now loop this array and you will get only those tags which you want.

Thanks

Want to modify or custom changes on store hire me.
Email: guleriathakur43@gmail.com, Skype: navrocks1
If helpful then please Like and Accept Solution.
0 Likes
giftsatbliss
Tourist
9 0 0

Thank you i will give that a go and feedback,

0 Likes