Часть кода которую добавил в дефолтный шаблон битрикс:
<ul class="element">
<? if(CModule::IncludeModule("iblock"))
{
$items = GetIBlockElementList(7, $arSection["ID"], Array("SORT"=>"date"), 4);
while($arItem = $items->GetNext())
{?>
<li>
<a href="
<!-- ПЕРВЫЙ СПОСОБ --!>
<? if ($arItem['PROPERTIES']['ATT_ARTICUL'])
{?>
<? echo $arItem['PROPERTIES']['ATT_ARTICUL']['~VALUE'];?>
<? }
?>
<!-- ВТОРОЙ СПОСОБ --!>
<? echo $arResult['DISPLAY_PROPERTIES']['ATT_ARTICUL']['DISPLAY_VALUE'];?>
" target=_blank"> <img src="<? echo CFile::GetPath($arItem["PREVIEW_PICTURE"]);?>"/> <span><? echo $arItem["NAME"] ;?></span>
</a>
</li>
<?}?>
<?}?>
</ul>
Код компонента:
<?$APPLICATION->IncludeComponent(
"bitrix:catalog.section.list",
"catalog_razdelov_lamps",
Array(
"ADD_SECTIONS_CHAIN" => "Y",
"CACHE_GROUPS" => "Y",
"CACHE_TIME" => "36000000",
"CACHE_TYPE" => "A",
"COMPONENT_TEMPLATE" => "catalog_razdelov_lamps",
"COUNT_ELEMENTS" => "Y",
"HIDE_SECTION_NAME" => "N",
"IBLOCK_ID" => "7",
"IBLOCK_TYPE" => "catalog",
"PROPERTY_CODE" => array(0=>"ATT_ARTICUL",),
"SECTION_CODE" => "",
"SECTION_FIELDS" => array(0=>"ID",1=>"CODE",2=>"NAME",3=>"DESCRIPTION",4=>"",),
"SECTION_ID" => "SECTION_ID",
"SECTION_URL" => "#SECTION_ID#",
"SECTION_USER_FIELDS" => array(0=>"UF_CLASS",1=>"UF_HIDE",2=>"ATT_ARTICUL",3=>"",),
"SHOW_PARENT_NAME" => "Y",
"TOP_DEPTH" => "5",
"VIEW_MODE" => "LIST"
)
);?>