250 regels
14 KiB
Smarty
250 regels
14 KiB
Smarty
|
[{capture append="oxidBlock_content"}]
|
||
|
|
||
|
[{block name="checkout_order_errors"}]
|
||
|
[{ if $oView->isConfirmAGBActive() && $oView->isConfirmAGBError() == 1 }]
|
||
|
[{include file="message/error.tpl" statusMessage="READ_AND_CONFIRM_TERMS"|oxmultilangassign}]
|
||
|
[{/if}]
|
||
|
[{assign var="iError" value=$oView->getAddressError() }]
|
||
|
[{ if $iError == 1}]
|
||
|
[{include file="message/error.tpl" statusMessage="ERROR_DELIVERY_ADDRESS_WAS_CHANGED_DURING_CHECKOUT"|oxmultilangassign }]
|
||
|
[{ /if}]
|
||
|
[{/block}]
|
||
|
|
||
|
[{* ordering steps *}]
|
||
|
[{include file="page/checkout/inc/steps.tpl" active=4 }]
|
||
|
|
||
|
[{block name="checkout_order_main"}]
|
||
|
[{if !$oView->showOrderButtonOnTop()}]
|
||
|
<div class="lineBox clear">
|
||
|
<span> </span>
|
||
|
<span class="title">[{oxmultilang ident="MESSAGE_SUBMIT_BOTTOM"}]</span>
|
||
|
</div>
|
||
|
[{/if}]
|
||
|
|
||
|
[{block name="checkout_order_details"}]
|
||
|
[{ if !$oxcmp_basket->getProductsCount() }]
|
||
|
[{block name="checkout_order_emptyshippingcart"}]
|
||
|
<div class="status corners error">[{oxmultilang ident="BASKET_EMPTY"}]</div>
|
||
|
[{/block}]
|
||
|
[{else}]
|
||
|
[{assign var="currency" value=$oView->getActCurrency() }]
|
||
|
|
||
|
[{if $oView->isLowOrderPrice()}]
|
||
|
[{block name="checkout_order_loworderprice_top"}]
|
||
|
<div>[{ oxmultilang ident="MIN_ORDER_PRICE" }] [{ $oView->getMinOrderPrice() }] [{ $currency->sign }]</div>
|
||
|
[{/block}]
|
||
|
[{else}]
|
||
|
|
||
|
<div id="orderAgbTop">
|
||
|
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
|
||
|
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=order" }]" method="post" id="orderConfirmAgbTop">
|
||
|
[{ $oViewConf->getHiddenSid() }]
|
||
|
[{ $oViewConf->getNavFormParams() }]
|
||
|
<input type="hidden" name="cl" value="order">
|
||
|
<input type="hidden" name="fnc" value="[{$oView->getExecuteFnc()}]">
|
||
|
<input type="hidden" name="challenge" value="[{$challenge}]">
|
||
|
<input type="hidden" name="sDeliveryAddressMD5" value="[{$oView->getDeliveryAddressMD5()}]">
|
||
|
<div class="agb">
|
||
|
[{if $oView->isActive('PsLogin') }]
|
||
|
<input type="hidden" name="ord_agb" value="1">
|
||
|
[{else}]
|
||
|
[{if $oView->isConfirmAGBActive()}]
|
||
|
[{oxifcontent ident="oxrighttocancellegend" object="oContent"}]
|
||
|
<h3 class="section">
|
||
|
<strong>[{ $oContent->oxcontents__oxtitle->value }]</strong>
|
||
|
</h3>
|
||
|
<input type="hidden" name="ord_agb" value="0">
|
||
|
<input id="checkAgbTop" class="checkbox" type="checkbox" name="ord_agb" value="1">
|
||
|
[{ $oContent->oxcontents__oxcontent->value }]
|
||
|
[{/oxifcontent}]
|
||
|
[{else}]
|
||
|
[{oxifcontent ident="oxrighttocancellegend2" object="oContent"}]
|
||
|
<h3 class="section">
|
||
|
<strong>[{ $oContent->oxcontents__oxtitle->value }]</strong>
|
||
|
</h3>
|
||
|
<input type="hidden" name="ord_agb" value="1">
|
||
|
[{ $oContent->oxcontents__oxcontent->value }]
|
||
|
[{/oxifcontent}]
|
||
|
[{/if}]
|
||
|
[{/if}]
|
||
|
</div>
|
||
|
|
||
|
[{oxscript add="$('#checkAgbTop').click(function(){ $('input[name=ord_agb]').val( parseInt($('input[name=ord_agb]').val()) ^ 1);});"}]
|
||
|
|
||
|
[{if $oView->showOrderButtonOnTop()}]
|
||
|
<div class="lineBox clear">
|
||
|
<a href="[{oxgetseourl ident=$oViewConf->getPaymentLink()}]" class="prevStep submitButton largeButton">[{oxmultilang ident="PREVIOUS_STEP"}]</a>
|
||
|
<button type="submit" class="submitButton nextStep largeButton">[{oxmultilang ident="SUBMIT_ORDER"}]</button>
|
||
|
</div>
|
||
|
[{/if}]
|
||
|
</form>
|
||
|
</div>
|
||
|
[{/if}]
|
||
|
|
||
|
[{block name="checkout_order_vouchers"}]
|
||
|
[{ if $oViewConf->getShowVouchers() && $oxcmp_basket->getVouchers()}]
|
||
|
[{oxmultilang ident="USED_COUPONS"}]
|
||
|
<div>
|
||
|
[{foreach from=$Errors.basket item=oEr key=key }]
|
||
|
[{if $oEr->getErrorClassType() == 'oxVoucherException'}]
|
||
|
[{oxmultilang ident="COUPON_NOT_ACCEPTED" args=$oEr->getValue('voucherNr')}]<br>
|
||
|
[{oxmultilang ident="REASON" suffix="COLON"}]
|
||
|
[{ $oEr->getOxMessage() }]<br>
|
||
|
[{/if}]
|
||
|
[{/foreach}]
|
||
|
[{foreach from=$oxcmp_basket->getVouchers() item=sVoucher key=key name=aVouchers}]
|
||
|
[{ $sVoucher->sVoucherNr }]<br>
|
||
|
[{/foreach }]
|
||
|
</div>
|
||
|
[{/if}]
|
||
|
[{/block}]
|
||
|
|
||
|
[{block name="checkout_order_address"}]
|
||
|
<div id="orderAddress">
|
||
|
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
|
||
|
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
|
||
|
<h3 class="section">
|
||
|
<strong>[{oxmultilang ident="ADDRESSES"}]</strong>
|
||
|
[{ $oViewConf->getHiddenSid() }]
|
||
|
<input type="hidden" name="cl" value="user">
|
||
|
<input type="hidden" name="fnc" value="">
|
||
|
<button type="submit" class="submitButton largeButton">[{oxmultilang ident="EDIT"}]</button>
|
||
|
</h3>
|
||
|
</form>
|
||
|
<dl>
|
||
|
<dt>[{oxmultilang ident="BILLING_ADDRESS"}]</dt>
|
||
|
<dd>
|
||
|
[{include file="widget/address/billing_address.tpl"}]
|
||
|
</dd>
|
||
|
</dl>
|
||
|
[{assign var="oDelAdress" value=$oView->getDelAddress() }]
|
||
|
[{if $oDelAdress }]
|
||
|
<dl class="shippingAddress">
|
||
|
<dt>[{oxmultilang ident="SHIPPING_ADDRESS"}]</dt>
|
||
|
<dd>
|
||
|
[{include file="widget/address/shipping_address.tpl" delivadr=$oDelAdress}]
|
||
|
</dd>
|
||
|
</dl>
|
||
|
[{/if}]
|
||
|
|
||
|
[{if $oView->getOrderRemark() }]
|
||
|
<dl class="orderRemarks">
|
||
|
<dt>[{oxmultilang ident="WHAT_I_WANTED_TO_SAY"}]</dt>
|
||
|
<dd>
|
||
|
[{ $oView->getOrderRemark() }]
|
||
|
</dd>
|
||
|
</dl>
|
||
|
[{/if}]
|
||
|
</div>
|
||
|
<div style="clear:both;"></div>
|
||
|
[{/block}]
|
||
|
|
||
|
[{block name="shippingAndPayment"}]
|
||
|
<div id="orderShipping">
|
||
|
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
|
||
|
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=payment" }]" method="post">
|
||
|
<h3 class="section">
|
||
|
<strong>[{oxmultilang ident="SHIPPING_CARRIER"}]</strong>
|
||
|
[{ $oViewConf->getHiddenSid() }]
|
||
|
<input type="hidden" name="cl" value="payment">
|
||
|
<input type="hidden" name="fnc" value="">
|
||
|
<button type="submit" class="submitButton largeButton">[{oxmultilang ident="EDIT"}]</button>
|
||
|
</h3>
|
||
|
</form>
|
||
|
[{assign var="oShipSet" value=$oView->getShipSet() }]
|
||
|
[{ $oShipSet->oxdeliveryset__oxtitle->value }]
|
||
|
</div>
|
||
|
|
||
|
<div id="orderPayment">
|
||
|
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
|
||
|
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=payment" }]" method="post">
|
||
|
<h3 class="section">
|
||
|
<strong>[{oxmultilang ident="PAYMENT_METHOD"}]</strong>
|
||
|
[{ $oViewConf->getHiddenSid() }]
|
||
|
<input type="hidden" name="cl" value="payment">
|
||
|
<input type="hidden" name="fnc" value="">
|
||
|
<button type="submit" class="submitButton largeButton">[{oxmultilang ident="EDIT"}]</button>
|
||
|
</h3>
|
||
|
</form>
|
||
|
[{assign var="payment" value=$oView->getPayment() }]
|
||
|
[{ $payment->oxpayments__oxdesc->value }]
|
||
|
</div>
|
||
|
[{/block}]
|
||
|
|
||
|
<div id="orderEditCart">
|
||
|
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
|
||
|
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=basket" }]" method="post">
|
||
|
<h3 class="section">
|
||
|
<strong>[{oxmultilang ident="CART"}]</strong>
|
||
|
[{ $oViewConf->getHiddenSid() }]
|
||
|
<input type="hidden" name="cl" value="basket">
|
||
|
<input type="hidden" name="fnc" value="">
|
||
|
<button type="submit" class="submitButton largeButton">[{oxmultilang ident="EDIT"}]</button>
|
||
|
</h3>
|
||
|
</form>
|
||
|
</div>
|
||
|
|
||
|
[{block name="order_basket"}]
|
||
|
<div class="lineBox">
|
||
|
[{include file="page/checkout/inc/basketcontents.tpl" editable=false}]
|
||
|
</div>
|
||
|
[{/block}]
|
||
|
|
||
|
[{if $oView->isLowOrderPrice() }]
|
||
|
[{block name="checkout_order_loworderprice_bottom"}]
|
||
|
<div class="lineBox clear">
|
||
|
<div>[{ oxmultilang ident="MIN_ORDER_PRICE" }] [{ $oView->getMinOrderPrice() }] [{ $currency->sign }]</div>
|
||
|
</div>
|
||
|
[{/block}]
|
||
|
[{else}]
|
||
|
[{block name="checkout_order_btn_confirm_bottom"}]
|
||
|
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
|
||
|
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=order" }]" method="post" id="orderConfirmAgbBottom">
|
||
|
[{ $oViewConf->getHiddenSid() }]
|
||
|
[{ $oViewConf->getNavFormParams() }]
|
||
|
<input type="hidden" name="cl" value="order">
|
||
|
<input type="hidden" name="fnc" value="[{$oView->getExecuteFnc()}]">
|
||
|
<input type="hidden" name="challenge" value="[{$challenge}]">
|
||
|
<input type="hidden" name="sDeliveryAddressMD5" value="[{$oView->getDeliveryAddressMD5()}]">
|
||
|
|
||
|
<div class="agb">
|
||
|
[{if $oView->isActive('PsLogin') }]
|
||
|
<input type="hidden" name="ord_agb" value="1">
|
||
|
[{else}]
|
||
|
[{if $oView->isConfirmAGBActive()}]
|
||
|
<input type="hidden" name="ord_agb" value="0">
|
||
|
[{/if}]
|
||
|
[{/if}]
|
||
|
</div>
|
||
|
|
||
|
[{if $oViewConf->isFunctionalityEnabled("blShowTSInternationalFeesMessage")}]
|
||
|
[{oxifcontent ident="oxtsinternationalfees" object="oTSIFContent"}]
|
||
|
<div class="lineBox clear">
|
||
|
<span class="title">[{$oTSIFContent->oxcontents__oxcontent->value}]</span>
|
||
|
</div>
|
||
|
[{/oxifcontent}]
|
||
|
[{/if}]
|
||
|
|
||
|
[{if $payment->oxpayments__oxid->value eq "oxidcashondel" && $oViewConf->isFunctionalityEnabled("blShowTSCODMessage")}]
|
||
|
[{oxifcontent ident="oxtscodmessage" object="oTSCODContent"}]
|
||
|
<div class="lineBox clear">
|
||
|
<span class="title">[{$oTSCODContent->oxcontents__oxcontent->value}]</span>
|
||
|
</div>
|
||
|
[{/oxifcontent}]
|
||
|
[{/if}]
|
||
|
|
||
|
<div class="lineBox clear">
|
||
|
<a href="[{oxgetseourl ident=$oViewConf->getPaymentLink()}]" class="prevStep submitButton largeButton">[{oxmultilang ident="PREVIOUS_STEP"}]</a>
|
||
|
<button type="submit" class="submitButton nextStep largeButton">[{oxmultilang ident="SUBMIT_ORDER"}]</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
[{/block}]
|
||
|
[{/if}]
|
||
|
[{/if}]
|
||
|
[{/block}]
|
||
|
[{/block}]
|
||
|
[{insert name="oxid_tracker" title=$template_title }]
|
||
|
[{/capture}]
|
||
|
|
||
|
[{assign var="template_title" value="REVIEW_YOUR_ORDER"|oxmultilangassign}]
|
||
|
[{include file="layout/page.tpl" title=$template_title location=$template_title}]
|