• The below JavaScript appears that the bottom of my WooCommerce Checkout page.

    jQuery('body').on('applied_coupon removed_coupon updated_checkout', function(){
    ...
     } <!-- Meta Pixel Event Code --> fbq('set', 'agent', 'wordpress-6.3-3.0.13', 'XXX');
     ...
     "eventID": "XXX"
    }); <!-- End Meta Pixel Event Code --> if (typeof sc_coupon_message_ajax === 'undefined') {
     var sc_coupon_message_ajax = null;
     }
    **MISSING });**
    
     jQuery('body').on('applied_coupon removed_coupon updated_checkout', function(){

    For some reason when this plugin is active it removes the “});” from the end of this JS. Breaking all downstream jQuery body code. This led to my WC payment gateway to not work. I deactivated this plugin and it no longer had this issue.

  • The topic ‘Causing JS error on WooCommerce Checkout Page’ is closed to new replies.