diff --git a/uc_coupon.js b/uc_coupon.js index 73253db..a8eaa7a 100644 --- a/uc_coupon.js +++ b/uc_coupon.js @@ -34,6 +34,14 @@ function getCoupon() { else if (window.render_line_items) { render_line_items(); } + + if (window.quoteCallback) { + // Update shipping quotes (but only if they have already been calculated). + var formval = $('input[name=quote-form]').val(); + if (typeof formval == 'string' && formval.length > 0) { + $("input[id*=quote-button]").click(); + } + } } }); }