How can I get grand total in custom phtml file
-
20-02-2021 - |
문제
- 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?
해결책
Simple code to fetch grand total anywhere in theme:
$grandTotal = Mage::getModel('checkout/session')->getQuote()->getGrandTotal();
제휴하지 않습니다 magento.stackexchange