{block utils} {$isDealer = $ctrl.dealer == "Y"} {if $ctrl} {$isB2BUser = $ctrl->isType('b2b') scope='global'} {$typeB2BUser = $ctrl->getType('b2b') scope='global'} {/if} {get_stats type='free_delivery' assign='free_delivery'} {* neni potreba key=$ctrl.currency? *} {if isset($body.returnNav)} {get_active_category returnNav=$body.returnNav assign='activeCategory'} {$breadcrumbs = $activeCategory.breadcrumb|default:$body.returnNav.0} {/if} {block 'utils-end'}{/block} {/block} {block "meta-author"} {/block} {block "meta-description"} {/block} {block "meta-robots"} {if $cfg.Addr.full|strstr:".wpj.biz" or $cfg.Addr.full|strstr:".wpj.cloud" or $cfg.Addr.full|strstr:".wpjshop.cz"} {elseif $smarty.get.full_version or $smarty.get.dynamic_filter} {else} {/if} {/block} {if {web_version} == 'desktop'} {else} {/if} {* todo custom FB image + dat tam obrazek produktu na detailu produktu *} {block "og-image"} {/block} {block "meta-site-name"} {/block} {block "meta-title"} {$header.pageTitle} {/block} {block css} {block fonts} {/block} {block "css-entry"} {encore_entry_link_tags entry='app'} {ifmodule "JS_MENU"} {encore_entry_link_tags entry='js-menu'} {/ifmodule} {/block} {/block} {block canonical} {if $smarty.get} {/if} {/block} {block 'pagination-data'} {if $body.pager.count > 1} {if $body.pager.number > 1} {{$body.pager.number}-1} ])}"> {/if} {if $body.pager.number < $body.pager.count} {{$body.pager.number}+1}])}"> {/if} {/if} {/block} {block "favicon-base"} {/block} {block "favicons"}{/block} {include "block.sentry.tpl"} {include "components/js_init.tpl"} {block 'js-start'}{/block} {foreach $dbcfg.analytics.google_site_verifications as $row} {/foreach} {foreach $dbcfg.analytics.facebook_site_verifications as $row} {/foreach} {foreach $dbcfg.analytics.pinterest_site_verifications as $row} {/foreach} {if $dbcfg.analytics.seznam_webmaster.id} {/if} {if !isDebug()} {include "block.ga4.tpl"} {/if} {include "block.gtm.tpl" gtm_type="gtm"} {include "block.gtm.script.tpl"} {function responsiveSwitch} {if {web_version} == 'desktop'} {t}Mobilní verze{/t} {else} {t}Klasická verze{/t} {/if} {/function} {include "block.gtm.noscript.tpl"} {block body} {/block} {ifmodule PRODUCTS_SECTIONS} {block "sections-responsive"} {ifmodule "JS_MENU"} {insert_js_menu} {elsemodule} {include "components/sections.responsive.tpl"} {/ifmodule} {/block} {/ifmodule} {ifmodule USERS} {block "focus-login-wrapper"} {ifmodule "JS_SHOP"} {include "focus/focus.login.tpl" class="focus-login" focus_id="login"} {elsemodule} {if $ctrl.logged} {include "focus/focus.user.tpl" class="focus-user" focus_id="login"} {else} {include "focus/focus.login.tpl" class="focus-login" focus_id="login"} {/if} {/ifmodule} {/block} {/ifmodule} {include "components/block.photoswipe.tpl"} {ifmodule "JS_SHOP"}
{include "components/jsShop.translations.tpl"} {include "components/jsShop.config.tpl"} {/ifmodule} {block microdata} {include "block.schema.tpl"} {/block} {block "cookiebar-init"} {if $dbcfg.cookie_bar.enable == "Y"} {if $dbcfg.cookie_bar.focus == "Y"} {include "focus/focus.cookies.tpl" class="focus-cookiebara"} {else} {include "block.cookie_bar.tpl"} {/if} {/if} {/block} {block "js-end"} {block "js-polyfills"} {/block} {block "js-entry"} {encore_entry_script_tags entry='app'} {ifmodule "JS_SHOP"} {encore_entry_script_tags entry='js-shop'} {/ifmodule} {ifmodule "JS_MENU"} {encore_entry_script_tags entry='js-menu'} {/ifmodule} {/block} {block "js-dynamic-load"} {* veci co se nedaji includovat do webpacku, protoze se `if`uji v sablone. Napr. preklady bootsrap validator, skript pro zasilkovnu, ... *} {/block} {/block} {if $header.wpjToolbar and !$smarty.get.no_toolbar} {include "block.wpj_toolbar.tpl"} {/if} {block analytics} {if !isDebug()} {include "block.analytics.tpl" inline} {/if} {/block}