This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Search templates¶
Products¶
Catalog/listProductNode.html.twig
is used to display the content for a product.
The template has access to the catalogElement
containing all the data including price information.
Content items¶
For Content items that are not products, each Content Type has a separate line template for search.
The built-in templates are stored in Search/result/search_content_list
.
The templates are defined in the following configuration:
1 2 3 4 5 6 |
|
The templates have access to the Content item in the content
variable.