W
W
wagwandude2018-04-11 16:24:48
1C-Bitrix
wagwandude, 2018-04-11 16:24:48

How to filter all products?

Hello.
Please tell me how to do the following: when you click on the button, a session is recorded and all the products of the site (including "The Essentials", "Popular", "News", "Promotions", etc.) are filtered, for example, by category, but at the same time, we navigate through all the pages of the site as if nothing had happened.
Is it possible to filter all products on the site by the required parameter without editing all templates?
Most likely there is a certain method in the global class that selects goods, and all widgets and modules inherit it for issuance - I think using session conditions to forcibly change the request for selection.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2018-04-11
@gangstarcj

Write the filter to the session. Use a filter in every component.
There is no global class

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question