From 8d4ae3bb8fae51f07eab705898095fef9752aeb1 Mon Sep 17 00:00:00 2001 From: Sergey Date: Thu, 24 Jan 2019 18:18:39 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=D0=B0?= =?UTF-8?q?=D1=87=D0=B8=20=D1=86=D0=B5=D0=BD=D1=8B=20=D0=B4=D0=BE=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +++ VERSION | 2 +- retailcrm/retailcrm.php | 5 +++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78a65e1..461943c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## v2.2.9 +* исправление передачи цены доставки в CRM + ## v2.2.9 * Добавлена выгрузка габаритов в специальный тег dimensions * Добавлена выгрузка остатков из CRM diff --git a/VERSION b/VERSION index 72d132f..565a0d4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.2.9 \ No newline at end of file +2.2.10 \ No newline at end of file diff --git a/retailcrm/retailcrm.php b/retailcrm/retailcrm.php index 248952c..6250729 100644 --- a/retailcrm/retailcrm.php +++ b/retailcrm/retailcrm.php @@ -3,7 +3,7 @@ * @author Retail Driver LCC * @copyright RetailCRM * @license GPL - * @version 2.2.9 + * @version 2.2.10 * @link https://retailcrm.ru * */ @@ -38,7 +38,7 @@ class RetailCRM extends Module { $this->name = 'retailcrm'; $this->tab = 'export'; - $this->version = '2.2.9'; + $this->version = '2.2.10'; $this->author = 'Retail Driver LCC'; $this->displayName = $this->l('RetailCRM'); $this->description = $this->l('Integration module for RetailCRM'); @@ -654,6 +654,7 @@ class RetailCRM extends Module $customer = array_merge($customer, $address['customer']); $order = array_merge($order, $address['order']); $comment = $params['order']->getFirstMessage(); + $order['delivery']['cost'] = $params['order']->total_shipping; if ($comment !== false) { $order['customerComment'] = $comment;