I want to move order total excl. tax after the shipping amount in order summary.

enter image description here

Any help would be appreciate. Thank you

2 Answers 2


You can manage it from admin

Path : Store > Config > Sales > Sales > Checkout Totals Sort Order

enter image description here

  • i just want to move the order total excl. tax not whole grand total.
    – Ronak
    Commented Jan 30, 2020 at 11:48

This is how i achieved it. Move element is not possible for it so i found another way.

I created a new module like


<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
    <module name="Vendor_Module" setup_version="0.0.1">



<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="checkout.root">
                <argument name="jsLayout" xsi:type="array">
                    <item name="components" xsi:type="array">
                        <item name="checkout" xsi:type="array">
                            <item name="children" xsi:type="array">
                                <item name="sidebar" xsi:type="array">
                                    <item name="children" xsi:type="array">
                                        <item name="summary" xsi:type="array">
                                            <item name="children" xsi:type="array">
                                                <item name="totals" xsi:type="array">
                                                    <item name="children" xsi:type="array">

                                                        <item name="some_text" xsi:type="array">
                                                            <item name="sortOrder" xsi:type="string">35</item>
                                                            <item name="component" xsi:type="string">Vendor_Module/js/subTotal</item>
                                                            <item name="config" xsi:type="array">
                                                                <item name="template" xsi:type="string">Vendor_Module/subtotal</item>



], function (Component, quote, priceUtils, totals) {
    'use strict';

    return Component.extend({
        defaults: {
            template: 'Vendor_Module/subtotal'
        totals: quote.getTotals(),

        getGrandTotalExclTax: function () {
            var total = this.totals();

            if (!total) {
                return 0;

            return this.getFormattedPrice(total['grand_total']);


<tr class="order_total">
    <th class="mark" scope="row">
        <span class="label" data-bind="i18n: 'Order Total Excl. VAT' "></span>
    <td class="amount">
        <span class="label" data-bind="text: getGrandTotalExclTax() "></span>

Your Answer

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

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