When a customer purchases products from an E-commerce store, being transparent regarding the pricing becomes extremely important. It can help in winning customers’ trust and loyalty.
Magento 2 allows the admin to display the order summary that shows how the grand total is calculated taking into consideration the discounts and tax amounts.
The order summary includes:
- Subtotal
- Discount
- Shipping rate
- Tax
- Fixed product tax
- Grand total
Following the easy-to-understand method of displaying “checkout total”, the customers can easily understand the pricing structure of their purchases.
The admin can configure checkout total sort order in Magento 2 using the below method in such a way that the customers can easily follow the pricing pattern. Select shipping rate in Magento 2 to know which shipping rate is chosen by customers at checkout page for customizable and information purpose.
Method to Configure Checkout Total Sort Order in Magento 2:
- Login to Admin panel
- Navigate to Stores > Configuration
- Open Sales under Sales section
- Expand the Checkout Totals Sort Order section. Here, assign the sort order value to the fields like subtotal, discount, shipping rate, tax, fixed product tax, and grand total. The lower the value, the lower the order. Subtotal will be the first and Grand total will be the last in the Checkout Totals Sort Order.
- Save the configuration
Check the order summary in frontend:

That’s it.
You can also refer to the video tutorial to Configure Checkout Totals Sort Order in Magento 2 from our Magento 2 video tutorial series:
Also, do share the tutorial with Magento 2 store admins via social media.
Thank you.