Wednesday, October 21, 2015

Magento: Get Grandtotal without Tax

$totals = Mage::getSingleton('checkout/session')->getQuote()->getTotals(); //Total object
$grandtotal = $totals["grand_total"]->getValue(); //Grandtotal value

No comments:

Post a Comment