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
    Commented Nov 26, 2016 at 10:48
  • i edit my answer you just check Commented Nov 26, 2016 at 10:56

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.