tcdl:itemsHeader
The <tcdl:itemsHeader> tag is used within the <tcdl:items> tag to defines a header section for content items returned by a query. Along with returning content items, a search query returns attributes containing information about the total number of items returned, the search alternatives, and the redirect URL that you can use in your code.
Syntax
<tcdl:itemsHeader>
<h2 class="title">Search results</h2>
<div class="search-result-totalitems">##ItemsTotalCount## items found.</div>
</tcdl:itemsHeader>
Search attributes
The following attributes are returned, along with promotions and promotional items, when a search query is executed:
ItemsTotalCount- Contains the total number of items for the executed search query.
SearchAlternatives- Contains the suggested search keywords that can be used as search alternatives for the search keyword used.
RedirectUrl- Contains the redirects URL for search keywords that have managed redirects defined in the Business Manager.