This commit is contained in:
2025-08-07 21:17:15 +02:00
parent f36ca88abf
commit af479e7974
37 changed files with 72 additions and 55 deletions

View File

@@ -1,4 +1,4 @@
{*
{*
* @Module Name: Leo Product Search
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
@@ -9,11 +9,8 @@
{block name='content'}
{capture name=path}{l s='Search' mod='leoproductsearch'}{/capture}
<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'}&nbsp;
{if $nbProducts > 0}
<span class="lighter">
"{if isset($search_query) && $search_query}{$search_query|escape:'html':'UTF-8'}{elseif $search_tag}{$search_tag|escape:'html':'UTF-8'}{elseif $ref}{$ref|escape:'html':'UTF-8'}{/if}"
@@ -25,7 +22,13 @@
</a>
{else}
<span class="heading-counter">
{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}
{if $nbProducts == 1}
{l s='%d produkt został znaleziony.' sprintf=[$nbProducts|intval] mod='leoproductsearch'}
{elseif $nbProducts > 1 && $nbProducts < 5}
{l s='%d produkty zostały znalezione.' sprintf=[$nbProducts|intval] mod='leoproductsearch'}
{else}
{l s='%d produktów zostało znalezionych.' sprintf=[$nbProducts|intval] mod='leoproductsearch'}
{/if}
</span>
{/if}
</h1>