<?
$elements = [];
$order = ['SORT' => 'ASC'];
$filter = ['IBLOCK_ID' => 27];
$rows = CIBlockElement::GetList($order, $filter);
while ($row = $rows->fetch()) {
$row['PROPERTIES'] = ["LINK_TOVAR"];
$elements[$row['ID']] =& $row;
unset($row);
}
CIBlockElement::GetPropertyValuesArray($elements, $filter['IBLOCK_ID'], $filter);
unset($rows, $filter, $order);
?>
<?=$arResult["PROPERTIES"]["LINK_TOVAR"]["VALUE"];?>