V
V
Vadim Timoshenko2019-10-30 21:06:49
1C-Bitrix
Vadim Timoshenko, 2019-10-30 21:06:49

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):
5db9d1387926c164202118.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yaroslav Alexandrov, 2019-10-31
@alexyarik

In new versions of Bitrix, property display is configured in the property settings
5dba81d941a4d974307351.png

J
Jupiter Max, 2019-10-30
@vardoLP

Does the infoblock itself have a PRICE property? Did you add it in settings?

M
Maxim Kirshin, 2019-10-30
@meowto16

Hello, write directly here this PRICE property. Should appear
5db9ecf2aeba5777923444.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question