1

I need to edit order without create same order as new order. How can i do edit order without create as a duplicate.

1 Answer 1

1

load old order with order model

Mage::getModel('sales/order')->loadByIncrementId('10000001'); //use a real increment order id

do the changes that you want to change and than

save that order

2
  • How to use load old order
    – Gem
    Nov 26, 2016 at 10:48
  • i edit my answer you just check Nov 26, 2016 at 10:56

Your Answer

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

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