I
I
IliaMal2020-05-19 09:03:01
1C-Bitrix
IliaMal, 2020-05-19 09:03:01

How to make bitrix:catalog.section process the CNCs I need?

Hello.

bitrix:catalog has the following url patterns:

"SEF_URL_TEMPLATES" => Array(
      "compare"=>"compare/",
      "element"=>"#ELEMENT_CODE#",
      "section"=>"#SECTION_CODE#/",
      "sections"=>"",
      "smart_filter"=>"#SECTION_CODE#/filter/#SMART_FILTER_PATH#/apply/"),

everything works well, except for handling brands.
It is necessary for me that the url of the /furniture/brend directory would be given to section.php, and there I will already set up the filter? but these requests fly away to sections.php
I tried to change
...
 "section"=>"#SECTION_CODE#/#BRAND#",
...

did not help.

How to solve the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IvanMogilev, 2020-05-19
@IliaMal

In the infoblock settings, make similar settings, and just in case, rewrite the processing rules

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question