Save
This commit is contained in:
@@ -11,9 +11,8 @@
|
||||
|
||||
{capture name=path}{l s='Search' mod='leoproductsearch'}{/capture}
|
||||
|
||||
<h1
|
||||
{if isset($instant_search) && $instant_search}id="instant_search_results"{/if}
|
||||
class="page-heading {if !isset($instant_search) || (isset($instant_search) && !$instant_search)} product-listing{/if}">
|
||||
<h1 {if isset($instant_search) && $instant_search}id="instant_search_results" {/if}
|
||||
class="page-heading 1 {if !isset($instant_search) || (isset($instant_search) && !$instant_search)} product-listing{/if}">
|
||||
{l s='Search' mod='leoproductsearch'}
|
||||
{if $nbProducts > 0}
|
||||
<span class="lighter">
|
||||
@@ -30,7 +29,7 @@
|
||||
</span>
|
||||
{/if}
|
||||
</h1>
|
||||
|
||||
|
||||
{if !$nbProducts}
|
||||
<p class="alert alert-warning">
|
||||
{if isset($search_query) && $search_query}
|
||||
@@ -47,18 +46,18 @@
|
||||
{if $nbProducts == 1}{l s='%d result has been found.' sprintf=[$nbProducts|intval] mod='leoproductsearch'}{else}{l s='%d results have been found.' sprintf=[$nbProducts|intval] mod='leoproductsearch'}{/if}
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
|
||||
<section id="products">
|
||||
<div id="">
|
||||
{block name='product_list_top'}
|
||||
{include file='catalog/_partials/products-top.tpl' listing=$search_products}
|
||||
{/block}
|
||||
{block name='product_list_top'}
|
||||
{include file='catalog/_partials/products-top.tpl' listing=$search_products}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
{block name='product_list_active_filters'}
|
||||
<div id="" class="hidden-sm-down">
|
||||
{$search_products.rendered_active_filters nofilter}
|
||||
</div>
|
||||
<div id="" class="hidden-sm-down">
|
||||
{$search_products.rendered_active_filters nofilter}
|
||||
</div>
|
||||
{/block}
|
||||
<div id="">
|
||||
{block name='product_list'}
|
||||
@@ -66,6 +65,11 @@
|
||||
{/block}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
|
||||
{if !$nbProducts}
|
||||
|
||||
{/if}
|
||||
{/block}
|
||||
Reference in New Issue
Block a user