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?
La solution
Simple code to fetch grand total anywhere in theme:
$grandTotal = Mage::getModel('checkout/session')->getQuote()->getGrandTotal();
Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange