1
0
mirror of synced 2024-11-29 08:46:09 +03:00

At now articles load from Product InfoBlock

This commit is contained in:
Grisha Pomadchin 2013-09-02 17:51:12 +04:00
parent d02d4a9f1a
commit fbddb65f37

View File

@ -220,7 +220,7 @@ class ICMLLoader {
$arOffer['PREVIEW_PICTURE'] = $product["PREVIEW_PICTURE"]; $arOffer['PREVIEW_PICTURE'] = $product["PREVIEW_PICTURE"];
$arOffer['PRODUCT_NAME'] = $product["NAME"]; $arOffer['PRODUCT_NAME'] = $product["NAME"];
if (isset($this->articleProperties[$id])) if (isset($this->articleProperties[$id]))
$arOffer['ARTICLE'] = $arOffer["PROPERTY_" . $this->articleProperties[$id] . "_VALUE"]; $arOffer['ARTICLE'] = $product["PROPERTY_" . $this->articleProperties[$id] . "_VALUE"];
$dbPrice = GetCatalogProductPrice($arOffer["ID"],1); $dbPrice = GetCatalogProductPrice($arOffer["ID"],1);
$arOffer['PRICE'] = $dbPrice['PRICE']; $arOffer['PRICE'] = $dbPrice['PRICE'];