P
P
photosho2017-05-19 11:18:39
1C-Bitrix
photosho, 2017-05-19 11:18:39

Is it possible to use a catalog template for search output?

If the search result template is the same as the catalog item template, is there any way to use the "catalog.section" template for the "search.page" page? The template is complex, with a bunch of checks and markup, I would not want to just duplicate it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bx-coder, 2017-05-19
@photosho

If you display only products in the search, then this should help. In fact, inside this component is the search component and catalog.section
The only thing is that the products will be displayed sorted without regard to relevance.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question