Answer the question
In order to leave comments, you need to log in
How to sort in the catalog in Bitrix after filtering with a smart filter?
Good afternoon!
I came across a site where the products in the catalog are filtered by a smart filter, and the elements are sorted through a get request, which resets the filtering results. And I need to make it possible to sort the filtered products after filtering.
How to do? Bitrix js methods are not strong .....
probably you need to make a link like in pagination
<a href="/catalogue/gibkaya_cherepica/gibkaya_cherepica_docke/?set_filter=y&arFilter_264_2844520188=Y&arFilter_264_1346713251=Y&arFilter_264_359949495=Y&arFilter_264_658638389=Y&arFilter_264_3106313110=Y&PAGEN_1=2" onclick="BX.ajax.insertToNode('/catalogue/gibkaya_cherepica/gibkaya_cherepica_docke/?set_filter=y&arFilter_264_2844520188=Y&arFilter_264_1346713251=Y&arFilter_264_359949495=Y&arFilter_264_658638389=Y&arFilter_264_3106313110=Y&PAGEN_1=2&bxajaxid=59770eb4f13ff6df79bb554a2b181a9c', 'comp_59770eb4f13ff6df79bb554a2b181a9c'); return false;" data-num="2" class="">2</a>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question