0

Can anyone help me how to load the data edited orders in magento1.9.

Please help me if any one have idea about this.

Thanks

  • I didn't get your question , please ask more clear – Murtuza Zabuawala Aug 23 '18 at 12:56
  • if i edit the order information like items, qty get those orders – shivashankar m Aug 23 '18 at 12:57
0

I didn't check below code but this should work please check and let me know as well

You can check created_at and updated_at date if those are not equal then some data changed after some time

 $orders = Mage::getModel('sales/order')->getCollection();
 $orders->getSelect()->where('created_at<>updated_at');
  • ok thanks for your info @Murtuza, i will check it and update to you. – shivashankar m Aug 23 '18 at 13:08
  • What is this mean:where('created_at<>updated_at') – shivashankar m Aug 23 '18 at 13:13
  • @shivashankarm 'not equal' that's mysql syntax – Murtuza Zabuawala Aug 23 '18 at 13:17
  • but i want the updated orders and items edited orders – shivashankar m Aug 23 '18 at 13:20
  • iam getting some orders but those are not exist in magento – shivashankar m Aug 23 '18 at 13:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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