Answer the question
In order to leave comments, you need to log in
How to insert a photo from another Bitrix infoblock?
It is not possible to add the output of a property of type "anchor to item" with the name UF_TOVAR to the "Item detail" template. Link to another infoblock ID=11, MORE_PHOTO file type property.
Answer the question
In order to leave comments, you need to log in
according to example 1 dev.1c-bitrix.ru/api_help/iblock/classes/ciblockel...
<?
CModule::IncludeModule("iblock");
$arSelect = Array("ID", "NAME", "PREVIEW_PICTURE");
$arFilter = Array("IBLOCK_ID"=>10, "ACTIVE"=>"Y", "PROPERTY_UF_TOVAR"=>11);
$res = CIBlockElement::GetList(Array(), $arFilter, false, Array("nPageSize"=>3), $arSelect);
while($ob = $res->GetNextElement())
{
$arFields = $ob->GetFields();
echo '';
print_r($arFields);
echo '';
}
?>
doesn't work at all
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question