$quote = Mage::getSingleton('checkout/session')->getQuote();
$subtotal = $quote->getSubtotal();
$totals = Mage::getSingleton('checkout/session')->getQuote()->getTotals(); //Total object
$subtotal = round($totals["subtotal"]->getValue()); //Subtotal value
Advertisements