Installing the module in OpenCart
Copy the link to the article
Copied

First download the module from link. Next, unpack the archive and move the module files from the "Upload" folder to the root directory of the site.

In the administrative settings, open the "Modules/Extensions" section. In the list that opens, find the "RetailCRM" module and click on the "Activate" button.

After activating the module, access to editing will open.

On the edit page, specify the API version used, the system address (for example, https://demo.retailcrm.pro), and the API key created earlier.

Next, select the countries for which shipping of products will be available (required to synchronise delivery methods).

ICML Settings

Option “Upload services in ICML”. When enabled, all products for which delivery is disabled will be considered and uploaded to the System as services.

Note

Uploading services via ICML file is available from version 4.1.16.

The “Currency of products” field is intended to specify the currency in which the price will be uploaded in the ICML catalog.

The “Unit of measurement of products” field is intended to specify the unit of measurement in which products will be uploaded in the ICML catalog.

After entering all the necessary data, click on the "Save" button.

In the "References" tab, you must specify the correspondence between the values ​​of the reference books of the online store and the system (RetailCRM).

In the "By default" section, you can configure the payment and delivery methods that will be specified in the order when exporting from the system, if they have not already been selected.

Check if the system has the necessary reference values ​​corresponding to the reference books of the online store. You can add new values in the Data books section.

After saving the settings for matching data books, click on the "Upload customers and orders" button to upload existing orders and customers to the system.

If you want to immediately generate a catalogue to be uploaded to the system, click on the "Upload catalogue" button.

The product catalogue will be generated at http://yoursite.com/retailcrm.xml, (where 'yoursite.com' is the site address). The catalogue address must be inserted into the "URL of ICML file" field to synchronise the store catalogue with the system.

To automatically generate the catalogue, you need to add an entry to cron:

v3.x - * */4 * * * /usr/bin/php /path/to/opencart/system/cron/icml.php >>/path/to/opencart/system/storage/logs/cronjob_icml.log 2>&1

v4.x - * */4 * * * /usr/bin/php /path/to/opencart/system/library/retailcrm/cron/icml.php >>/path/to/opencart/system/storage/logs/cronjob_icml.log 2>&1

To get changes and new data from the system, add the following entry to cron:

v3.x - */5 * * * * /usr/bin/php /path/to/opencart/system/cron/history.php >>/path/to/opencart/system/storage/logs/cronjob_history.log 2>&1

v4.x - */5 * * * * /usr/bin/php /path/to/opencart/system/library/retailcrm/cron/history.php >>/path/to/opencart/system/storage/logs/cronjob_history.log 2>&1

To download promotion prices from the site, add the following entry to cron:

v3.x - 0 0 * * * /usr/bin/php /path/to/opencart/system/cron/prices.php >>/path/to/opencart/system/storage/logs/cronjob_prices.log 2>&1

v4.x - 0 0 * * * /usr/bin/php /path/to/opencart/system/library/retailcrm/cron/prices.php >>/path/to/opencart/system/storage/logs/cronjob_prices.log 2>&1

Note

After adding an entry to cron, set up the "Settings for exporting the promotion price" field, which will be located on the main tab of the administrative panel of OpenCart, where the mapping of the system's "Price type" databook is specified.

Thank you for your feedback.
Was this article helpful?
No
  • Рекомендации не помогли
  • Нет ответа на мой вопрос
  • Текст трудно понять
  • Не нравится описанный функционал
Yes
Previous article
Creating an online store in the system for a site on OpenCart
The process of creating a store and a key in the system for subsequent integration with the site.
Next article
Configuring Daemon Collector for a site on OpenCart
To interact with visitors on your site, you can configure a specialised system service - Daemon Collector.