How can I update the grand total value when shipping method is changed to reflect new calculation?
Magento – Magento 2 – How to update grand total when shipping method is changed
checkoutgrand-totalmagento2shippingtotals
checkoutgrand-totalmagento2shippingtotals
Best Answer
I have the solution First of I found its easier to copy all the files into my theme directory.
Create the theme directory
http://devdocs.magento.com/guides/v2.1/frontend-dev-guide/themes/theme-create.html
Overwrite Checkout pages
Copy web folder from default theme to your Magento_Checkout
Edit
Magento_Checkout/web/template/summary/
(totals & grand-total) remove code below from both files.Edit
Magento_Checkout/web/js/view/shipping.js
Find selectShippingMethod Function line 215 and add
Should look like this
Run following commands