Answer the question
In order to leave comments, you need to log in
How to properly set up the CNC for a catalog?
Good afternoon.
There is a directory structure in IB:
- Section 1
---- Section 1.1
-------- Element 1.1.1
-------- Element 1.1.2
---- Section 1.2
----- --- Element 1.2.1
- Section 2
---- Section 2.1 The
complex CNC catalog component is used:
"SEF_URL_TEMPLATES" => Array(
"element"=>"#SECTION_CODE#/#ELEMENT_CODE#/",
"section"=>"#SECTION_CODE#/",
"sections"=>"",
"smart_filter"=>"#SECTION_CODE#/filter/#SMART_FILTER_PATH#/apply/"
),
"INCLUDE_SUBSECTIONS" => "Y",
Answer the question
In order to leave comments, you need to log in
You need to set the main section for the elements. See https://dev.1c-bitrix.ru/learning/course/?COURSE_I...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question