2016-11-22 18:02:37 +03:00
|
|
|
UMI.CMS module
|
|
|
|
==============
|
|
|
|
|
|
|
|
Module allows integrate UMI.CMS with [RetailCRM](http://www.retailcrm.pro)
|
|
|
|
|
|
|
|
#### Features:
|
|
|
|
|
|
|
|
* Export orders to retailCRM & fetch changes back
|
|
|
|
* Export product catalog into [ICML](http://www.retailcrm.pro/docs/Developers/ICML) format
|
|
|
|
|
|
|
|
#### Setup
|
|
|
|
|
|
|
|
* Copy directories "classes" & "images" into document root
|
|
|
|
* Go to /admin/config/modules
|
|
|
|
* Into "Modules" tab fill installation script path (classes/modules/RetailCRM/install.php)
|
|
|
|
* Press setup button
|
|
|
|
* Go to module page
|
|
|
|
* Fill you api url & api key
|
|
|
|
* Specify directories matching
|
|
|
|
|
|
|
|
#### Setting product catalog export
|
|
|
|
|
|
|
|
Add to cron:
|
|
|
|
|
|
|
|
```
|
2017-01-23 02:08:20 +03:00
|
|
|
0 */4 * * * /usr/bin/php /path_to_site/public_html/cron.php RetailCRM icml
|
2016-11-22 18:02:37 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
#### Getting changes in orders
|
|
|
|
|
|
|
|
Add to cron:
|
|
|
|
|
|
|
|
```
|
|
|
|
*/7 * * * * /usr/bin/php /path_to_site/public_html/cron.php RetailCRM history
|
|
|
|
```
|