Multiple and inclusive Tag Filters

ELevy
New Member
2 0 1

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
rr1
New Member
4 0 0

Hi, I am trying to do the same thing. I want the customer to drill down their search with multiple tags they can select.

How did you do this?

0 Likes
Bluish
Shopify Partner
561 78 89

@ELevy 

what was the code you added?

If my answer was helpful please Like and Accept my post as the Solution
0 Likes
DzmitryZH
Tourist
3 0 1

Hi ELevy,

Have you found the solution?

0 Likes