Answer the question
In order to leave comments, you need to log in
Bitrix, display product properties?
The question is how to make a filter from certain property values?
$db_enum_list = CIBlockProperty::GetPropertyEnum('SOSTAV', Array("SORT" => "asc"), Array("IBLOCK_ID" => 8));
//code
Answer the question
In order to leave comments, you need to log in
GetPropertyEnum returns options for the PROP_NAME property value of the list type,
you need to use CIBlockElement::GetPropertyValuesArray and specify the category you need in the filter
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question