2

When i add tracking no to the order and click on Submit Shipment , Order status becomes preparing and Preparing email is sent to customer . Then again ,i have to change the status to Shipped .

What i want is to change order status to Shipped when Submit Shipment is clicked . Is this possible ?

1 Answer 1

1

For this,you need to Override controller class Mage_Adminhtml_Sales_Order_ShipmentController

saveAction() function at after $this->_saveShipment($shipment); You need forcefully reset order status.

$Order=$shipment->getOrder();
$Order->setStatus('YOUR_STATUS_CODE');
$Order->save();
1
  • thanks @Amit , I will try this and let you know if it worked for me or not .
    – Seefan
    Commented May 20, 2016 at 11:54

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.