From 507808b27819c3b6e2d57328bce2527d3ae8c5ce Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Fri, 29 Aug 2014 17:04:21 +0400 Subject: [PATCH] Update Install.md --- doc/Install.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/Install.md b/doc/Install.md index 6745679..770f535 100644 --- a/doc/Install.md +++ b/doc/Install.md @@ -48,6 +48,17 @@ $this->model_intarocrm_order->send($data, $order_id); Add this lines into: * /catalog/model/checkout/order.php script, into addOrder method before return statement + +``` +$this->load->model('setting/setting'); +$status = $this->model_setting_setting->getSetting('intarocrm'); +$data['order_status'] = $status['intarocrm_status'][$data['order_status_id']]; + +$this->load->model('intarocrm/order'); +$this->model_intarocrm_order->send($data, $order_id); +``` + +Add this lines into: * /admin/model/sale/order.php script, into addOrder & editOrder methods at the end of these methods #### Export new order from CRM to shop