Hi,
the issue is related with ajax pagination.
For fix it we need to change a method on main plugin class. So, open the file class.yith-woocompare.php (wp-content/plugins/yith-woocommerce-compare/includes) and change the method is_frontend() ( line 62 ) this way
public function is_frontend() {
$is_ajax = ( defined( 'DOING_AJAX' ) && DOING_AJAX );
return (bool) ( ! is_admin() || $is_ajax && ( ( isset( $_REQUEST['context'] ) && $_REQUEST['context'] == 'frontend' ) || ( isset( $_REQUEST['action'] ) && $_REQUEST['action'] == 'woof_draw_products' ) ) );
}
Please make first a backup copy. Let me know.
Regards.
Giuseppe
Yesssss ! You did it.
I’m purchasing this right away.
What will happen with the next update? Will you include this fix in your extension so I won’t need to fix it at every update?
Thanks.
I did purchased it. I have 3 questions:
a) How can I reduce the size of the product titles in the widget so the X won’t fall under each title?
b) When I add items to the compare list, the widget won’t show them unless I refresh the page; looks like the AJAX portion of the widget won’t work.
c) In the free version, the compare result was showing in a popup witn an X to close the lightbox. Now it’s a page with no way to close or to get to get back except with the BACK button. How about a link on top and on bottom “back to products list”, or a lightbox popup like before?
Thanks.
Hi,
the fix above will be included on next plugin release.
About other issues or questions, if you have purchased the premium version, open a ticket on yithemes support desk.
This is a public forum dedicated to the version on ww.wp.xz.cn and not for the commercial version.
Thanks, regards.
Didn’t know, and done. Thanks.