Product filter does not show filters or not working for attributes / categories / tags only with WooCommerce 2.6.x and WordPress less then 4.7

If Ajax Product Filter does not show filters or not show results for attributes / categories / tags if you're using WooCommerce 2.6.x and Wordpress less then 4.7, please, follow these simple steps:

1. Update the plugin to version 3.0.6 or higher

If you have an active cache plugin, please, do also the following:

2. Go to WooCommerce > System Status > Tools and click on recount terms

3. Empty the cache (if any)

 

If still the filters do not show up:

4. copy and paste the following code into the functions.php file of your current theme:

add_filter ('yith_wcan_use_wp_the_query_object', '__return_true');


and go through steps 2 and 3 once again.

Was this article helpful?
1 out of 2 found this helpful

Back to Help Center

Powered by Zendesk