0

How can i change the cart summary in magento 2 checkout.

When i enter to checkout in shipping section i see this. enter image description here

and when i reach on payment method i can see this. enter image description here

How can i make shipping section same as payment section.

1
  • @Emipro Technologies Pvt. Ltd. Any help?
    – Avesh Naik
    Apr 24, 2018 at 9:41

1 Answer 1

0

@avesh, first need to understand why Magento does not show Cart total/subtotal and order total/grand total at Shipping steps.

Magento has optimized the checkout at this version and using local storage for saving checkout data like Cart item items, shipping address, shipping address at local storage and it save it Magento database when place an order.

If you will check magento2 checkout process then you can see that Magento does not calculate shipping rates until shipping address selected or create the new address and also this shipping address does not save at database as the shipping address until the order placed and data is saved at local storage.

After selecting or creating shipping address Magento calls the shipping estimate API ,which only need address fields values like country, region id, region, city and postcode from local storage to fetch shipping method list for current cart.

In this way, Magento optimized the checkout process that why Magento does not show select shipping rate at checkout shipping step, So it is not relevant to show it. If you will default luma theme then you understand **shipping price is showing as Not yet calculated. enter image description here

Hope, you have understand my point.

3
  • Ya. but in my case it should display.
    – Avesh Naik
    Apr 24, 2018 at 12:25
  • If shipping is not selected is should show yet to calculate.
    – Avesh Naik
    Apr 24, 2018 at 12:26
  • Why you thought it should show?.May magento checkout summary bar knockout js and html template files in override by another moduke
    – Amit Bera
    Apr 24, 2018 at 12:44

Your Answer

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

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