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 terms without dynamic recount

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 tried to find solution, but couldn't.

Is there any way to hide emty terms without using dynamic recout? I need to do that because dynamic recount slows down site extremly.

It puts over 3000 queryes to the database and loading time triplets.

 

Thank you!

 

Marko

 

 

Hello Marko

it's impossible! 
This is the whole point. To check the availability of products for each filter element (find empty terms), the filter makes a separate query to the database. Otherwise it won't work
Please  try  to  use  cache -> Advanced->Options- https://c2n.me/4aDJQRQ.png - and  do  a  test  as  a customer (not  admin)

Should i wait for cache to fill or something because when i click on filter first time it is slow, second time is much faster. Should i click on every possible option to get it cached?

Hello

Should i wait for cache to fill or something - Yes! Your users fill in the cache while your site is running