Created
October 21, 2018 13:22
-
-
Save Dan0sz/d600e5c276eee169476a7ee31021840b to your computer and use it in GitHub Desktop.
Get Total Price of Cart Including/Excluding VAT/Tax in Magento Minicart Widget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Get Price of all Items in Cart including VAT/Tax | |
Mage::helper('checkout')->formatPrice(Mage::getSingleton('checkout/cart')->getQuote()->getGrandTotal() | |
// Get Total Price excluding/without VAT/Tax | |
Mage::helper('checkout')->formatPrice(Mage::getSingleton('checkout/cart')->getQuote()->getSubtotal() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment