Woocommerce update order review table in checkout

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

Leave a Reply

Your email address will not be published. Required fields are marked *