{extends "index.tpl"} {block "css-entry" append} {encore_entry_link_tags entry='cart'} {/block} {block "meta-robots"} {/block} {block "header"} {include "ordering/ordering.header.tpl"} {/block} {function printAvailability} {block 'printAvailability'} {if $product.availability == 0 and $product.inStore > 0} {* skladem jen částečně *}

{$product.deliveryTimeText} {t pocet=$product.inStore escape=false}pouze {pocet} ks{/t}

{elseif $product.availability eq 2}

{t}skladem u dodavatele{/t}

{else}

{$product.deliveryTimeText}

{/if} {/block} {/function} {block "main"} {block "tpl-vars"} {$tpl_vars.summary_sidebar = true} {$tpl_vars.voucher_in_first_step = true} {$tpl_vars.voucher_btn_class = "btn-secondary"} {$tpl_vars.zasilkovna_btn_class = "btn-secondary btn-sm" scope="global"} {$tpl_vars.online_payment_visible_items = 2} {$tpl_vars.delivery_country_picker = false} {$tpl_vars.gdpr_checkbox = ($dbcfg.consent.enable == 'Y')} {* $tpl_vars.delivery_collapsible = true *} {* $tpl_vars.preselect_delivery = "false" *} {* $tpl_vars.btns_in_sidebar = "true" *} {* $tpl_vars.cart_sidebar = "true" *} {$tpl_vars.ordering_user_v = $cfg.tpl.ordering_user.version} {$tpl_vars.pricebox_cartsaving = false} {$tpl_vars.disallowEditB2B = $isB2BUser and $dbcfg.b2b.disallowEditB2B == "Y"} {$tpl_vars.optionalProductGifts = false} {$tpl_vars.ordering_products_discount = false} {/block} {$placeholders = ["breadcrumbs" => []]}
{block 'order-process'}
{include "ordering/ordering.process.tpl"}
{/block}
{include "ordering/ordering.messages.tpl"} {block 'cart-title'}

{if $body.stepName == 'summary'} {t}Shrnutí objednávky{/t} {else} {$view->getTitle()} {/if}

{/block} {foreach $body.steps as $stepName => $step} {if $step@last and $stepName == $body.stepName} {$isLastStep = true scope='global'} {/if} {/foreach} {block "content-wrapper"} {if $tpl_vars.summary_sidebar and (($body.stepName != 'cart' and $body.stepName != 'summary') or $tpl_vars.cart_sidebar)}
{block "content"}{/block}
{include 'ordering/ordering.summary-sidebar.tpl' show_voucher=$isLastStep}
{else} {block "content"}{/block} {block 'cart-footer'}{/block} {/if} {/block} {block "cart-btns"}{/block}
{block "cart-also_bought"} {/block}
{/block} {block "js-entry" append} {encore_entry_script_tags entry='cart'} {/block} {block "js-start" append} {/block} {block "js-dynamic-load" append} {asset_compile} {/asset_compile} {/block}