Home » Jquery » jquery – Action after update cart

jquery – Action after update cart

Posted by: admin February 22, 2020 Leave a comment

Questions:

I try call event after ajax updatign cart in Woocommerce.
I use this script:

$(document.body).on( 'updated_cart_totals', function() {
    alert('test');
});

But I didn’t see alert after updating card. Why updated_cart_totals not work ?

How to&Answer: