I would like to reload the shipping methods information on a click of button for example. enter image description here

When the country change it does an ajax to


and then reload the Shipping Methods!

How to reload in like when user change the country in the drop down on address form.?

thanks in advance.

1 Answer 1


To reload checkout page shipping methods rates block

As per your requirement add these dependencies

'Magento_Checkout/js/model/quote','Magento_Checkout/js/model/shipping-rate-registry', on define[]

var address = quote.shippingAddress();
address.trigger_reload = new Date().getTime();
rateRegistry.set(address.getKey(), null);
rateRegistry.set(address.getCacheKey(), null);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.