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

Filters closes after selecting category

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.

Hello so I have added filters to my site using a widget. However when I select a category the page refreshes and the filters closes, so I cannot see which category I am currently browsing. I will add screenshots. How can I make it so that it will always show the active category? Thanks

website: https://nmstuninghlm.se/webbshop

Picture before selecting category: https://ibb.co/LNqQsRH

Picture after pressing category: https://ibb.co/5B8x7wp

Picture after manually opening the filters again: https://ibb.co/GVBMx5Y

So basically I want it so that when you select a category, it should automatically display your active category like the last picture.

Thank you.

Hello

My  test - https://c2n.me/4kroIkc

Looks like it's working

Interesting. This is what it looks like for me: https://streamable.com/94rewn

Hello

Try  in  file - \wp-content\plugins\woocommerce-products-filter\js\front.js -  add  this  code - https://share.pluginus.net/image/i20240305115641.png

return false;

clear all cache  and do a test

 

Now it opens all the child categories. When I select for example BMW->3-Series->Downpipes it will open both 4 and 5 series and display all categories in those as well

Hello

It is very strange - https://share.pluginus.net/video/v20240306102358.mp4

what browser are you using?

Please check the browser console [F12], maybe it's a JS error

It happens only on Safari. We can ignore it for now because I have another issue. I currently have two filters, one for car brand and one for category. I don't want the user to be able to select both, it should be either category or car brand->model->category. Is this possible?

Unfortunately, the plugin does not have such a feature, in this case you need to customize the code

 

Ok I will see what I can do. Last question then, on mobile the filter menu is at the bottom. How can I set to the top? Thanks

Hello

It depends on the template of the current theme (widget location depending on the device)

Please enable Mobile mode on the widget settings - https://c2n.me/4ksKO33.png - This will show a button to display the filter

Use this shortcode to place the button in your template - https://products-filter.com/shortcode/woof_mobile