Answer the question
In order to leave comments, you need to log in
How to get the Bitrix ID of goods from the smart filter after the filter?
Hello!
Can you please tell me how to get the IDs of all the products that it found after the applied filtering from the Bitrix catalog.smart.filter component?
I need to pass this list of IDs when calling another component to the filter.
I want a rational and beautiful solution, because I'm almost sure that it exists.
After all, don't process the GET request again.
Help, please, not to slide into bydlokod.
Thanks in advance to everyone for any help!
Answer the question
In order to leave comments, you need to log in
In the filter connection parameters, pass the FILTER_NAME parameter
<?$result = $APPLICATION->IncludeComponent(
"bitrix:catalog.smart.filter",
"",
Array(
//другие параметры
"FILTER_NAME" => "arrFilter",
)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question