Enter tracking number reference of Magento

ex.

Magento Order Set State : Useful Links

magento.stackexchange.com

When I have got and error "The Order State "complete" must not be set manually." I found the solution here ...

community.magento.com

newState = Order::STATE_COMPLETE; $order->setState($newState)->setStatus( Order::COMPLETE); $order->save(); I use the obove code to ...

magento.stackexchange.com

As question from @jafar-pinjar regarding custom order status, setState and setStatus calls can ...

docs.magento.com

To assign an order status to a state: · Choose the Order Status that you want to assign. · Set Order State to the place in the workflow where the ...

stackoverflow.com

i found a solution for my self, $order = Mage::getModel('sales/order')-> loadByIncrementId($order_id); $order->setData('state', "complete"); ...

www.atwix.com

Let's assume that we need to have the order status set to “Processing” instead of “Pending” for orders paid with the “Credit Card Save” payment ...

stackoverflow.com

You can't set Order state to COMPLETE or CLOSED manually with setState() method AFAIK.

www.engine23.com

/** * change order status to 'Completed' */ $order->setState( Mage_Sales_Model_Order::STATE_COMPLETE, true)->save();. Similarly, you can ...

gist.github.com

$order->setState(Mage_Sales_Model_Order::STATE_COMPLETE, true)->save(); . Similarly, you can change the order status to pending, processing, canceled, ...


Related searches