Answer the question
In order to leave comments, you need to log in
How to display the name of the section in the catalog search results?
The situation is this: I did a search for goods in the catalog. The catalog has different sections (sofas, kitchens, etc.). In the template I see the entry:
$rowItems = array_splice($arResult['ITEMS'], 0, $rowData['COUNT']);
and I think that this is how the grouping into sections occurs, well, it seems that elements of one section fall into each ROW, then they are sorted out, then the next ROW. On closer examination, it turned out not to be the case. Tell me, how can I group the elements into sections myself so that I can display the name of the section before each group in the list? Thanks
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question