Return to Snippet

Revision: 26587
at May 3, 2010 08:51 by TioSolid

Initial Code
$quote = Mage::getModel('checkout/session')->getQuote();
$total = $quote->getGrandTotal();
// format total in order to have a user friendly price
$total = $this->helper('checkout')->formatPrice($total);

Initial URL

Initial Description
How to get the cart total in a Magento Page

Initial Title
Get cart total price

Initial Tags

Initial Language