$order = Mage::getModel('sales/order')->loadByIncrementId('100000001'); // Load the order with increment ID 100000001 $orderData = $order->getData(); // Get all order data $orderId = $order->getId(); // Get the order ID $orderNumber = $order->getIncrementId(); // Get the order number $customer = $order->getCustomerName(); // Get the customer name $billingAddress = $order->getBillingAddress(); // Get the billing address
$order = Mage::getModel('sales/order')->loadByIncrementId('100000001'); // Load the order with increment ID 100000001 $order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, true); // Update the order state to processing $order->setStatus('processing'); // Update the order status to processing $order->save(); // Save the changes to the orderBased on the code examples, the package library is Magento.