I created the 'Outdoor items' collection based on several tags.
For the navigation, I would like to display only some of these tags.
If you look at the picture below, I'd like to be able to show 2 tags (Cocktail Table, Accent Table) from the 'Outdoor items' collection under the menu 'Cocktail & Accent Tables'.
The problem is that when I use 2 tags the menu only shows products tagged with both tags, rather than the products tagged with each.
Is it possible to have the collection in the navigation to show both tags?
I know I can create a collection 'Cocktail & Accent tables' but the navigation would make it a lot easier.
If anyone has come across this please let me know,
I found this Shopify dev document explaining how the AND operator is automatically applied when multiple tags are applied on a (collection) filter :
If in the menu collection filter, you apply the comma or + operator between 2 tags
it is translated to this URL and only resulting in products with both tags present :
The https://shopify.dev/docs/themes/navigation-search/filtering/tag-filtering doc however, reveals a feasible solution to override the default AND behaviour and turn it to the desired OR behaviour :
This requires some development skills however.
If I find some time, I'll dive further into it.
In the meanwhile, the only other option is to create a dedicated collection where your conditional OR requirements or multiple tags can be foreseen like this
and your menu item refers to this dedicated collection.
Thank you, after a few discussion with support I just went and reorganised the menus & collections, it doesn't actually appear that filtering the collections like it suggests is actually possible.
Dive into the world of Print-on-Demand and discover how it can transform your online busin...By Imogen Feb 19, 2024
Discover how to transform your online store into a delightful shopping destination. Learn ...By Ollie Feb 13, 2024