issues #92
This commit is contained in:
parent
d14a078804
commit
fa207afd15
@ -623,6 +623,8 @@ class RetailCrmICML
|
|||||||
$offer .= "<price>" . $this->PrepareValue($arOffer['PRICE']) . "</price>\n";
|
$offer .= "<price>" . $this->PrepareValue($arOffer['PRICE']) . "</price>\n";
|
||||||
if ($arOffer['PURCHASE_PRICE'] && $this->loadPurchasePrice) {
|
if ($arOffer['PURCHASE_PRICE'] && $this->loadPurchasePrice) {
|
||||||
$offer .= "<purchasePrice>" . $this->PrepareValue($arOffer['PURCHASE_PRICE']) . "</purchasePrice>\n";
|
$offer .= "<purchasePrice>" . $this->PrepareValue($arOffer['PURCHASE_PRICE']) . "</purchasePrice>\n";
|
||||||
|
} else {
|
||||||
|
$offer .= "<purchasePrice>0</purchasePrice>\n";
|
||||||
}
|
}
|
||||||
foreach ($categories as $category) {
|
foreach ($categories as $category) {
|
||||||
$offer .= "<categoryId>" . $category['ID'] . "</categoryId>\n";
|
$offer .= "<categoryId>" . $category['ID'] . "</categoryId>\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user