1
0
mirror of synced 2024-11-22 05:16:09 +03:00
This commit is contained in:
gorokh 2020-04-07 13:55:59 +03:00
parent d14a078804
commit fa207afd15

View File

@ -623,6 +623,8 @@ class RetailCrmICML
$offer .= "<price>" . $this->PrepareValue($arOffer['PRICE']) . "</price>\n";
if ($arOffer['PURCHASE_PRICE'] && $this->loadPurchasePrice) {
$offer .= "<purchasePrice>" . $this->PrepareValue($arOffer['PURCHASE_PRICE']) . "</purchasePrice>\n";
} else {
$offer .= "<purchasePrice>0</purchasePrice>\n";
}
foreach ($categories as $category) {
$offer .= "<categoryId>" . $category['ID'] . "</categoryId>\n";