Answer the question
In order to leave comments, you need to log in
Bitrix smart filter leads to the page - "Section not found" - how to fix it?
I made a catalog avrora-online.ru/catalog/, it has a smart filter, but when you click the show button, it takes you to the page avrora-online.ru/catalog/filter/clear/apply - where it says "Section not found" - like fix it?
Answer the question
In order to leave comments, you need to log in
This is because the catalog component does not understand that this particular CNC is the parameters of the smart.filter component, and not a link to some section.
It is necessary to look in the parameters of the catalog component. And specifically in the templates that form the URL. There is a URL pattern for smart.filter that shows where it gets parameters from.
This can be done through the "component setup", or you can look at the code. In catalog/index.php there should be a call to the catalog component and there you should look for this among the parameters. And set in accordance with your CNC.
"SEF_URL_TEMPLATES" =>
Array(
//...что то там....
"smart_filter"=>"#SECTION_CODE_PATH#/filter/#SMART_FILTER_PATH#/apply/",
//...что то ещё...
),
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question