jQuery('body').trigger('update_checkout');
example by changing postalcode update the checkout price
setTimeout(function () {
jQuery('#billing_postcode').val(addressComponent.postal_code);
jQuery('body').trigger('update_checkout');
console.log('postal code value', jQuery('#billing_postcode').val())
}, 2500);
0 Comments
Post a Comment