fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Remove button is not working on woocommerce

Swathi Ajith

Hello Team,

I have installed your free version of Variation Swatches for WooCommerce ,  the plugin works great! Unfortunately the remove icon or the cross doesnt remove item from the cart or mini cart and throws a javascript error. I checked by disabling it and it works fine. Can you pls resolve this issue ASAP.

Thanks,

Swathi

Golam Kibria

Hi Swathi,

Thank you for reaching out to us.

Please kindly do a plugin compatibility check by doing these steps to identify the error :

=> Deactivate all of your additional plugins except WooCommerce and WooCommerce Variation Swatches Plugin.

=> See if the problem persists. If the issue is resolved, you can tell which plugin might be the culprit of this error by activating your additional plugins one by one.

If the plugin conflict check doesn’t help, please record me reproducing your issue using a tool like this? https://www.useloom.com
It helps me to figure out the issue quickly and squash it immediately.

And don’t forget to add your site login details in the site login details area. I’ll check what’s happening there.

You can add new users by going to Users > Add New set the user and password for us, set the role to admin, and set the info here.

And add your site URL, login username, and password in the site login area. Follow this guideline: https://www.useloom.com/share/27c1f2ac633c4060b2da883d946107d7

Hope to hear from you soon!

Thank you

Swathi Ajith

Hello Team,

I had sent all the necessary details. Is there any update from your end? Please help me resolve the issue ASAP

Golam Kibria

Hi Swathi,

You seem to be experiencing the issue due to a conflict of multiple jQuery versions.

On your site, additional jQuery is being added – https://paste.pics/QV4O5

WordPress Core already offers jQuery by default so, you don’t need to enqueue it again from a CDN.

Here is a default list of JS libraries that WP offers:
https://developer.wordpress.org/reference/functions/wp_enqueue_script/#default-scripts-and-js-libraries-included-and-registered-by-wordpress

You can enqueue the built-in jQuery library like this:
wp_enqueue_script( 'jquery' );

Rather than:
wp_register_script( 'jquery', 'https://code.jquery.com/jquery-3.4.1.js');

Our plugin uses the built-in jQuery library of WordPress. Please remove the additional CDN for jQuery.

This should resolve the issue.

Thanks a lot