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

Some options have disappeared after I clicked the 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.

I have a tire selection filter. Width, height, diameter, brand, season, and vehicle type. When I select something and press filter, it displays the searched products nicely. But when I want to select a different height, it doesn't display all tire heights. Also, it doesn't display all options for diameter, brand, width, season, and vehicle type. What should I do?

Hello

Please drop me exact link to the issue

https://www.avelg.ee/tootekategooria/rehvid/?swoof=1&pa_laius=225&pa_korgus=45&pa_diameeter=17&pa_brand=sailun&pa_rehvituup=suverehv

Hello

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png

It is possible that you do not have products that have these attributes at the same time. I mean that after filtering the plugin recalculates the attributes and shows only relevant elements. also check that the entire cache is cleared

Can i turn off recalculation?

Yes. Please check  these  options -  https://share.pluginus.net/image/i20240425134855.png

Okei, it works. but now i have wheel categorys in rim categori brand list. how i can avoid this?

Hello

In this case, you need to activate dynamic recalculation to show only relational data.

Unfortunately, the plugin cannot separately enable/disable dynamic recalculation for different filter elements

 

 

So how i can resolve both my problems?

Hello

You want to get unusual functionality so that the plugin shows all filters and at the same time displays only related ones

To implement your custom logic you need custom code

Can you help me with this?

Hello

Yes, Do you have programming experience?

Or perhaps you have a developer?

Yes i have, some experience.

Hello

Ok! in file  -  wp-content\plugins\woocommerce-products-filter\views\html_types\select.php - in two places you will find this code -  https://share.pluginus.net/image/i20240501115306.png

Before this code you need to create comparison conditions for the current taxonomy $tax_slug  - and depending on this assign 0 or 1 to $show_count_dynamic