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

Hide empty items but leave dropdown visible

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 use a combination of"Dynamic recount" and"Hide empty terms" and it works fine showing only filtered items in each dropdown in the filter. That is what I want, but"Hide empty terms" removes also a dropdown from the filter when there is no items in it. I'd like to these dropdown stay visible but disabled, so the filter remain in the same shape as before selection. I mean, if I have 4 dropdowns I'd like to see them all always despite the selections done, but some of the dropdown should become disabled depending of selection applied.

Thanks

Hello

Unfortunately the plugin does not have this feature.

but  you can in  file -  wp-content\plugins\woocommerce-products-filter\views\html_types\select.php - delete  this  code - https://c2n.me/4eOKMyC.png

Hi,

Thanks. I will do.  Maybe it is worth considering such a switch in a settings section or make this feature plugable, so it could be unplugged in functions.php?

Thanks again!

Hello

You  can  override  this  file - https://products-filter.com/hook/woof_html_types_view_select

Thanks! That helps.

welcome;)