Update Install.md

This commit is contained in:
Alex Lushpai 2014-08-29 12:24:04 +04:00
parent b06ea9a901
commit 7867085eb9

View File

@ -43,11 +43,11 @@ Into your CRM settings set path to exported file
``` ```
$this->load->model('intarocrm/order'); $this->load->model('intarocrm/order');
$this->model_intarocrm_order->send($this->data, $this->session->data['order_id']); $this->model_intarocrm_order->send($data, $order_id);
``` ```
Add this lines into: Add this lines into:
* /catalog/controller/checkout/confirm.php script, into index method before setOutput call * /catalog/model/checkout/order.php script, into addOrder method before return statement
* /admin/model/sale/order.php script, into addOrder & editOrder methods at the end of these methods * /admin/model/sale/order.php script, into addOrder & editOrder methods at the end of these methods
#### Export new order from CRM to shop #### Export new order from CRM to shop