Answer the question
In order to leave comments, you need to log in
How to transfer "Smart Filter" in Bitrix?
There was a problem with moving the Smart Filter, which is displayed through the bitrix:catalog component. This filter is displayed automatically on the right side of the include area along with the info block sections on how to display it on the included area of the general site template. Bitrix official technical support was unable to provide assistance in this matter.
Answer the question
In order to leave comments, you need to log in
Copy the smart filter component to your template.
Find the folder with the smart filter in your template (\templates\template_name
\components\bitrix\catalog.smart.filter\.default) open template.php
Find the div from which the layout of the smart filter starts and insert the wrapper
<?$this- >SetViewTarget("left_area");?>
Find the end of the smart filter layout and close the wrapper
<?$this->EndViewTarget("left_area");?>
Go to the place where you want to display the smart filter, for example in sidebar.php (or header.php) and call the wrapper in which we wrapped the smart filter
<?$APPLICATION->ShowViewContent("left_area")?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question