53 lines
2.5 KiB
Smarty
53 lines
2.5 KiB
Smarty
<div class="row cart-btns">
|
|
{if $body.stepName == 'summary'}
|
|
<div class="col-xl-6 col-lg-5 col-xs-12 text-lg-right text-xs-center pull-right summary-checkboxes col-xl-pull-3 col-lg-pull-4">
|
|
{if $dbcfg.gdpr.enable != 'Y'}
|
|
{block 'cart-summary-tos'}
|
|
<p>{t escape=false}Stisknutím "Potvrdit objednávku" souhlasíte s
|
|
<a href="/obchodni-podminky/" target="_blank">obchodními podmínkami</a>
|
|
{/t}</p>
|
|
{/block}
|
|
{block 'cart-summary-newsletter'}
|
|
<div class="form-group">
|
|
<input type="hidden" name="news" value="0">
|
|
<label class="c-input c-checkbox custom-control custom-checkbox">
|
|
<input type="checkbox" name="news" class="custom-control-input" checked>
|
|
<span class="c-indicator custom-control-indicator"></span>
|
|
{t}Odebírat novinky{/t}
|
|
</label>
|
|
</div>
|
|
{/block}
|
|
{/if}
|
|
</div>
|
|
{/if}
|
|
|
|
{if $body.products|count}
|
|
<div class="col-xl-3 col-lg-4 col-sm-6 col-xs-12 pull-right text-sm-right text-xs-center {if $body.stepName == 'summary'}col-xl-push-6 col-lg-push-5{/if}">
|
|
<div {if $body.stepName == 'cart'}data-reload="cart_btns"{/if}>
|
|
<button class="btn {$cartVars.butttonNext} {if $body.stepName == 'summary'}btn-block btn-nextstep-last{/if}"
|
|
type="submit" name="{$submitName}"
|
|
value="{$valueNext}">{block 'cart-summary-btn-text'}{if $body.stepName == 'summary'}{t price=$body.totalPricePay|format_price}Koupit za {price}{/t}{else}{$cartVars.text}{/if}{/block}</button>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
|
|
<div class="col-lg-3 text-sm-left text-xs-center col-sm-6 pull-left col-xs-12 ">
|
|
{if $body.stepName == 'cart'}
|
|
{block 'cart-btns-back-to-shopping'}
|
|
{get_referer assign='referer'}
|
|
{if !$referer|stripos:'_z'}{$referer = '/'}{/if}
|
|
<a href="{$referer}" class="btn {$cartVars.butttonPrev}">{t}Zpět k nákupu{/t}</a>
|
|
{/block}
|
|
{else}
|
|
{$step = $body->findPreviousStep($body.stepName)}
|
|
<a href="{$cfg.Addr.rel}{$step.url}" class="btn {$cartVars.butttonPrev}">{t}Předchozí krok{/t}</a>
|
|
{/if}
|
|
</div>
|
|
|
|
{if $body.products|count and $body.stepName != 'summary'}
|
|
<div class="col-xl-6 col-lg-5 text-lg-right text-xs-center col-xs-12 text-right nextstep-info">
|
|
<p>{$msg}</p>
|
|
</div>
|
|
{/if}
|
|
</div>
|