$el = new CIBlockElement;
$arLoadProductArray = Array(
"MODIFIED_BY" => $USER->GetID(), // элемент изменен текущим пользователем
"IBLOCK_SECTION" => $arIBlockElement[IBLOCK_SECTION_ID],
"IBLOCK_ID" => $arIBlockElement[IBLOCK_ID],
"ACTIVE" => "Y", // активен
"PREVIEW_PICTURE" => CFile::MakeFileArray("/my/logos/7.jpg")
);
$PRODUCT_ID = $arIBlockElement[ID];
$res = $el->Update($PRODUCT_ID, $arLoadProductArray); |