How can I get grand total in custom phtml file
-
20-02-2021 - |
Question
- Platform: Magento 1.9
- Area: Cart/Quote
I want to get cart grandtotal in my custom phtml file.
Is there any easy way to do it?
Solution
Simple code to fetch grand total anywhere in theme:
$grandTotal = Mage::getModel('checkout/session')->getQuote()->getGrandTotal();
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange