Initial commit: is_searchbar out of the box. v3.0.1
This commit is contained in:
27
is_searchbar/views/templates/front/search_result.tpl
Normal file
27
is_searchbar/views/templates/front/search_result.tpl
Normal file
@ -0,0 +1,27 @@
|
||||
<div class="search-result">
|
||||
{if $products}
|
||||
<div class="search-result__products row">
|
||||
{foreach from=$products item=$product}
|
||||
{include file="module:is_searchbar/views/templates/front/product.tpl"}
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
{if $moreResults}
|
||||
<div class="search-result__bottom">
|
||||
<a href="{$moreResults}" class="btn btn-block btn-outline-secondary btn-sm">
|
||||
{l
|
||||
s='Show the remaining %qty% products'
|
||||
sprintf=[
|
||||
'%qty%' => $moreResultsCount
|
||||
]
|
||||
d='Modules.Issearchbar.Searchresult'
|
||||
}
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{else}
|
||||
<div class="search-result__not-result">
|
||||
{l s='There are no matching results' d='Modules.Issearchbar.Searchresult'}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
Reference in New Issue
Block a user