{block name="frontend_index_start"}{/block} {block name="frontend_index_doctype"} {/block} {block name='frontend_index_html'} {/block} {block name='frontend_index_header'} {include file='frontend/index/header.tpl'} {/block} {block name='frontend_index_after_body'}{/block} {block name="frontend_index_page_wrap"}
{* Message if javascript is disabled *} {block name="frontend_index_no_script_message"} {/block} {block name='frontend_index_before_page'}{/block} {* Shop header *} {block name='frontend_index_navigation'}
{* Include the top bar navigation *} {block name='frontend_index_top_bar_container'} {include file="frontend/index/topbar-navigation.tpl"} {/block} {block name='frontend_index_header_navigation'}
{* Logo container *} {block name='frontend_index_logo_container'} {include file="frontend/index/logo-container.tpl"} {/block} {* Shop navigation *} {block name='frontend_index_shop_navigation'} {include file="frontend/index/shop-navigation.tpl"} {/block} {block name='frontend_index_container_ajax_cart'}
{/block}
{/block}
{* Maincategories navigation top *} {block name='frontend_index_navigation_categories_top'} {/block} {/block} {block name='frontend_index_emotion_loading_overlay'} {if $hasEmotion}
{/if} {/block} {block name='frontend_index_content_main'}
{* Breadcrumb *} {block name='frontend_index_breadcrumb'} {if count($sBreadcrumb)} {/if} {/block} {* Content top container *} {block name="frontend_index_content_top"}{/block}
{* Cookie consent manager*} {block name='frontend_index_cookie_consent_manager'} {include file='frontend/index/cookie_consent.tpl'} {/block} {* Sidebar left *} {block name='frontend_index_content_left'} {include file='frontend/index/sidebar.tpl'} {/block} {* Main content *} {block name='frontend_index_content_wrapper'}
{block name='frontend_index_content'}{/block}
{/block} {* Sidebar right *} {block name='frontend_index_content_right'}{/block} {* Last seen products *} {block name='frontend_index_left_last_articles'} {if $sLastArticlesShow && !$isEmotionLandingPage} {* Last seen products *}
{s namespace="frontend/plugins/index/viewlast" name='WidgetsRecentlyViewedHeadline'}{/s}
{/if} {/block}
{/block} {* Footer *} {block name="frontend_index_footer"} {/block} {block name='frontend_index_body_inline'}{/block}
{/block} {* If required add the cookiePermission hint *} {block name='frontend_index_cookie_permission'} {if {config name="show_cookie_note"}} {include file="frontend/_includes/cookie_permission_note.tpl"} {/if} {/block} {block name="frontend_index_header_javascript"} {$controllerData = [ 'vat_check_enabled' => {config name='vatcheckendabled'}, 'vat_check_required' => {config name='vatcheckrequired'}, 'register' => {url controller="register"}, 'checkout' => {url controller="checkout"}, 'ajax_search' => {url controller="ajax_search" _seo=false}, 'ajax_cart' => {url controller='checkout' action='ajaxCart' _seo=false}, 'ajax_validate' => {url controller="register" _seo=false}, 'ajax_add_article' => {url controller="checkout" action="addArticle" _seo=false}, 'ajax_listing' => {url module="widgets" controller="listing" action="listingCount" _seo=false}, 'ajax_cart_refresh' => {url controller="checkout" action="ajaxAmount" _seo=false}, 'ajax_address_selection' => {url controller="address" action="ajaxSelection" fullPath _seo=false}, 'ajax_address_editor' => {url controller="address" action="ajaxEditor" fullPath _seo=false} ]} {$themeConfig = [ 'offcanvasOverlayPage' => $theme.offcanvasOverlayPage ]} {$lastSeenProductsKeys = []} {foreach $sLastArticlesConfig as $key => $value} {$lastSeenProductsKeys[$key] = $value} {/foreach} {$lastSeenProductsConfig = [ 'baseUrl' => $Shop->getBaseUrl(), 'shopId' => $Shop->getId(), 'noPicture' => {link file="frontend/_public/src/img/no-picture.jpg"}, 'productLimit' => {"{config name=lastarticlestoshow}"|floor}, 'currentArticle' => "" ]} {if $sArticle} {$lastSeenProductsConfig.currentArticle = $sLastArticlesConfig} {$lastSeenProductsConfig.currentArticle.articleId = $sArticle.articleID} {$lastSeenProductsConfig.currentArticle.linkDetailsRewritten = $sArticle.linkDetailsRewrited} {$lastSeenProductsConfig.currentArticle.articleName = $sArticle.articleName} {if $sArticle.additionaltext} {$lastSeenProductsConfig.currentArticle.articleName = $lastSeenProductsConfig.currentArticle.articleName|cat:' ':$sArticle.additionaltext} {/if} {$lastSeenProductsConfig.currentArticle.imageTitle = $sArticle.image.description} {$lastSeenProductsConfig.currentArticle.images = []} {foreach $sArticle.image.thumbnails as $key => $image} {$lastSeenProductsConfig.currentArticle.images[$key] = [ 'source' => $image.source, 'retinaSource' => $image.retinaSource, 'sourceSet' => $image.sourceSet ]} {/foreach} {/if} {$csrfConfig = [ 'generateUrl' => {url controller="csrftoken" fullPath=false}, 'basePath' => {$Shop->getBasePath()|cat:'/'}, 'shopId' => $Shop->getId() ]} {if {config name="shareSessionBetweenLanguageShops"} && $Shop->getMain()} {$csrfConfig['shopId'] = $Shop->getMain()->getId()} {/if} {* let the user modify the data here *} {block name="frontend_index_header_javascript_data"}{/block} {include file="frontend/index/datepicker-config.tpl"} {if $theme.additionalJsLibraries} {$theme.additionalJsLibraries} {/if} {/block} {block name="frontend_index_header_javascript_jquery"} {* Add the partner statistics widget, if configured *} {if !{config name=disableShopwareStatistics} } {include file='widgets/index/statistic_include.tpl'} {/if} {/block} {* Include jQuery and all other javascript files at the bottom of the page *} {block name="frontend_index_header_javascript_jquery_lib"} {compileJavascript timestamp={themeTimestamp} output="javascriptFiles"} {foreach $javascriptFiles as $file} {block name="frontend_index_header_javascript_jquery_lib_file"} {/block} {/foreach} {/block} {block name="frontend_index_javascript_async_ready"} {include file="frontend/index/script-async-ready.tpl"} {/block}