A
A
Andrey Bely2021-03-30 17:33:06
1C-Bitrix
Andrey Bely, 2021-03-30 17:33:06

Why doesn't catalog.section.list make it into the navigation chain?

Good afternoon everyone
There is a section on the client's site that uses 3 components:
1. catalog.section.list - to display the section with categories is on the index.php page
606330bec317b464208233.jpeg

2. catalog.section - to display the section elements is on the section.php page
606330dd5a569066392949.png

3 .catalog.element - for the detailed page of the element is located on the page element.php
606333f43c77c742349612.png

4. Infoblock settings
6063343273a50212143538.png

I need the name of the infoblock "Accommodation" to be included on all three pages in the navigation chain, please tell me something

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Gritsuk, 2021-03-31
@just_guy95

Before catalog.section.list or catalog.section , add a breadcrumb via the $APPLICATION->AddChainItem API. The standard catalog.section and catalog.section.list components do not add IB to breadcrumbs. They add information from sections and elements.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question