mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-01-22 18:51:42 +03:00
Update Install.md
This commit is contained in:
parent
7867085eb9
commit
507808b278
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user