We have been using the Ajax Product Filter for sometime and now after Updates its stopped working on Div-Child with all standard Woo-commerce templates and classes.
http://www.davidleaser.com/the-art
Can you please check? I verified the class names also.
Hi,
which version of ajax product filter are you using ?
Let me know.
Thanks
Have a nice day
YITH
I updated to 3.0.12 and still its not working. Nothing is filtered. Shows same number of products.
Hi @councilsoft,
I tested your website and I think you have a problem with the WC_Query object in loop. Probably your theme change it and the YITH Ajax Product Filter plugin can’t show the correct product list.
Please, try this solution: https://goo.gl/tOi8Ew and let me know if works for you.
Have a nice day
YITH
I performed the steps you suggested and still it does not work.
Cache plugin was deactivate already but i went and deleted the cache plugin.
Recounted items. And even added this add_filter (‘yith_wcan_use_wp_the_query_object’, ‘__return_true’); to the functions file.
I am using the latest version of Divi Theme and YITH plugin.
Hi @councilsoft,
Please can you post your widget configuration ?
Let me know
Have a nice day
YITH
Hi,
I see that in previous post there are a strange single quote characters, look here:

You must use ASCII single quote characters, look here:

Please, try to delete the previous code and add it again:
add_filter ('yith_wcan_use_wp_the_query_object', '__return_true');
To make sure that the single quote are correct you can past the previuos code in an txt editor like sublime, notepad++, notepad or something like this.
Let me know
Have a nice day
YITH
-
This reply was modified 9 years, 8 months ago by
YITHEMES. Reason: correct wrong image url