Beispiel #1
0
 private function clearOrder(Ess_M2ePro_Model_Order $order)
 {
     $order->setMagentoOrder(null);
     $order->setData('magento_order_id', null);
     $order->save();
     $order->getItemsCollection()->walk('setProduct', array(null));
 }