Answer the question
In order to leave comments, you need to log in
1C-Bitrix. How to sort products by price (ascending/descending)?
Good afternoon. Can you please tell me how to sort products by price (ascending/descending)?
Are there any examples?
Interested in the implementation of the example, let's say Citylink
Thanks in advance for the answers!
Answer the question
In order to leave comments, you need to log in
For the component catalog.section
Parameters
"ELEMENT_SORT_FIELD" => $_SESSION['sort'] ? $_SESSION['sort'] : $arParams["ELEMENT_SORT_FIELD"],
"ELEMENT_SORT_ORDER" => $_SESSION['order'] ? $_SESSION['order'] : $arParams["ELEMENT_SORT_ORDER"],
"ELEMENT_SORT_FIELD2" => $arParams["ELEMENT_SORT_FIELD2"],
"ELEMENT_SORT_ORDER2" => $arParams["ELEMENT_SORT_ORDER2"],
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question