G
G
Good Samaritan2017-09-20 10:44:05
1C-Bitrix
Good Samaritan, 2017-09-20 10:44:05

How to pass element id from catalog.section.list to catalog.element?

In my catalog.section.list, elements are also displayed under each section. The link in the element should lead to catalog.elemnt. How to pass element id to catalog.element component?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Emelyanov, 2017-09-20
@babarun

If I interpreted the question correctly, do you have both components on the same page? Then simply specify the id for the catalog.element component in the settings

I
IJIL, 2017-09-22
@IJIL

There is no need to reinvent the wheel, in the infoblock settings you can configure the output of links for the element.

O
Ogureccc, 2019-02-15
@Ogureccc

There is no decision? References to the element are NNC, by character codes, but the codes of some products are repeated, $arResult["VARIABLES"]["ELEMENT_ID"] which is passed to catalog.element is empty

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question