This topic has 5 replies, 2 voices, and was last updated 2 weeks, 6 days ago ago by Andrew Mitchell
The filter is not obeying the “and/or” rule, I want when I click on the BLUE color, it only stays blue, when I click on the PINK, it shows PINK feathers, it is united “blue and pink” in the same filter.
Even changing the filter type, the rule remains the same.
I need this support
Hello, Carneiro,
Thank you for reaching out to us.
I would like to clarify the logic of the filters as follows:
– With the “AND” option selected, the filter will display products that simultaneously possess both BLUE and PINK colors.
– With the “OR” option selected, the filter will display products that have either BLUE or PINK colors.
We have modified the file for you:
xstore-core/app/models/widgets/swatches-filter.php
Additionally, we have introduced a new Query type – “One select”, which should function as you described. Please verify whether the filter’s performance meets your expectations.
This enhancement will also be included in the next theme update.
Best Regards,
The 8Theme Team
I understand how the filter works, the problem is that it is not respecting the rule.
The problem continues, when we filter Black and then Red, it combines the two filters.
I want only the products from the last selected filter to remain.
Dear Carneiro,
We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.
Click here to rate now: https://themeforest.net/downloads
Thank you sincerely for your ongoing support!
Best Regards,
The 8Theme Team
The issue related to '‘Filters don’t follow the “either/and” rule in the store’' has been successfully resolved, and the topic is now closed for further responses