$db_res = CCatalogProduct::GetList(
array("ID" => "ASC"),
['IBLOCK_ID' => $arParams['IBLOCK_IDY']]
);
while (($ar_res = $db_res->Fetch())) {
$arProducts[] = CIBlockElement::GetByID($ar_res["ID"])->GetNextElement()->GetFields();
}