1
0
mirror of synced 2025-01-19 17:31:43 +03:00

Fix ICML Loading

This commit is contained in:
m.korolev 2014-01-30 12:26:37 +04:00
parent af06a1decd
commit 98ad65413c

View File

@ -281,7 +281,8 @@ class ICMLLoader {
// Compile products to array
$products[$product['ID']] = $product;
$products[$product['ID']]['offers'] = array();
$detailPicture = intval($product["DETAIL_PICTURE"]);
$previewPicture = intval($product["PREVIEW_PICTURE"]);
@ -399,10 +400,6 @@ class ICMLLoader {
foreach ($product['offers'] as $offer) {
if ($product["ID"] == 33)
{
$a = 10;
}
$offer['PRODUCT_ID'] = $product["ID"];
$offer['DETAIL_PAGE_URL'] = $product["DETAIL_PAGE_URL"];