Answer the question
In order to leave comments, you need to log in
How to display a "smart filter" immediately upon opening the page?
Comrades, please help!
There is a "Catalog" of Bitrix with a list of personnel, which I display with a "smart filter", but it does not appear immediately.
Initially, it is not displayed on the test.php page, when I click on the "red block" the path changes to "/test.php?SECTION_ID=1" and the "smart filter" I need appears.
The problem is the following, I need the "smart filter" to appear immediately when going to test.php, and not when going to "/test.php?SECTION_ID=1".
How to implement this feature?
Answer the question
In order to leave comments, you need to log in
In the standard template of the bitrix:catalog complex component, the smart filter component is included in the section_horizontal.php and section_vertical.php files, which in turn are responsible for displaying the section page.
When you visit /test.php, the complex component defines this page as a section list page (sections.php), which does not contain this component.
To make it appear on the section list page, you need to copy it there.
In order for it to work there, you will need to set the SHOW_ALL_WO_SECTION => Y parameter (and maybe SECTION_ID => 0, I don’t remember exactly)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question