$arOrder = Array("NAME"=>"ASC");
$arFilter = Array("IBLOCK_ID"=>$arParams["IBLOCK_GOODS"],"ACTIVE"=>"Y");
$arGroupBy = false;
$arNavStartParams = false;
$arSelectedFields = false;
$ItemsList = CIBlockElement::GetList($arOrder,$arFilter,$arGroupBy,$arNavStartParams,$arSelectedFields);
while($Items = $ItemsList->GetNextElement()) {
$arItems[] = Array(
"INGREDIENTS"=>$Items->GetProperty("INGREDIENTS"),
"SEC_SITE"=>$Items->GetProperty("SEC_SITE"),
"CML2_TRAITS"=>$Items->GetProperty("CML2_TRAITS"),
);
} |