D
D
DenPolosin2018-04-05 09:39:12
1C-Bitrix
DenPolosin, 2018-04-05 09:39:12

How to get the path specified in the breadcrumb?

You need to get the path indicated in the breadcrumb, but the product has several categories in Bitrix, so it was not possible to understand which of the categories is the main one. How can you get it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2018-04-05
@Rema1ns

In Bitrix there is no concept of the main category or not the main one, there are nesting levels.
If the chain is formed, then you can get an array of elements from$APPLICATION->arAdditionalChain

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question