2014-08-15 13:35:22 +04:00
|
|
|
|
Opecart module
|
|
|
|
|
=============
|
|
|
|
|
|
|
|
|
|
Opencart module for interaction with [IntaroCRM](http://www.intarocrm.com) through [REST API](http://docs.intarocrm.ru/rest-api/).
|
|
|
|
|
|
|
|
|
|
Module allows:
|
|
|
|
|
|
|
|
|
|
* Send to IntaroCRM new orders
|
|
|
|
|
* Configure relations between dictionaries of IntaroCRM and Opencart (statuses, payments, delivery types and etc)
|
|
|
|
|
* Generate [ICML](http://docs.intarocrm.ru/index.php?n=Пользователи.ФорматICML) (IntaroCRM Markup Language) for catalog loading by IntaroCRM
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
|
-------------
|
|
|
|
|
|
|
|
|
|
### 1. Manual installation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### Clone module.
|
|
|
|
|
```
|
|
|
|
|
git clone git@github.com:/intarocrm/opencart-module.git
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### Install Rest API Client.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
cd opencart-module/system/library/intarocrm
|
|
|
|
|
./composer.phar install
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### Install module
|
|
|
|
|
```
|
|
|
|
|
cp -r opencart-module/* /path/to/opecart/instance
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### Activate via Admin interface.
|
|
|
|
|
|
|
|
|
|
Go to Modules -> Intstall module.
|
|
|
|
|
|
|
|
|
|
#### Export
|
|
|
|
|
|
|
|
|
|
Catalog export script will be here
|
|
|
|
|
```
|
|
|
|
|
/index.php?route=export/intarocrm
|
|
|
|
|
```
|
|
|
|
|
|
2014-08-15 19:36:28 +04:00
|
|
|
|
#### Exchange setup
|
2014-08-15 13:35:22 +04:00
|
|
|
|
|
2014-08-15 19:36:28 +04:00
|
|
|
|
Look into example folder
|
2014-08-15 19:39:50 +04:00
|
|
|
|
|
|
|
|
|
#### TODO
|
|
|
|
|
* Edit order hook
|
|
|
|
|
* Export old customers & orders
|
|
|
|
|
* Generate static xml
|
|
|
|
|
* New customers export
|
|
|
|
|
* OrderHistory exchange
|