I want to change in SaveAction() of Mage_Adminhtml_Sales_Order_CreateController. So for this I have make changes in config.xml like below :

                    <Mycompany_Modulename before="Mage_Adminhtml">

and add file at

require_once Mage::getModuleDir('controllers', 'Mage_Adminhtml').DS.'Sales/Order/CreateController.php';

class Mycompany_Modulename_Adminhtml_Sales_Order_CreateController extends Mage_Adminhtml_Sales_Order_CreateController

It is working and called SaveAction() when admin create an order.But if admin edit an order that time SaveAction() is called from core file Mage_Adminhtml_Sales_Order_CreateController

Can anyone help on this ?

1 Answer 1


I have extend EditController.php from Mage_Adminhtml_Sales_Order_EditController and put SaveAction into that.

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.