Update Install.md

This commit is contained in:
Alex Lushpai 2014-08-29 18:03:26 +04:00
parent 507808b278
commit b6fcac6dee

View File

@ -50,12 +50,14 @@ Add this lines into:
* /catalog/model/checkout/order.php script, into addOrder method before return statement
```
if (!isset($data['fromApi'])) {
$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: