And query on size filter – sidebar doesn’t work
-
I have a filter in my shop for size attribute.
I choose for the Query Type in the widgets shop page area, the AND option, but is not working as expected.
It lets the customer to choose multiple choises – sizes.
The problem is that for the others attributes-filters is working fine. Only for the size attribute creates this problem.
Hello,
I have checked your site and tested the Size filter widget. It is showing all options because it displays all sizes that match the products in the current query. This behavior is normal for the filter widget — it shows every size that exists for the visible products, not only one selection.
If you have another behaviour, share a small video for better understanding to reproduce the issue on your site.
Best Regards,
I am gonna change what i need and what the problem is. So i should start to explain again from scratch.
I created and use 4 filters in the sidebar widget area of the shop. Filters are into AND Query Type settings.
So i expect every time a customer choose a filter to show only that. Until now everything fine.
What i would like is when you click on the color filter ‘Black’ to do not disappear the other colors (to do not let the customer to choose another color, as now happens) but to leave the other colors there and if the customer choose any of the other colors to reset the results and appears the new color filter.
As i said, now it works like, to disappear the color filter options.
Hello,
The behavior you’re seeing is due to the AND query type currently set for your filters. With AND, selecting a filter option (like “Black”) will only show products that match all selected terms, which causes other colors to disappear from the list.
If you want the other color options to remain visible when one is selected, you should change the Query Type of the filter to OR. With OR, selecting a color will still display all other available colors, and the results will update only when the customer chooses a new option: https://ibb.co/44KWYwm
With OR query, it willlook like this: https://postimg.cc/Ty5VC6b0
Best Regards,