This is asked often and I wonder why there is no straight forward solution using shopify. I want to search/filter for products which might comply with all filter-tags, but not necessarily.
Collection A contains lots of cars with blue paint, red paint, black paint ... how am I supposed to modify my filter to see all blue AND red cars without maintaining extra collections? When I add the tags to my collection-url there will be no car shown, as no car will have blue AND red paint.
Can I somehow pass a variable to my collection.json file?
The only solution seems to be to load the whole collection and filter with JS. This way the risk of a lame site-load increases.
Any ideas somehow? :)
In the situation, You must add tag to your products (not collections).
Following the filter by tags tutorial to add the feature for your store: https://help.shopify.com/en/themes/customization/collections/filter-collections-with-product-tags
If you can't do by yourself, you could hire a developer or using the filter app
Don't hesitate to ask me if you have any question.
That's actually not correct. The filter system uses inclusive or 'OR' logic which includes all items that have ANY of the tags that are selected. I have been looking for app options that change that to use exclusive or 'AND' logic which makes it so all products shown must includes ALL tags that are selected. It seems like it would bee a very simple alteration of the tag condition check. I may just delve in and try and figure it out myself because I have been looking for weeks with no luck.
Hi, I'm also facing this issue with the 'OR' logic on Supply theme.
Each time I select two filters from the same group only the items with both tags will appear : let's say i'm searching for different colors, when I'll select "white" and "blue" only the products that have these two tags will appear.
I would like to have all the products that have at least one of this tags. Is there a way to do so ? I could not find the code regarding this.
In advance thank you !