Answer the question
In order to leave comments, you need to log in
Why does the Bitrix smart filter not update its values in the form?
Good evening! Faced with a strange situation, maybe someone has already met with a similar one. There is a smart filter on the catalog page. Canceled the "SAVE_IN_SESSION" property - Save the filter settings in the user's session (without it, the form will be overwritten after submission) and "CACHE_TYPE" - N - Do not cache: there is no caching in any case.
For some reason, it happens that after the submit, the property is saved and not updated. Those. what properties he sent for the first time, he pulls those with him, ignoring attempts to change them. (Filtering by itself also follows the old request). The cache is disabled everywhere..
What could be the reason?
Answer the question
In order to leave comments, you need to log in
Most likely, you placed the filter component somewhere outside the catalog component. That's why there is a conflict, everything is saved in the session.
Try displaying the filter in the catalog file right before calling the bitrix:catalog.section component (for example, in section.php if you are using a complex component), and then go in incognito mode to check the filter operation (or log out, the session must be reset, in short) .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question