G
G
Good Samaritan2017-09-20 10:38:56
1C-Bitrix
Good Samaritan, 2017-09-20 10:38:56

How to pass a link from the catalog.section.list component template to the catalog.element component?

I have a list of elements under each section in the component template. the element link should lead to detail.php where I have the catalog.element component. How do I pass a link to the catalog.element component

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Tupikov, 2017-09-20
@2amedia

the link should be $arItem['DETAIL_PAGE_URL'], where $arItem is an array of a particular product from the section.
If you have CNC enabled, then there should not be any detail.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question