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

Faceted search filter visibility when no products appliable #14655

Closed
Hlavtox opened this issue Jul 15, 2019 · 5 comments

Comments

@Hlavtox
Copy link

@Hlavtox Hlavtox commented Jul 15, 2019

Faceted search should hide or grey out the options in filters, which are not appliable to any product. Or there should be an option like in 1.6. There is no point of having million of choices. It should bring the user to tight selection of products, with less and less options.

Example
You have following filters
Material
Steel
Glass

Steel look
Polished
Brushed

Glass look
Nice
Ugly

Current behavior
You select Material: Glass and filter Steel Look is still visible with product count in brackets. So user clicks on Steel look: Polished and sees 0 products found. Isn't it confusing?

Desired behavior
You select Steel - Filter Glass look should get hidden.
You select Glass - Filter Steel look should get hidden.
You select Nice or Ugly - Steel option should get hidden.
You select Polished or Brushed - Glass option should get hidden.

When there is only one remaining option in the Filter, the filter should get hidden.

Additional information
PrestaShop version: 1.7.6
PHP version: 3.1.0

@mariem-abid

This comment has been minimized.

Copy link

@mariem-abid mariem-abid commented Jul 15, 2019

@colinegin, @sarahdib, what do you think?

@marionf

This comment has been minimized.

Copy link
Contributor

@marionf marionf commented Jul 18, 2019

We can add an option "Hide filter values when no product is matching" like in blocklayered in 1.6 version

capture d'écran_1769

@prestonBot prestonBot referenced this issue Jul 18, 2019
31 of 40 tasks complete
@Hlavtox

This comment has been minimized.

Copy link
Author

@Hlavtox Hlavtox commented Jul 18, 2019

@marionf @colinegin @sarahdib

Have a look my comparsion and you will see my point.
https://drive.google.com/file/d/1TMZfDF3sMTMcpeD5_8lE0IeF5XSmo38r/view?usp=sharing

The refresh of the module was good but it has some new quirks and missing stuff I already mentioned in other issues/feature requests.

@Hlavtox

This comment has been minimized.

Copy link
Author

@Hlavtox Hlavtox commented Sep 1, 2019

@marionf Fixed on 3.2.1. It hides all values, which do not match any product. You can close it.

@PierreRambaud Faceted search is great again!!! 🚀

PS: Add stock filtering by quantity and it will be even greater 💣;-)

@marionf

This comment has been minimized.

Copy link
Contributor

@marionf marionf commented Sep 2, 2019

Thank you for your feedback @Hlavtox it's nice to hear :)

@marionf marionf closed this Sep 2, 2019
@marionf marionf removed the To Do label Sep 2, 2019
@marionf marionf added the Fixed label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.