Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CModule::IncludeModule('iblock');
- global $USER;
- $uID = $USER->GetID();
- $el = new CIBlockElement;
- $res = CIblockElement::GetList(array(),array('IBLOCK_ID' => 12, 'ACTIVE' => 'Y', 'CATALOG_AVAILABLE' => 'N'), false, false, array('ID'));
- $arLoadProductArray = Array(
- );
- while($ob = $res->GetNext())
- {
- print_r($el->Update($ob['ID'], $arLoadProductArray));
- echo $ob['ID'];
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement