Dmitry Korol 39e1684e7c Update for api version 4
* history additional functional
* fixed orders upload when customers data is empty and delivery data is empty
* orders update history
* product offers
* fix 5.3 compability
* retailcrm api v4
2016-08-29 15:59:19 +03:00

13 lines
387 B
PHP

<?php
$_SERVER['HTTPS'] = 1;
require(dirname(__FILE__) . '/../../../config/config.inc.php');
require(dirname(__FILE__) . '/../../../init.php');
require(dirname(__FILE__) . '/../bootstrap.php');
$job = new RetailcrmCatalog();
$data = $job->getData();
$icml = new RetailcrmIcml(Configuration::get('PS_SHOP_NAME'), _PS_ROOT_DIR_ . '/retailcrm.xml');
$icml->generate($data[0], $data[1]);