prestashop-module/README.md

51 lines
1.5 KiB
Markdown
Raw Normal View History

2018-06-18 14:00:16 +03:00
[![Build Status](https://img.shields.io/travis/retailcrm/prestashop-module/master.svg?style=flat-square)](https://travis-ci.org/retailcrm/prestashop-module)
2020-03-05 12:14:15 +03:00
[![Coverage](https://img.shields.io/codecov/c/gh/retailcrm/prestashop-module/master.svg?style=flat-square)](https://codecov.io/gh/retailcrm/prestashop-module)
2018-06-18 14:00:16 +03:00
[![GitHub release](https://img.shields.io/github/release/retailcrm/prestashop-module.svg?style=flat-square)](https://github.com/retailcrm/prestashop-module/releases)
[![PHP version](https://img.shields.io/badge/PHP->=5.3-blue.svg?style=flat-square)](https://php.net/)
2014-04-30 03:51:52 +04:00
Prestashop module
2015-07-21 15:21:12 +03:00
=================
2014-04-30 03:51:52 +04:00
2018-06-14 12:50:26 +03:00
Module allows integrate CMS Prestashop with [retailCRM](http://www.retailcrm.pro)
2014-04-30 03:51:52 +04:00
2016-03-14 23:05:20 +03:00
#### Features:
2014-04-30 03:51:52 +04:00
2016-03-14 23:05:20 +03:00
* Export orders to retailCRM & fetch changes back
* Export product catalog into [ICML](http://www.retailcrm.pro/docs/Developers/ICML) format
2014-04-30 03:51:52 +04:00
2016-03-14 23:05:20 +03:00
#### Setup
2014-04-30 03:51:52 +04:00
2016-03-14 23:05:20 +03:00
* Go to module setup page
* Fill you api url & api key
* Specify directories matching
2014-04-30 03:51:52 +04:00
2016-03-14 23:05:20 +03:00
#### Setting product catalog export
2014-04-30 03:51:52 +04:00
2016-03-14 23:05:20 +03:00
Add to cron:
2016-01-13 18:17:35 +03:00
```
* */4 * * * /usr/bin/php /path/to/your/site/modules/retailcrm/job/icml.php
```
2016-03-14 23:05:20 +03:00
#### Getting changes in orders
2016-01-13 18:17:35 +03:00
2016-03-14 23:05:20 +03:00
Add to cron:
2016-01-13 18:17:35 +03:00
```
*/7 * * * * /usr/bin/php /path/to/your/site/modules/retailcrm/job/sync.php
```
2019-01-21 14:42:19 +03:00
#### Receiving balances from retailCRM
Add to cron:
```
2019-01-22 10:12:42 +03:00
*/15 * * * * /usr/bin/php /path/to/your/site/modules/retailcrm/job/inventories.php
2019-01-21 14:42:19 +03:00
```
2018-06-14 12:50:26 +03:00
#### Single orders archive export to retailCRM
2016-01-13 18:17:35 +03:00
```
/usr/bin/php /path/to/your/site/modules/retailcrm/job/export.php
```