Merge branch 'exportICMLSize' of github.com:intarocrm/bitrix-module into fullExport
This commit is contained in:
commit
296c7a82c1
@ -281,6 +281,7 @@ class ICMLLoader {
|
|||||||
|
|
||||||
// Compile products to array
|
// Compile products to array
|
||||||
$products[$product['ID']] = $product;
|
$products[$product['ID']] = $product;
|
||||||
|
$products[$product['ID']]['offers'] = array();
|
||||||
|
|
||||||
$detailPicture = intval($product["DETAIL_PICTURE"]);
|
$detailPicture = intval($product["DETAIL_PICTURE"]);
|
||||||
$previewPicture = intval($product["PREVIEW_PICTURE"]);
|
$previewPicture = intval($product["PREVIEW_PICTURE"]);
|
||||||
@ -399,10 +400,6 @@ class ICMLLoader {
|
|||||||
|
|
||||||
foreach ($product['offers'] as $offer) {
|
foreach ($product['offers'] as $offer) {
|
||||||
|
|
||||||
if ($product["ID"] == 33)
|
|
||||||
{
|
|
||||||
$a = 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
$offer['PRODUCT_ID'] = $product["ID"];
|
$offer['PRODUCT_ID'] = $product["ID"];
|
||||||
$offer['DETAIL_PAGE_URL'] = $product["DETAIL_PAGE_URL"];
|
$offer['DETAIL_PAGE_URL'] = $product["DETAIL_PAGE_URL"];
|
||||||
|
Loading…
Reference in New Issue
Block a user