52 lines
2.6 KiB
Smarty
52 lines
2.6 KiB
Smarty
{if $dbcfg.gdpr.enable == 'Y' and $body.stepName == 'summary'}
|
|
{include "block.ordering.gdpr.tpl"}
|
|
{/if}
|
|
<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'}
|
|
<div class="form-group checkbox">
|
|
<label class="c-input c-checkbox custom-control custom-checkbox" for="tos">
|
|
<input type="hidden" name="tos" value="0">
|
|
<input type="checkbox" class="custom-control-input" name="tos" id="tos"
|
|
data-bv-notempty="true" data-bv-message="{t}Musíte souhlasit s podmínkami{/t}"
|
|
data-bv-field="tos">
|
|
<span class="c-indicator custom-control-indicator"></span>
|
|
{t}Souhlasím s obchodními podmínkami{/t}
|
|
</label>
|
|
<a href="{url s=page label='shopping-rules'}" target="_blank"> <i
|
|
class="fc fc-external-link"></i></a>
|
|
</div>
|
|
{/block}
|
|
{block 'cart-summary-newsletter'}
|
|
<input type="hidden" name="news" value="1">
|
|
{/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}">{if $body.stepName == 'summary'}{t price=$body->getPurchaseState()->getTotalPrice()|format_price}Koupit za {price}{/t}{else}{$cartVars.text}{/if}</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'}
|
|
{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>
|
|
{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>
|
|
</div>
|