Multiple and inclusive Tag Filters

Highlighted
New Member
2 0 0

Hello Guys,

I'm currently using Supply free Theme and have succesfully implemented tag filtering. I've modified the code a bit to allow the user to pick multiple tags from the same group.

I still have an issue regarding the filtering logic : 

When I select two tag from the same group (let's say I want to see all the shoes that are color_white OR color_green, or I want to see all shoes size_9 OR size_9.5) I will only see products that have those two tags, instead of showing me all products that have one of these two tags.

I've search for all topics around tag filtering and haven't found any solution.

Also I've found the tag url parameters in the documentation with the "link_to_add_tag" (https://shopify.dev/docs/themes/liquid/reference/filters/url-filters) but this does not address logic, is there any other type of links ?

 

Thank you in advance for your help !

0 Likes