{* Template: search.html Description: This template handles the search results Author: 1260 A/S, @1260-digital Since: 2022-09-01 *}> <{capture name="title"}> <{if $count > 0}> <{t section="Search" x=$get.search y=$count}>Search results for '{x}': {y} results<{/t}> <{else}> <{t section="Search" x=$get.search y=$count}>Search results for '{x}': {y} results<{/t}> <{/if}> <{/capture}> <{if $settings.integrations.clerk_replace_search}> Filters <{else}> <{t section="Search" x=$get.search}>Search results for ‘{x}’<{/t}> <{t section="Search" x=$count}>Showing {x} results<{/t}> <{if $count > 0}> <{t}>Products<{/t}> <{if $products}> <{assign var="counter" value=0}> <{section name="i" loop=$products}> <{math assign="counter" equation="x+1" x=$counter}> <{include file="components/product-card.html" product=$products[i] show_add_to_cart="true" }> <{/section}> <{else}> <{t}>We did not find any products<{/t}> <{/if}> <{t}>Categories<{/t}> <{if $categories}> <{section name="i" loop=$categories}> <{assign var="images" value=$categories[i]->getImages()}> <{$categories[i]->getName()|escape}> <{/section}> <{else}> <{t}>We did not find any categories<{/t}> <{/if}> <{t}>Lists<{/t}> <{if $landing_pages}> <{section name="i" loop=$landing_pages}> <{assign var="images" value=$landing_pages[i]->getImages()}> <{$landing_pages[i]->getName()|escape}> <{/section}> <{else}> <{t}>We did not find any articles<{/t}> <{/if}> <{/if}> <{/if}>
<{t section="Search" x=$count}>Showing {x} results<{/t}>
We did not find any products
We did not find any categories
We did not find any articles