Answer the question
In order to leave comments, you need to log in
How to combine 2 get requests?
Hello.
Site on bitrix.
There are two menus: grouping and sorting, you can select one first, then the other.
In the link menu, like:
?sorter=name (by name)
?
groupper=brand (by manufacturer
)
name&groupper=brand.
Thanks in advance for your reply.
Answer the question
In order to leave comments, you need to log in
Add your parameters to the array, combine with the common GET and form the address.
<a href="/?<?=http_build_query(array_merge($_GET, array("sorter" => "name")));?>">
Сортировка по наименованию
</a>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question