mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-01-23 03:01:41 +03:00
Update Install.md
This commit is contained in:
parent
507808b278
commit
b6fcac6dee
@ -50,12 +50,14 @@ Add this lines into:
|
|||||||
* /catalog/model/checkout/order.php script, into addOrder method before return statement
|
* /catalog/model/checkout/order.php script, into addOrder method before return statement
|
||||||
|
|
||||||
```
|
```
|
||||||
$this->load->model('setting/setting');
|
if (!isset($data['fromApi'])) {
|
||||||
$status = $this->model_setting_setting->getSetting('intarocrm');
|
$this->load->model('setting/setting');
|
||||||
$data['order_status'] = $status['intarocrm_status'][$data['order_status_id']];
|
$status = $this->model_setting_setting->getSetting('intarocrm');
|
||||||
|
$data['order_status'] = $status['intarocrm_status'][$data['order_status_id']];
|
||||||
|
|
||||||
$this->load->model('intarocrm/order');
|
$this->load->model('intarocrm/order');
|
||||||
$this->model_intarocrm_order->send($data, $order_id);
|
$this->model_intarocrm_order->send($data, $order_id);
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Add this lines into:
|
Add this lines into:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user