I
I
I'm Yoda2018-03-12 03:43:55
1C-Bitrix
I'm Yoda, 2018-03-12 03:43:55

How to filter products on the product detail page?

Hello connoisseurs!
On the detailed product page , using the API, I display products selected by certain properties. Everything is fine, everything is displayed. But since the result_modifier is loaded before the template, the GET request cannot be sent to it and, accordingly, the $arFilter array cannot be changed! The question is, how can these products be filtered, for example, through a GET request? So that you can filter these products by the link for example /catalog/platy/pechatnaya-plata-big-size-1366/?destination=small-size . Share good advice!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2018-03-12
@gangstarcj

As an option, process the request in the detail.php file in which the bitrix.catalog.detail component is called and pass the necessary parameters to this component

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question