From 81737b4df3bea86243170bf11568f0e12ed25b3f Mon Sep 17 00:00:00 2001 From: gorokh Date: Fri, 13 Dec 2019 12:43:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B5=20=D0=B2=D1=8B=D0=B3=D1=80=D1=83?= =?UTF-8?q?=D0=B6=D0=B0=D1=82=D1=8C=20=D0=B0=D0=BA=D1=86=D0=B8=D0=BE=D0=BD?= =?UTF-8?q?=D0=BD=D1=8B=D0=B5=20=D1=86=D0=B5=D0=BD=D1=8B=20=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BD=D1=8B=D0=B5=20=D0=BD=D1=83=D0=BB=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/upload/admin/model/extension/retailcrm/prices.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/upload/admin/model/extension/retailcrm/prices.php b/src/upload/admin/model/extension/retailcrm/prices.php index ab4331c..1f19995 100644 --- a/src/upload/admin/model/extension/retailcrm/prices.php +++ b/src/upload/admin/model/extension/retailcrm/prices.php @@ -129,6 +129,9 @@ private function getPriceRequest($product, $site, $productPrice) $price = array(); foreach($productPrice as $k => $v) { + if (isset($v['price']) && ($v['price'] + $optionsValues['price'] == 0)) { + continue; + } if (isset($this->settings[$this->moduleTitle . '_special_' . $k])) { $price[] = array(