How to Refresh Checkout Summary After Shipping Method Change in Magento 2
Magento 2 offers a flexible and dynamic checkout experience, but sometimes, when a customer selects a shipping method, the checkout summary — especially totals like
shipping cost, taxes, and grand total — doesn’t update automatically.
Why the Checkout Summary Might Not Update?
By default, Magento 2 should automatically refresh the checkout totals after a customer selects a different shipping method. However, in some cases, this automatic update might not work as expected. This typically happens if there is custom code affecting the checkout flow, certain third-party extensions interfering with the default behavior, or JavaScript components failing to trigger the correct events. As a result, the checkout summary — including shipping costs, taxes, and the grand total — may not update properly, leading to a confusing customer experience. In such situations, manually triggering the update becomes necessary to ensure the checkout page reflects the correct order totals.
If your Magento 2 checkout summary doesn’t refresh after selecting a shipping method, it’s often due to missing event handling or JavaScript issues.
By correctly observing the shipping method changes and forcing a totals refresh, you can ensure a seamless checkout flow for your customers.
For detailed blog :https://meetanshi.com/blog/update-checkout-summary-on-selecting-shipping-method-in-magento-2/