-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
2,759 additions
and
1,497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,54 @@ | ||
Prestashop module | ||
============= | ||
================= | ||
|
||
Prestashop module for interaction with [IntaroCRM](http://www.intarocrm.com) through [REST API](http://docs.intarocrm.ru/rest-api/). | ||
Модуль интеграции CMS Prestashop c [RetailCRM](http://www.retailcrm.com) | ||
|
||
Module allows: | ||
Модуль позволяет: | ||
|
||
* Send to IntaroCRM new orders | ||
* Configure relations between dictionaries of IntaroCRM and Prestashop (statuses, payments, delivery types and etc) | ||
* Generate [ICML](http://docs.intarocrm.ru/index.php?n=Пользователи.ФорматICML) (IntaroCRM Markup Language) for catalog loading by IntaroCRM | ||
* Экспортировать в CRM данные о заказах и клиентах и получать обратно изменения по этим данным | ||
* Синхронизировать справочники (способы доставки и оплаты, статусы заказов и т.п.) | ||
* Выгружать каталог товаров в формате [ICML](http://retailcrm.ru/docs/Разработчики/ФорматICML) (IntaroCRM Markup Language) | ||
|
||
Installation | ||
------------- | ||
###Установка | ||
|
||
### 1. Manual installation | ||
#####Скачайте модуль | ||
|
||
[Cкачать](http://download.retailcrm.pro/modules/prestashop/retailcrm-2.0.zip) | ||
|
||
#### Clone module. | ||
``` | ||
git clone [email protected]:/intarocrm/prestashop-module.git | ||
``` | ||
#####Установите через административный интерфейс управления модулями. | ||
|
||
![Установка модуля](/docs/images/add.png) | ||
|
||
|
||
###Настройка | ||
|
||
#####Перейдите к настройкам | ||
|
||
![Настройка модуля](/docs/images/setup.png) | ||
|
||
#####Введите адрес и API ключ вашей CRM и задайте соответствие справочников | ||
|
||
#### Install Rest API Client. | ||
![Справочники](/docs/images/ref.png) | ||
|
||
Install api-client-php via [composer](http://getcomposer.org) | ||
|
||
#####Регулярная генерация выгрузки каталога | ||
|
||
Добавьте в крон запись вида | ||
|
||
``` | ||
cd prestashop-module | ||
/path/to/composer.phar install | ||
* */4 * * * /usr/bin/php /path/to/your/site/modules/retailcrm/job/icml.php | ||
``` | ||
|
||
#### Create .zip file. | ||
#####Регулярное получение изменение из RetailCRM | ||
|
||
Добавьте в крон запись вида | ||
|
||
``` | ||
zip -r intarocrm.zip intarocrm | ||
*/7 * * * * /usr/bin/php /path/to/your/site/modules/retailcrm/job/sync.php | ||
``` | ||
|
||
#### Install via Admin interface. | ||
#####Единоразовая выгрузка архива клиентов и заказов в RetailCRM | ||
|
||
|
||
Go to Modules -> Add module. After that upload your zipped module and activate it. | ||
``` | ||
/usr/bin/php /path/to/your/site/modules/retailcrm/job/export.php | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.