From fa207afd1549cc891a5c644b05ea2f3689b79318 Mon Sep 17 00:00:00 2001 From: gorokh Date: Tue, 7 Apr 2020 13:55:59 +0300 Subject: [PATCH] issues #92 --- intaro.retailcrm/classes/general/icml/RetailCrmICML.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/intaro.retailcrm/classes/general/icml/RetailCrmICML.php b/intaro.retailcrm/classes/general/icml/RetailCrmICML.php index f8ec28d4..6c595b15 100644 --- a/intaro.retailcrm/classes/general/icml/RetailCrmICML.php +++ b/intaro.retailcrm/classes/general/icml/RetailCrmICML.php @@ -623,6 +623,8 @@ class RetailCrmICML $offer .= "" . $this->PrepareValue($arOffer['PRICE']) . "\n"; if ($arOffer['PURCHASE_PRICE'] && $this->loadPurchasePrice) { $offer .= "" . $this->PrepareValue($arOffer['PURCHASE_PRICE']) . "\n"; + } else { + $offer .= "0\n"; } foreach ($categories as $category) { $offer .= "" . $category['ID'] . "\n";