Question

How to get order total amount in my custom file ?

Was it helpful?

Solution

try Following way...

$order = Mage::getSingleton('sales/order')->loadByIncrementId($orderId);

$order->getGrandTotal();

OTHER TIPS

Basically we get order total amount like this :

$order = Mage::getModel("sales/order")->loadByIncrementId($orderId); // get order

$order->getGrandTotal();
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top