--- product_results: limit: {{theme_settings.searchpage_products_per_page}} --- {{inject 'categoryTree' forms.search.category_options}} {{inject 'searchProductsPerPage' theme_settings.searchpage_products_per_page}} {{#partial "head"}} {{#if pagination.product_results.previous}} {{/if}} {{#if pagination.product_results.next}} {{/if}} {{/partial}} {{#partial "page"}} {{> components/common/breadcrumbs breadcrumbs=breadcrumbs}}
{{!-- {{#if product_results.faceted_search_enabled}} {{/if}} --}}
{{#if forms.search.has_suggestions}}
{{#if forms.search.suggested_query}}
{{lang 'forms.search.did_you_mean'}} {{forms.search.suggested_query.query}} {{lang 'forms.search.refine'}}
{{#if result_count '===' 0}}

{{lang 'forms.search.your_search_for'}} "{{{sanitize forms.search.query}}}" {{lang 'forms.search.no_match'}}

{{/if}} {{/if}} {{#if category_results.length}}
{{lang 'forms.search.categories'}}
    {{#each category_results}}
  • {{#each this}} {{name}} {{#unless @last}} > {{/unless}} {{/each}}
  • {{/each}}
{{/if}} {{#if brand_results.length}}
{{lang 'forms.search.brand'}}
{{#each brand_results}} {{name}} {{#unless @last}}, {{/unless}} {{/each}}
{{/if}} {{#if result_count '===' 0}}
{{lang 'forms.search.suggestions.title'}}
  • {{lang 'forms.search.suggestions.line1'}}
  • {{lang 'forms.search.suggestions.line2'}}
  • {{lang 'forms.search.suggestions.line3'}}
{{/if}}
{{/if}}

{{{lang 'search.results.count' count=result_count search_query=(sanitize forms.search.query)}}}

{{> components/search/content-listing}}
{{> components/search/product-listing settings=../settings}}
{{{region name="search_below_content"}}}
{{/partial}} {{> layout/base}}