Answer the question
In order to leave comments, you need to log in
How to add a property to the component parameters in Bitrix?
I have a PRICE property. The properties of all elements are filled.
But it is not possible to display the property inside the loop . I check the array with print_r -> there is no PRICE property in the array.
I tried to add PRICE through [+] in the component settings. The element in the array appears but is empty.
The array contains only those properties that are in the properties in the component settings. Those that I have highlighted in red. How do I get the PRICE properties to also appear in the component's settings and eventually in the array?foreach($arResult["ITEMS"] as $arItem):
Answer the question
In order to leave comments, you need to log in
In new versions of Bitrix, property display is configured in the property settings
Does the infoblock itself have a PRICE property? Did you add it in settings?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question