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

The Coupon code does not work on the cart

MOHAN KARIYAPPA

The Variation Swatches for WooCommerce is impacting the coupon code at the cart . I was able to isolate the problem by disabling and enabling all the plugins. When ever I disable Variation Swatches for WooCommerce, the coupon codes works good. Please see attached screenshots.

 

Variations swatches plugin enabled screenshot.jpg

Variations swatches plugin enabled the coupon code does not work

Variations swatches plugin deactivated screenshot.jpg

Variations swatches plugin deactivated and the coupon code works

Hakik Zaman

Hi MOHAN,

Thanks for reaching out to us.

Can I ask why you add this- https://paste.pics/RVCWF?

By default, WordPress adds the necessary jQuery library for your site.

You can check the default libraries for WordPress Core here: https://developer.wordpress.org/reference/functions/wp_enqueue_script/#default-scripts-and-js-libraries-included-and-registered-by-wordpress

So, you don’t need to add it again using a plugin to reinitiate the jQuery.

Please remove the scripts from there and try again.

Looking forward to hearing from you soon.

Thank You

MOHAN KARIYAPPA

Thanks Hakik, It worked . Many times without knowing we add the codes unnecessarily. I removed the footer code now and its all good. Thanks for the support.