Compare Button Not Working
-
Hi YITH Support Team,
I’m currently using the YITH WooCommerce Compare plugin (version 3.1.0) on my WooCommerce site, and I’ve noticed that the Compare button on single product pages has stopped working.
Upon inspecting the browser console, I’m getting the following JavaScript error:
Uncaught TypeError: this.doAjax(...).success is not a function
at e.value (woocompare.min.js?ver=3.1.0:9918)My site is running jQuery version 3.3.1, and I can see that the
.success()method is being used in the plugin’swoocompare.min.jsfile, which is deprecated and removed in jQuery 3.x. Replacing.success()with.done()does not take effect because the plugin still loads the minified version via the default?ver=3.1.0URL.Can you please confirm if this is a known issue and if there’s a patch or updated version planned that addresses jQuery 3.x compatibility?
Let me know how best to proceed.
Thanks,
Manoj Sharma
The page I need help with: [log in to see the link]
The topic ‘Compare Button Not Working’ is closed to new replies.