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

Click on category to trigger filter instead of filter button

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.

Hi, I am trying to set the filter to where a user can just click on the category itself in order to select and trigger the filter. See this site for example.

I am using jQuery from this JSfiddle in order to convert the dropdown into actual buttons. I modified it a bit to add the class for the submit button to the new buttons - however, the issue is that when clicking on one of the categories, it triggers the filter as if no category is selected. I noticed that normally you would select a category, then a class called"selected" will get added to it, and then you would press the filter button in order to trigger the filter with that category selected. It seems like in this case, the filter is triggered on click before the"selected" class is added - is there any way to add the class on click and then trigger the filter? Or do you have any other suggestions for how to go about this issue? Thanks in advance.

Hello

Unfortunately, the link to the example is not correct.

Please drop me exact link to the issue

 

Sorry about that, try this link:

https://www.primecabinetry.com/cabinetry/framed-collection/shaker-white.html?landing=website

 

We are trying to apply that example to this page: https://www.buywholesalecabinets.com/rta-shaker-white-cabinets/

Hello

Sorry, this page doesn't have my filter.

Try  to  use this  extension - https://share.pluginus.net/image/i20230123105317.png for  categories