Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclusive filters (navigation) or inclusive filters? #9

Open
gabiudrescu opened this issue Dec 20, 2016 · 0 comments
Open

Exclusive filters (navigation) or inclusive filters? #9

gabiudrescu opened this issue Dec 20, 2016 · 0 comments

Comments

@gabiudrescu
Copy link

I was wondering how are you going to address the need to have exclusive or inclusive filters. For example, at BestValue we have exclusive filters for navigation purposes whenever we are talking about taxons.

Given I have the the following products:
  |sku|taxon|
  |A|laptop|
  |B|smartphone|
  |C|laptop|
  |D|smartphone|
When I am on /listing/laptop
Then I should see the following products
  |sku|
  |A|
  |C|
But when I click "Smartphone" near "Taxons"
Then I should be on /listing/smartphone
And I should see the following products
  |sku|
  |B|
  |D|

You can either see smartphones or laptops - not both. It makes sense to have this behavior because you don't want to mix attribute filters from laptops with those from smartphones. Or jewelry with pet food.


Things are totally different whenever you are talking about attribute filters, where you want to be able to filter smartphones that have "Operating system" option with value "Android" AND "Network" with "4G".

psihius pushed a commit to psihius/SyliusElasticSearchBundle that referenced this issue Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant