{extends file="layout.tpl"} {block name="init"} {if $smarty.get.query|default:'' eq ''} {redirect path="/"} {/if} {$product_count = {count type="product" title={$smarty.get.query|default:null}}} {$product_page={$smarty.get.page|default:1}} {$product_order={$smarty.get.order|default:'manual'}} {/block} {block name="body-class"}page-search{/block} {block name="css" append} {encore_entry_link_tags entry="category"} {/block} {block name="javascript" append} {encore_entry_script_tags entry="search"} {/block} {* Breadcrumb *} {block name='no-return-functions' append} {$breadcrumbs = [ ['title' => {intl l="Search"}, 'url'=>{url path="/search"}] ]} {/block} {block name="main-content"} {include file="components/smarty/BreadCrumb/BreadCrumb.html"}

{intl l="Search Result for"} {$smarty.get.query}

{$product_count} {if $product_count <= 1}{intl l="Item"}{else}{intl l="Items"}{/if}
{if $product_count >= 1} {/if}
{include file="components/smarty/CategoryProducts/CategoryProducts.html"}
{/block} {block name="css" append} {hook name="search.stylesheet"} {/block} {block name="after-javascript-include"} {hook name="search.after-javascript-include"} {/block} {block name="javascript-initialization"} {hook name="search.javascript-initialization"} {/block}