Posted inUncategorized
magento delete order programmatically
Orders id require 'app/Mage.php'; Mage::app('admin')->setUseSessionInUrl(false); //replace your own orders numbers here: $test_order_ids = array( '100100210', '100100211', '100100212', '100100248', ); foreach ($test_order_ids as $id) { try { Mage::getModel('sales/order')->loadByIncrementId($id)->delete(); echo "order #"…