How to Configure Checkout Totals Sort Order in Magento 2

In the Magento 2 Review & Payments stage of the Checkout process, the Totals Sort Order appears at the bottom of the Order Summary to show the total number that a customer has to pay. This number has been adjusted for all discounts, shipping fees, store credit, and tax payment.

storefront-checkout-totals

The order of each item which determines how the Totals Sort Order is calculated is set in the backend configuration. Each item (Subtotal, Discount, Shipping, etc) is assigned a number to justify the order of the calculation. For instance, the Subtotal, which is assigned a value of 10,  is then set to be the first item in the section. The Grand Total is assigned a value of 100 so that it’ll appear last. All of the other items in the totals section of the Order Summary are assigned a value between those values.

There are four steps to configure the Checkout Totals Sort Order in Magento 2 backend:

  1. Sign in with your admin account. On the Admin sidebar on the left, click Stores. Then choose Configuration under Settings.
  2. In the panel on the left, expand the Sales section. Choose Sales after that.
  3. Next, move to the Checkout Totals Sort Order section and expand it then do the followings:
  • Firstly, select the store view that the settings are applied. When complete, tap OK to continue.
  • There are two ways to set the Checkout Total order in the frontend. You can either accept the default value that is already filled in the boxes or enter a new one to each box. Clear the Use system value checkbox if you choose the second option.

config-sales-sales-checkout-totals-sort-order

  1. When finishing all the settings, click Save Config to confirm the changes.

That are 4 steps that help you to set the Checkout Total order in the frontend. Don’t forget to follow us to receive more useful blogs about Magento 2 platform.