Skip to main content
5 events
when toggle format what by license comment
Aug 3, 2016 at 13:46 comment added Kaushal Suthar Sorry didn't worked for me getLastRealOrderId() :(
Aug 3, 2016 at 13:43 comment added Chirag Rajput $order = Mage::getModel('sales/order')->load(Mage::getSingleton('checkout/session')->getLastRealOrderId()); I have updated answer. please try this.
Aug 3, 2016 at 13:43 history edited Chirag Rajput CC BY-SA 3.0
added 4 characters in body
Aug 3, 2016 at 13:35 comment added Kaushal Suthar As I said magento.stackexchange.com/a/72091/39607 tried this already, But not working I'm getting an empty array.
Aug 3, 2016 at 13:33 history answered Chirag Rajput CC BY-SA 3.0