A
A
Ainur Valiev2019-07-18 19:41:38
1C-Bitrix
Ainur Valiev, 2019-07-18 19:41:38

How to combine smart filter and catalog sorting in Bitrix?

When choosing a property in a smart filter, and then sorting, the catalog is stupidly sorted (eg by price), and the filtering fails. On the contrary, everything works.
PS
Karoch, my fault. The question was not entirely correct. Initially, I customized a smart filter for this article. https://phpjs.ru/2018/11/14/bitrix-smart-filter-cr...
But there it was necessary to add a replacement for the lower. underscores on %20

$encodedValue = str_replace('_', '%20', $encodedValue);

I apologize if I misled anyone.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question