In Order Summary block(Checkout Page), totals block is missing. In the Cart Page, totals block is displayed.
I have to override checkout_cart_index.xml
in my theme for Cart
Page. The code in checkout_cart_index.xml
is:
My console has Js errors. I have jquery.min.js version 1.12.4(Default one) in my theme.
1. Are these JS errors responsible for my issue?
- Why do I get totals block in Cart Page but not in Checkout Page?
Can you please guide me to bring back my Totals block. Thanks in advance.
Best Answer
Total is display on Payment page not on shipping. There are two changes required to display summary in shipping step. Override both files in your current theme.
1. change
/Magento_Checkout/js/view/summary/abstract-total.js
fileNow order summary will be displayed in shipping step.
/Magento_Checkout/js/view/summary/shipping.js
file This change is for to update shipping charge in the selection of shipping methods.Change
getValue()
function.Hope this answer will help you.