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";