PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Change behaviour of filter categories and subcategories

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I would like to change the behaviour of the category filter. I would like to de-selected the main category if a subcategory is choosen.

To give an example, I will use your demo page: https://demo-sd.products-filter.com/swoof/

First I select 'Clothing'. Giving me 48 results.
Than I decide I want to see 'Man', so I select 'Man'. But it still gives me 48 results, because 'Clothing' is also still selected.

For better user experience it would make more sense to automaticly deselect the main category, since they are only interested to see the products from one or more subcategories.

Hello

Please change the comparison logic to"AND" - https://share.pluginus.net/image/i20240111131352.png

That's not a good solution since you won't be able to select two or more subcategories anymore. For example of you want to filter on Clothing > Man > Shirts OR Shorts

 

Hello

Unfortunately there is no other solution

Don't you agree this should be standard behaviour? That if you select and subcategory, the main category is automatically deselected?

Hello

This is a question that relates to your business logic

To implement this functionality you need code customization

In any case, I will forward your request to the developers

Hi Pablo, I don't understand why it would be only my business logic. If a subcategory is selected and main category is not automatically de-selected, it doesn't change the number results. So what logic does that make for any other business?

 

Hello

There is an"AND" comparison logic for this.

I'm not arguing with you. But the plugin does not have features to implement your request.

As I wrote earlier, I passed on your suggestion to the developers