In Store > Configuration > Shopping Cart Display Settings I set next configuration:
But in checkout and cart, order total incl. and excl. tax both are displayed.
How I can remove total exclude tax from checkout page and order invoice emails?
checkout-summarymagento2order-summaryshopping-carttax
Best Answer
Changing the below store configuration will solve this.
Which renders the totals as below
./vendor/magento/module-tax/view/frontend/templates/checkout/grandtotal.phtml
In this file, the totals INCL and EXCL both loaded only when this condition is satisfied.And the includeTax() method check the above-described store configuration value. Switch this "Include Tax in Order Total" to NO in both
Store > Configuration > Tax > Shopping Cart Display Settings = NO
Store > Configuration > Tax > Orders, Invoices, Credit Memos Display Settings = NO