A
A
alexander_chn2017-06-04 21:02:45
1C-Bitrix
alexander_chn, 2017-06-04 21:02:45

Why is the infoblock property not displayed in Bitrix?

Hello everybody!
In a cycle I writeforeach ($arResult['ITEMS'] as $key => $arItem)

echo $arItem['DISPLAY_PROPERTIES']['ATT_OLDPRICE']['DISPLAY_VALUE'];

to display the infoblock property - ATT_OLDPRICE. tried changing DISPLAY_VALUE to just VALUE - doesn't work.
A little higher in the code echo $arItem['DISPLAY_PROPERTIES']['AKCIA']['NAME']; - share and other properties. What could be the snag?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Savrasov, 2017-06-24
@alcorn

In the component settings, you must specify the properties involved in the selection for the detailed page and for the list of elements.
Or use instead of DISPLAY_PROPERTIES PROPERTIES and instead of DISPLAY_VALUE VALUE

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question