D
D
Denis2020-01-24 11:15:38
1C-Bitrix
Denis, 2020-01-24 11:15:38

Output of bitrix catalog properties how to set up?

We set up the bitrix catalog component. It has a detailed view of each element, and a preview of all elements in the list. Let's add our label property for example. We look at the arResult array in the detailed view; this property is present in the array, but not in the preview view. How to set up to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Kirshin, 2020-01-24
@meowto16

Hello, in the component parameters, specify the property.
You need to specify your property in LIST_PROPERTY_CODE. Example:

"LIST_PROPERTY_CODE" => array(
            0 => "LABEL"
        ),

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question