I’m trying to update the order review table after having added an addon to the cart.

I’ve tried using: $( ‘body’ ).trigger( ‘update_checkout’ );
but nothing happens. None of the .js triggers in the woocommerce checkout.js triggers any of their functions.

Trying to debug I’ve added this to my js $(document.body).on(‘update_checkout’, function () {
alert(‘update_checkout’);
});

And this is triggered but nothing from woocommerce.

I have the newest version of woocommerce.

Read more here: Woocommerce update order review table in checkout


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: