I currently have my subtotal tax settings set to 'Display subtotal excluding tax'. This has changed the subtotal in the minicart to display the subtotal excluding tax.
How can I display the grand total of the order including tax in the highlighted area with the settings mentioned above?
Best Answer
This may be late, but I would post this for the people who reach here in future.
Let's start with the layout.xml [scope]/[module]/view/frontend/layout/default.xml
Override the and add getQuote Method. [scope]/[module]/etc/frontend/di.xml
app/code/[scope]/[module]/Block/Onepage.php
[scope]/[module]/view/frontend/templates/checkout/config.phtml
In [scope]/[module]/view/frontend/layout/checkout_index_index.xml
Finaly let's add them to the mini-cart app/design/frontend/[package]/[theme]/[scope]_[module]/templates/cart/minicart.phtml
The explanation for adding window.checkoutConfig