E
E
Evgeny Blinkov2019-01-31 08:38:45
1C-Bitrix
Evgeny Blinkov, 2019-01-31 08:38:45

How to display a link to a product category on the product page on Bitrix?

My product is bitrix::catalog.element
Category - this is my Desktop - Content - Catalogs - Entrance doors - Catalog of entrance doors - and here there are 4 categories. You need to display a link to the category in which the product is located on the page of this product. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Blinkov, 2019-01-31
@eblinkoff

Like this:

<a href="<?=$arResult['SECTION']['SECTION_PAGE_URL']?>"><?=$arResult['SECTION']['NAME']?></a>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question