سؤال

Good day,

I have two shipping methods, which are "International Shipping" and "US Shipping".

Is there a way to apply the shipping fee without resubmitting it again after user fills in the billing/shipping address and process to the last phase of placing order ?

Thank you.

هل كانت مفيدة؟

المحلول

I had this question recently and managed to figure it out.

$("#shipping_method").change(function(e) {
    $(this.form).submit();
});

Asked and answered at EE Stack Exchange

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top