Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question