I am following this article. Now I need more information of Order. I would like to fetch Ordered Currency, Order Date, Payment Method and Order Status. Can anyone say how can I do that??

1 Answer 1

$orderNumber = 100004544;
$order = Mage::getModel('sales/order')->loadByIncrementId($orderNumber);
$currency = $order->getOrderCurrencyCode();
$date = $order->getCreatedAt();
$paymentMethod = $order->getPayment()->getMethodInstance()->getCode();
$status = $order->getStatus();

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.