<{* Template: landing_page.html Description: This template handles the landing pages Author: 1260 A/S, @1260-digital Since: 2022-09-01 *}> <{capture name="title"}> <{$landing_page->getName()}> - <{$webshop->getName()}> <{/capture}>
<{include file="components/page-blocks.html"}>
<{include file="components/archive-header.html" template=$landing_page}> <{if $settings.categories.enable_filter && $products}>
<{include file="components/product-filter.html" template=$landing_page}>
<{/if}>
<{if $products}> <{if $get.atags || $get.brands || $get.categories || $get.sort }> <{assign var="hasInitialFilters" value=true}> <{else}> <{assign var="hasInitialFilters" value=false}> <{/if}>
    <{* Server-side rendered initial products *}> <{if ! $hasInitialFilters }> <{section name="i" loop=$products}>
  • <{include file="components/product-card.html" product=$products[i]}>
  • <{/section}> <{/if}> <{* Client-side rendered products *}>
<{else}>

<{t}>No products found<{/t}>

<{/if}>
<{include file="components/archive-footer.html" template=$landing_page}>