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

Variation Swatches for WooCommerce interfering with Cart, Checkout

Michael Ford

Hi, I am experiencing interference between the Variation Swatches for WooCommerce plugin and the Cart and Checkout functions. When the plugin is active, the cart Update button does not work, and the Checkout payment method selection does not update.

Golam Kibria

Hi Michael,

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/QWCX4

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:

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

Michael Ford

Hi Golam,

Thanks for getting me pointed in the right direction. I was able to get it working again. -Michael