added: 4.8.0 templates in changed full

This commit is contained in:
KristianHempel 2014-01-07 15:32:00 +00:00
parent 918e2d0f0b
commit 28d21dc8fa
19 changed files with 1840 additions and 0 deletions

18
.gitattributes vendored
View File

@ -257,6 +257,24 @@ changed_full/470-/application/views/azure/tpl/page/checkout/order.tpl -text
changed_full/470-/application/views/azure/tpl/page/checkout/payment.tpl -text
changed_full/470-/modules/d3/d3_googleanalytics/views/blocks/layout/d3_base_googleanalytics.tpl -text
changed_full/470-/modules/d3/d3_googleanalytics/views/tpl/widget/d3_googleanalytics.tpl -text
changed_full/480-/application/views/azure/tpl/form/login.tpl -text
changed_full/480-/application/views/azure/tpl/form/login.tpl.bak -text
changed_full/480-/application/views/azure/tpl/form/user_checkout_change.tpl -text
changed_full/480-/application/views/azure/tpl/form/user_checkout_change.tpl.bak -text
changed_full/480-/application/views/azure/tpl/form/user_checkout_noregistration.tpl -text
changed_full/480-/application/views/azure/tpl/form/user_checkout_noregistration.tpl.bak -text
changed_full/480-/application/views/azure/tpl/form/user_checkout_registration.tpl -text
changed_full/480-/application/views/azure/tpl/form/user_checkout_registration.tpl.bak -text
changed_full/480-/application/views/azure/tpl/page/checkout/basket.tpl -text
changed_full/480-/application/views/azure/tpl/page/checkout/basket.tpl.bak -text
changed_full/480-/application/views/azure/tpl/page/checkout/inc/options.tpl -text
changed_full/480-/application/views/azure/tpl/page/checkout/inc/options.tpl.bak -text
changed_full/480-/application/views/azure/tpl/page/checkout/order.tpl -text
changed_full/480-/application/views/azure/tpl/page/checkout/order.tpl.bak -text
changed_full/480-/application/views/azure/tpl/page/checkout/payment.tpl -text
changed_full/480-/application/views/azure/tpl/page/checkout/payment.tpl.bak -text
changed_full/480-/modules/d3/d3_googleanalytics/views/blocks/layout/d3_base_googleanalytics.tpl -text
changed_full/480-/modules/d3/d3_googleanalytics/views/tpl/widget/d3_googleanalytics.tpl -text
copy_this/.noencode -text
copy_this/modules/d3/d3_googleanalytics/controllers/admin/d3_cfg_googleanalytics.php -text
copy_this/modules/d3/d3_googleanalytics/controllers/admin/d3_cfg_googleanalytics_campaigns.php -text

View File

@ -0,0 +1,30 @@
[{oxscript include="js/widgets/oxinputvalidator.js" priority=10 }]
[{oxscript add="$('form.js-oxValidate').oxInputValidator();"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
[{assign var="sAddClassParams" value="cl="|cat:$oViewConf->getActiveClassName()}]
<form class="js-oxValidate" name="login" action="[{ $oViewConf->getSslSelfLink()|oxaddparams:$sAddClassParams }]" method="post">
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
<ul class="form">
<li [{if $aErrors}]class="oxInValid"[{/if}]>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="fnc" value="login_noredirect">
<input type="hidden" name="cl" value="[{ $oViewConf->getActiveClassName() }]">
<label class="short">[{ oxmultilang ident="EMAIL_ADDRESS" }]</label>
<input type="text" name="lgn_usr" class="textbox js-oxValidate js-oxValidate_notEmpty" data-fieldsize="pair-xsmall">
<p class="underInput short oxValidateError">
<span class="js-oxError_notEmpty">[{ oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS" }]</span>
</p>
</li>
<li [{if $aErrors}]class="oxInValid"[{/if}]>
<label class="short">[{ oxmultilang ident="PASSWORD" }]</label>
<input type="password" name="lgn_pwd" class="js-oxValidate js-oxValidate_notEmpty textbox stepsPasswordbox" data-fieldsize="pair-xsmall">
&nbsp;<strong><a class="forgotPasswordOpener" id="step2PswdOpener" href="#" title="[{ oxmultilang ident="FORGOT_PASSWORD" }]">?</a></strong>
<p class="underInput short oxValidateError">
<span class="js-oxError_notEmpty">[{ oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS" }]</span>
</p>
</li>
<li><button type="submit" class="submitButton">[{ oxmultilang ident="LOGIN" }]</button></li>
</ul>
</form>

View File

@ -0,0 +1,30 @@
[{oxscript include="js/widgets/oxinputvalidator.js" priority=10 }]
[{oxscript add="$('form.js-oxValidate').oxInputValidator();"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
[{assign var="sAddClassParams" value="cl="|cat:$oViewConf->getActiveClassName()}]
<form class="js-oxValidate" name="login" action="[{ $oViewConf->getSslSelfLink()|oxaddparams:$sAddClassParams }]" method="post">
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
<ul class="form">
<li [{if $aErrors}]class="oxInValid"[{/if}]>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="fnc" value="login_noredirect">
<input type="hidden" name="cl" value="[{ $oViewConf->getActiveClassName() }]">
<label class="short">[{ oxmultilang ident="WIDGET_LOGINBOX_EMAIL_ADDRESS" }]</label>
<input type="text" name="lgn_usr" class="textbox js-oxValidate js-oxValidate_notEmpty" data-fieldsize="pair-xsmall">
<p class="underInput short oxValidateError">
<span class="js-oxError_notEmpty">[{ oxmultilang ident="EXCEPTION_INPUT_NOTALLFIELDS" }]</span>
</p>
</li>
<li [{if $aErrors}]class="oxInValid"[{/if}]>
<label class="short">[{ oxmultilang ident="WIDGET_LOGINBOX_PASSWORD" }]</label>
<input type="password" name="lgn_pwd" class="js-oxValidate js-oxValidate_notEmpty textbox stepsPasswordbox" data-fieldsize="pair-xsmall">
&nbsp;<strong><a class="forgotPasswordOpener" id="step2PswdOpener" href="#" title="[{ oxmultilang ident="WIDGET_LOGINBOX_FORGOT_PASSWORD" }]">?</a></strong>
<p class="underInput short oxValidateError">
<span class="js-oxError_notEmpty">[{ oxmultilang ident="EXCEPTION_INPUT_NOTALLFIELDS" }]</span>
</p>
</li>
<li><button type="submit" class="submitButton">[{ oxmultilang ident="LOGIN" }]</button></li>
</ul>
</form>

View File

@ -0,0 +1,85 @@
[{oxscript include="js/widgets/oxinputvalidator.js" priority=10 }]
[{oxscript add="$('form.js-oxValidate').oxInputValidator();"}]
[{block name="user_checkout_change"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form class="js-oxValidate" action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" name="order" method="post">
[{block name="user_checkout_change_form"}]
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="user">
<input type="hidden" name="option" value="[{$oView->getLoginOption()}]">
<input type="hidden" name="fnc" value="changeuser">
<input type="hidden" name="lgn_cook" value="0">
<input type="hidden" name="blshowshipaddress" value="1">
<div class="lineBox clear">
<a href="[{ oxgetseourl ident=$oViewConf->getBasketLink() }]" class="prevStep submitButton largeButton" id="userBackStepTop">[{ oxmultilang ident="PREVIOUS_STEP" }]</a>
<button id="userNextStepTop" class="submitButton largeButton nextStep" name="userform" type="submit">[{ oxmultilang ident="CONTINUE_TO_NEXT_STEP" }]</button>
</div>
<div class="checkoutCollumns clear">
<div class="collumn">
[{block name="user_checkout_billing"}]
[{block name="user_checkout_billing_head"}]
<h3 class="blockHead">
[{oxmultilang ident="BILLING_ADDRESS" }]
<button id="userChangeAddress" class="submitButton largeButton" name="changeBillAddress" type="submit">[{oxmultilang ident="CHANGE" }]</button>
</h3>
[{oxscript add="$('#userChangeAddress').click( function() { $('#addressForm').show();$('#addressText').hide();$('#userChangeAddress').hide();return false;});"}]
[{oxscript add="$('#userChangeAddress').click( function() { $('#addressForm').show();$('#addressText').hide();$('#userChangeAddress').hide();return false;});"}]
[{if $aErrors}]
[{oxscript add="$(document).ready(function(){ $('#userChangeAddress').trigger('click');});"}]
[{/if}]
[{/block}]
[{block name="user_checkout_billing_form"}]
<ul class="form" style="display: none;" id="addressForm">
[{include file="form/fieldset/user_billing.tpl" noFormSubmit=true blSubscribeNews=true blOrderRemark=true}]
</ul>
[{/block}]
[{block name="user_checkout_billing_feedback"}]
<ul class="form" id="addressText">
<li>
[{include file="widget/address/billing_address.tpl" noFormSubmit=true blSubscribeNews=true blOrderRemark=true}]
</li>
</ul>
[{/block}]
[{/block}]
</div>
<div class="collumn">
[{block name="user_checkout_shipping"}]
[{block name="user_checkout_shipping_head"}]
<h3 class="blockHead">[{ oxmultilang ident="SHIPPING_ADDRESS" }]
<button id="userChangeShippingAddress" class="submitButton largeButton" name="changeShippingAddress" type="submit" [{if !$oView->showShipAddress() or !$oxcmp_user->getSelectedAddress()}] style="display: none;" [{/if}]>[{ oxmultilang ident="CHANGE" }]</button>
</h3>
[{oxscript add="$('#showShipAddress').change(function() { $('#userChangeShippingAddress').toggle($(this).is(':not(:checked)') && $('#addressId').val() != -1 ); }); "}]
[{oxscript add="$('#addressId').change(function() { $('#userChangeShippingAddress').toggle($('#addressId').val() != -1 ); }); "}]
[{/block}]
[{block name="user_checkout_shipping_change"}]
<p><input type="checkbox" name="blshowshipaddress" id="showShipAddress" [{if !$oView->showShipAddress()}]checked[{/if}] value="0"><label for="showShipAddress">[{ oxmultilang ident="USE_BILLINGADDRESS_FOR_SHIPPINGADDRESS" }]</label></p>
[{oxscript add="$('#showShipAddress').change( function() { $('#shippingAddress').toggle($(this).is(':not(:checked)'));});"}]
[{/block}]
[{block name="user_checkout_shipping_form"}]
<ul id="shippingAddress" class="form" [{if !$oView->showShipAddress()}]style="display: none;"[{/if}]>
[{include file="form/fieldset/user_shipping.tpl" noFormSubmit=true onChangeClass='user'}]
</ul>
[{/block}]
[{block name="user_checkout_shipping_feedback"}]
<ul class="form">
<li>
[{include file="form/fieldset/order_newsletter.tpl" blSubscribeNews=true}]
[{include file="form/fieldset/order_remark.tpl" blOrderRemark=true}]
</li>
</ul>
[{/block}]
[{/block}]
</div>
</div>
<div class="lineBox clear">
<a href="[{ oxgetseourl ident=$oViewConf->getBasketLink() }]" class="prevStep submitButton largeButton" id="userBackStepBottom">[{ oxmultilang ident="PREVIOUS_STEP" }]</a>
<button id="userNextStepBottom" class="submitButton largeButton nextStep" name="userform" type="submit">[{ oxmultilang ident="CONTINUE_TO_NEXT_STEP" }]</button>
</div>
[{/block}]
</form>
[{/block}]

View File

@ -0,0 +1,82 @@
[{oxscript include="js/widgets/oxinputvalidator.js" priority=10 }]
[{oxscript add="$('form.js-oxValidate').oxInputValidator();"}]
[{block name="user_checkout_change"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form class="js-oxValidate" action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" name="order" method="post">
[{block name="user_checkout_change_form"}]
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="user">
<input type="hidden" name="option" value="[{$oView->getLoginOption()}]">
<input type="hidden" name="fnc" value="changeuser">
<input type="hidden" name="lgn_cook" value="0">
<input type="hidden" name="blshowshipaddress" value="1">
<div class="lineBox clear">
<a href="[{ oxgetseourl ident=$oViewConf->getBasketLink() }]" class="prevStep submitButton largeButton" id="userBackStepTop">[{ oxmultilang ident="FORM_USER_CHECKOUT_CHANGE_BACKSTEP" }]</a>
<button id="userNextStepTop" class="submitButton largeButton nextStep" name="userform" type="submit">[{ oxmultilang ident="FORM_USER_CHECKOUT_CHANGE_NEXTSTEP" }]</button>
</div>
<div class="checkoutCollumns clear">
<div class="collumn">
[{block name="user_checkout_billing"}]
[{block name="user_checkout_billing_head"}]
<h3 class="blockHead">
[{oxmultilang ident="FORM_REGISTER_BILLINGADDRESS" }]
<button id="userChangeAddress" class="submitButton largeButton" name="changeBillAddress" type="submit">[{oxmultilang ident="PAGE_CHECKOUT_BASKET_CHANGE" }]</button>
</h3>
[{oxscript add="$('#userChangeAddress').click( function() { $('#addressForm').show();$('#addressText').hide();$('#userChangeAddress').hide();return false;});"}]
[{/block}]
[{block name="user_checkout_billing_form"}]
<ul class="form" style="display: none;" id="addressForm">
[{include file="form/fieldset/user_billing.tpl" noFormSubmit=true blSubscribeNews=true blOrderRemark=true}]
</ul>
[{/block}]
[{block name="user_checkout_billing_feedback"}]
<ul class="form" id="addressText">
<li>
[{include file="widget/address/billing_address.tpl" noFormSubmit=true blSubscribeNews=true blOrderRemark=true}]
</li>
</ul>
[{/block}]
[{/block}]
</div>
<div class="collumn">
[{block name="user_checkout_shipping"}]
[{block name="user_checkout_shipping_head"}]
<h3 class="blockHead">[{ oxmultilang ident="FORM_REGISTER_SHIPPINGADDRESS" }]
[{if $oView->showShipAddress() and $oxcmp_user->getSelectedAddress()}]
<button id="userChangeShippingAddress" class="submitButton largeButton" name="changeShippingAddress" type="submit" [{if !$oView->showShipAddress() and $oxcmp_user->getSelectedAddress()}] style="display: none;" [{/if}]>[{ oxmultilang ident="PAGE_CHECKOUT_BASKET_CHANGE" }]</button>
[{/if}]
</h3>
[{oxscript add="$('#userChangeShippingAddress').toggle($(this).is(':not(:checked)'));"}]
[{/block}]
[{block name="user_checkout_shipping_change"}]
<p><input type="checkbox" name="blshowshipaddress" id="showShipAddress" [{if !$oView->showShipAddress()}]checked[{/if}] value="0"><label for="showShipAddress">[{ oxmultilang ident="FORM_REGISTER_USE_BILLINGADDRESS_FOR_SHIPPINGADDRESS" }]</label></p>
[{oxscript add="$('#showShipAddress').change( function() { $('#shippingAddress').toggle($(this).is(':not(:checked)'));});"}]
[{/block}]
[{block name="user_checkout_shipping_form"}]
<ul id="shippingAddress" class="form" [{if !$oView->showShipAddress()}]style="display: none;"[{/if}]>
[{include file="form/fieldset/user_shipping.tpl" noFormSubmit=true onChangeClass='user'}]
</ul>
[{/block}]
[{block name="user_checkout_shipping_feedback"}]
<ul class="form">
<li>
[{include file="form/fieldset/order_newsletter.tpl" blSubscribeNews=true}]
[{include file="form/fieldset/order_remark.tpl" blOrderRemark=true}]
</li>
</ul>
[{/block}]
[{/block}]
</div>
</div>
<div class="lineBox clear">
<a href="[{ oxgetseourl ident=$oViewConf->getBasketLink() }]" class="prevStep submitButton largeButton" id="userBackStepBottom">[{ oxmultilang ident="FORM_USER_CHECKOUT_CHANGE_BACKSTEP" }]</a>
<button id="userNextStepBottom" class="submitButton largeButton nextStep" name="userform" type="submit">[{ oxmultilang ident="FORM_USER_CHECKOUT_CHANGE_NEXTSTEP" }]</button>
</div>
[{/block}]
</form>
[{/block}]

View File

@ -0,0 +1,61 @@
[{oxscript include="js/widgets/oxinputvalidator.js" priority=10 }]
[{oxscript add="$('form.js-oxValidate').oxInputValidator();"}]
[{block name="user_checkout_noregistration"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form class="js-oxValidate" action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" name="order" method="post">
[{block name="user_checkout_noregistration_form"}]
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="user">
<input type="hidden" name="option" value="1">
[{if !$oxcmp_user->oxuser__oxpassword->value }]
<input type="hidden" name="fnc" value="createuser">
[{else}]
<input type="hidden" name="fnc" value="changeuser">
<input type="hidden" name="lgn_cook" value="0">
[{/if}]
<input type="hidden" id="reloadAddress" name="reloadaddress" value="">
<input type="hidden" name="blshowshipaddress" value="1">
<div class="lineBox clear">
<a href="[{ oxgetseourl ident=$oViewConf->getBasketLink() }]" class="prevStep submitButton largeButton" id="userBackStepTop">[{ oxmultilang ident="PREVIOUS_STEP" }]</a>
<button id="userNextStepTop" class="submitButton largeButton nextStep" name="userform" type="submit">[{ oxmultilang ident="CONTINUE_TO_NEXT_STEP" }]</button>
</div>
<div class="checkoutCollumns clear">
<div class="row">
<h3 class="blockHead">[{ oxmultilang ident="NOTREGISTERED_ACCOUNTINFO" }]</h3>
<ul class="form">
[{ include file="form/fieldset/user_noaccount.tpl" }]
</ul>
</div>
<div class="collumn">
<h3 class="blockHead">[{ oxmultilang ident="BILLING_ADDRESS" }]</h3>
<ul class="form">
[{ include file="form/fieldset/user_billing.tpl" noFormSubmit=true blOrderRemark=true}]
</ul>
</div>
<div class="collumn">
<h3 class="blockHead">[{ oxmultilang ident="SHIPPING_ADDRESS" }]</h3>
<p><input type="checkbox" name="blshowshipaddress" id="showShipAddress" [{if !$oView->showShipAddress()}]checked[{/if}] value="0"><label for="showShipAddress">[{ oxmultilang ident="USE_BILLINGADDRESS_FOR_SHIPPINGADDRESS" }]</label></p>
<ul id="shippingAddress" class="form" [{if !$oView->showShipAddress()}]style="display: none;"[{/if}]>
[{ include file="form/fieldset/user_shipping.tpl" noFormSubmit=true}]
</ul>
<ul class="form">
<li>
[{include file="form/fieldset/order_remark.tpl" blOrderRemark=true}]
</li>
</ul>
</div>
</div>
[{oxscript add="$('#showShipAddress').change( function() { $('#shippingAddress').toggle($(this).is(':not(:checked)'));});"}]
<div class="lineBox clear">
<a href="[{ oxgetseourl ident=$oViewConf->getBasketLink() }]" class="prevStep submitButton largeButton" id="userBackStepBottom">[{ oxmultilang ident="PREVIOUS_STEP" }]</a>
<button id="userNextStepBottom" class="submitButton largeButton nextStep" name="userform" type="submit">[{ oxmultilang ident="CONTINUE_TO_NEXT_STEP" }]</button>
</div>
[{/block}]
</form>
[{/block}]

View File

@ -0,0 +1,61 @@
[{oxscript include="js/widgets/oxinputvalidator.js" priority=10 }]
[{oxscript add="$('form.js-oxValidate').oxInputValidator();"}]
[{block name="user_checkout_noregistration"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form class="js-oxValidate" action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" name="order" method="post">
[{block name="user_checkout_noregistration_form"}]
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="user">
<input type="hidden" name="option" value="1">
[{if !$oxcmp_user->oxuser__oxpassword->value }]
<input type="hidden" name="fnc" value="createuser">
[{else}]
<input type="hidden" name="fnc" value="changeuser">
<input type="hidden" name="lgn_cook" value="0">
[{/if}]
<input type="hidden" id="reloadAddress" name="reloadaddress" value="">
<input type="hidden" name="blshowshipaddress" value="1">
<div class="lineBox clear">
<a href="[{ oxgetseourl ident=$oViewConf->getBasketLink() }]" class="prevStep submitButton largeButton" id="userBackStepTop">[{ oxmultilang ident="FORM_USER_CHECKOUT_NOREGISTRATION_BACKSTEP" }]</a>
<button id="userNextStepTop" class="submitButton largeButton nextStep" name="userform" type="submit">[{ oxmultilang ident="FORM_USER_CHECKOUT_NOREGISTRATION_NEXTSTEP" }]</button>
</div>
<div class="checkoutCollumns clear">
<div class="row">
<h3 class="blockHead">[{ oxmultilang ident="NOTREGISTERED_ACCOUNTINFO" }]</h3>
<ul class="form">
[{ include file="form/fieldset/user_noaccount.tpl" }]
</ul>
</div>
<div class="collumn">
<h3 class="blockHead">[{ oxmultilang ident="FORM_REGISTER_BILLINGADDRESS" }]</h3>
<ul class="form">
[{ include file="form/fieldset/user_billing.tpl" noFormSubmit=true blOrderRemark=true}]
</ul>
</div>
<div class="collumn">
<h3 class="blockHead">[{ oxmultilang ident="FORM_REGISTER_SHIPPINGADDRESS" }]</h3>
<p><input type="checkbox" name="blshowshipaddress" id="showShipAddress" [{if !$oView->showShipAddress()}]checked[{/if}] value="0"><label for="showShipAddress">[{ oxmultilang ident="FORM_REGISTER_USE_BILLINGADDRESS_FOR_SHIPPINGADDRESS" }]</label></p>
<ul id="shippingAddress" class="form" [{if !$oView->showShipAddress()}]style="display: none;"[{/if}]>
[{ include file="form/fieldset/user_shipping.tpl" noFormSubmit=true}]
</ul>
<ul class="form">
<li>
[{include file="form/fieldset/order_remark.tpl" blOrderRemark=true}]
</li>
</ul>
</div>
</div>
[{oxscript add="$('#showShipAddress').change( function() { $('#shippingAddress').toggle($(this).is(':not(:checked)'));});"}]
<div class="lineBox clear">
<a href="[{ oxgetseourl ident=$oViewConf->getBasketLink() }]" class="prevStep submitButton largeButton" id="userBackStepBottom">[{ oxmultilang ident="FORM_USER_CHECKOUT_NOREGISTRATION_BACKSTEP" }]</a>
<button id="userNextStepBottom" class="submitButton largeButton nextStep" name="userform" type="submit">[{ oxmultilang ident="FORM_USER_CHECKOUT_NOREGISTRATION_NEXTSTEP" }]</button>
</div>
[{/block}]
</form>
[{/block}]

View File

@ -0,0 +1,61 @@
[{oxscript include="js/widgets/oxinputvalidator.js" priority=10 }]
[{oxscript add="$('form.js-oxValidate').oxInputValidator();"}]
[{block name="user_checkout_registration"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form class="js-oxValidate" action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" name="order" method="post">
[{block name="user_checkout_registration_form"}]
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="user">
<input type="hidden" name="option" value="3">
[{if !$oxcmp_user->oxuser__oxpassword->value }]
<input type="hidden" name="fnc" value="createuser">
[{else}]
<input type="hidden" name="fnc" value="changeuser">
<input type="hidden" name="lgn_cook" value="0">
[{/if}]
<input type="hidden" id="reloadAddress" name="reloadaddress" value="">
<input type="hidden" name="blshowshipaddress" value="1">
<div class="lineBox clear">
<a href="[{ oxgetseourl ident=$oViewConf->getBasketLink() }]" class="prevStep submitButton largeButton" id="userBackStepTop">[{ oxmultilang ident="PREVIOUS_STEP" }]</a>
<button id="userNextStepTop" class="submitButton largeButton nextStep" name="userform" type="submit">[{ oxmultilang ident="CONTINUE_TO_NEXT_STEP" }]</button>
</div>
<div class="checkoutCollumns clear">
<div class="row">
<h3 class="blockHead">[{ oxmultilang ident="ACCOUNT_INFORMATION" }]</h3>
<ul class="form">
[{ include file="form/fieldset/user_account.tpl" }]
</ul>
</div>
<div class="collumn">
<h3 class="blockHead">[{ oxmultilang ident="BILLING_ADDRESS" }]</h3>
<ul class="form">
[{ include file="form/fieldset/user_billing.tpl" noFormSubmit=true blSubscribeNews=false blOrderRemark=true}]
</ul>
</div>
<div class="collumn">
<h3 class="blockHead">[{ oxmultilang ident="SHIPPING_ADDRESS" }]</h3>
<p><input type="checkbox" name="blshowshipaddress" id="showShipAddress" [{if !$oView->showShipAddress()}]checked[{/if}] value="0"><label for="showShipAddress">[{ oxmultilang ident="USE_BILLINGADDRESS_FOR_SHIPPINGADDRESS" }]</label></p>
<ul id="shippingAddress" class="form" [{if !$oView->showShipAddress()}]style="display: none;"[{/if}]>
[{ include file="form/fieldset/user_shipping.tpl" noFormSubmit=true}]
</ul>
<ul class="form">
<li>
[{include file="form/fieldset/order_remark.tpl" blOrderRemark=true}]
</li>
</ul>
</div>
</div>
[{oxscript add="$('#showShipAddress').change( function() { $('#shippingAddress').toggle($(this).is(':not(:checked)'));});"}]
<div class="lineBox clear">
<a href="[{ oxgetseourl ident=$oViewConf->getBasketLink() }]" class="prevStep submitButton largeButton" id="userBackStepBottom">[{ oxmultilang ident="PREVIOUS_STEP" }]</a>
<button id="userNextStepBottom" class="submitButton largeButton nextStep" name="userform" type="submit">[{ oxmultilang ident="CONTINUE_TO_NEXT_STEP" }]</button>
</div>
[{/block}]
</form>
[{/block}]

View File

@ -0,0 +1,61 @@
[{oxscript include="js/widgets/oxinputvalidator.js" priority=10 }]
[{oxscript add="$('form.js-oxValidate').oxInputValidator();"}]
[{block name="user_checkout_registration"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form class="js-oxValidate" action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" name="order" method="post">
[{block name="user_checkout_registration_form"}]
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="user">
<input type="hidden" name="option" value="3">
[{if !$oxcmp_user->oxuser__oxpassword->value }]
<input type="hidden" name="fnc" value="createuser">
[{else}]
<input type="hidden" name="fnc" value="changeuser">
<input type="hidden" name="lgn_cook" value="0">
[{/if}]
<input type="hidden" id="reloadAddress" name="reloadaddress" value="">
<input type="hidden" name="blshowshipaddress" value="1">
<div class="lineBox clear">
<a href="[{ oxgetseourl ident=$oViewConf->getBasketLink() }]" class="prevStep submitButton largeButton" id="userBackStepTop">[{ oxmultilang ident="FORM_USER_CHECKOUT_REGISTRATION_BACKSTEP" }]</a>
<button id="userNextStepTop" class="submitButton largeButton nextStep" name="userform" type="submit">[{ oxmultilang ident="FORM_USER_CHECKOUT_REGISTRATION_NEXTSTEP" }]</button>
</div>
<div class="checkoutCollumns clear">
<div class="row">
<h3 class="blockHead">[{ oxmultilang ident="FORM_REGISTER_ACCOUNTINFO" }]</h3>
<ul class="form">
[{ include file="form/fieldset/user_account.tpl" }]
</ul>
</div>
<div class="collumn">
<h3 class="blockHead">[{ oxmultilang ident="FORM_REGISTER_BILLINGADDRESS" }]</h3>
<ul class="form">
[{ include file="form/fieldset/user_billing.tpl" noFormSubmit=true blSubscribeNews=false blOrderRemark=true}]
</ul>
</div>
<div class="collumn">
<h3 class="blockHead">[{ oxmultilang ident="FORM_REGISTER_SHIPPINGADDRESS" }]</h3>
<p><input type="checkbox" name="blshowshipaddress" id="showShipAddress" [{if !$oView->showShipAddress()}]checked[{/if}] value="0"><label for="showShipAddress">[{ oxmultilang ident="FORM_REGISTER_USE_BILLINGADDRESS_FOR_SHIPPINGADDRESS" }]</label></p>
<ul id="shippingAddress" class="form" [{if !$oView->showShipAddress()}]style="display: none;"[{/if}]>
[{ include file="form/fieldset/user_shipping.tpl" noFormSubmit=true}]
</ul>
<ul class="form">
<li>
[{include file="form/fieldset/order_remark.tpl" blOrderRemark=true}]
</li>
</ul>
</div>
</div>
[{oxscript add="$('#showShipAddress').change( function() { $('#shippingAddress').toggle($(this).is(':not(:checked)'));});"}]
<div class="lineBox clear">
<a href="[{ oxgetseourl ident=$oViewConf->getBasketLink() }]" class="prevStep submitButton largeButton" id="userBackStepBottom">[{ oxmultilang ident="FORM_USER_CHECKOUT_REGISTRATION_BACKSTEP" }]</a>
<button id="userNextStepBottom" class="submitButton largeButton nextStep" name="userform" type="submit">[{ oxmultilang ident="FORM_USER_CHECKOUT_REGISTRATION_NEXTSTEP" }]</button>
</div>
[{/block}]
</form>
[{/block}]

View File

@ -0,0 +1,120 @@
[{capture append="oxidBlock_content"}]
[{* ordering steps *}]
[{include file="page/checkout/inc/steps.tpl" active=1 }]
[{block name="checkout_basket_main"}]
[{assign var="currency" value=$oView->getActCurrency() }]
[{if !$oxcmp_basket->getProductsCount() }]
[{block name="checkout_basket_emptyshippingcart"}]
<div class="status corners error">[{ oxmultilang ident="BASKET_EMPTY" }]</div>
[{/block}]
[{else }]
<div class="lineBox clear">
[{if $oView->showBackToShop()}]
[{block name="checkout_basket_backtoshop_top"}]
<div class="backtoshop">
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=basket" }]" method="post">
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="basket">
<input type="hidden" name="fnc" value="backtoshop">
<button type="submit" class="submitButton largeButton">[{ oxmultilang ident="CONTINUE_SHOPPING" }]</button>
</form>
</div>
[{/block}]
[{/if}]
[{if $oView->isLowOrderPrice() }]
[{block name="checkout_basket_loworderprice_top"}]
<div>[{ oxmultilang ident="MIN_ORDER_PRICE" }] [{ $oView->getMinOrderPrice() }] [{ $currency->sign }]</div>
[{/block}]
[{else}]
[{block name="basket_btn_next_top"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="user">
<button type="submit" class="submitButton largeButton nextStep">[{ oxmultilang ident="CONTINUE_TO_NEXT_STEP" }]</button>
</form>
[{/block}]
[{/if}]
</div>
<div class="lineBox">
[{include file="page/checkout/inc/basketcontents.tpl" editable=true}]
[{if $oViewConf->getShowVouchers()}]
[{block name="checkout_basket_vouchers"}]
[{oxscript include="js/widgets/oxinputvalidator.js" priority=10 }]
[{oxscript add="$('form.js-oxValidate').oxInputValidator();"}]
<div id="basketVoucher">
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form name="voucher" action="[{ $oViewConf->getSelfActionLink()|oxaddparams:"cl=basket" }]" method="post" class="js-oxValidate">
<div class="couponBox" id="coupon">
[{foreach from=$Errors.basket item=oEr key=key}]
[{if $oEr->getErrorClassType() == 'oxVoucherException'}]
<div class="inlineError">
[{ oxmultilang ident="COUPON_NOT_ACCEPTED" args=$oEr->getValue('voucherNr') }]
<strong>[{ oxmultilang ident="REASON" suffix="COLON" }]</strong>
[{ $oEr->getOxMessage() }]
</div>
[{/if}]
[{/foreach}]
<label>[{ oxmultilang ident="ENTER_COUPON_NUMBER" suffix="COLON" }]</label>
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="basket">
<input type="hidden" name="fnc" value="addVoucher">
<input type="text" size="20" name="voucherNr" class="textbox js-oxValidate js-oxValidate_notEmpty">
<button type="submit" class="submitButton">[{ oxmultilang ident="SUBMIT_COUPON" }]</button>
<p class="oxValidateError">
<span class="js-oxError_notEmpty">[{ oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS" }]</span>
</p>
<input type="hidden" name="CustomError" value='basket'>
</div>
</form>
</div>
[{/block}]
[{/if}]
</div>
<div class="lineBox clear">
[{if $oView->showBackToShop()}]
[{block name="checkout_basket_backtoshop_bottom"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=basket" }]" method="post">
<div class="backtoshop">
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="basket">
<input type="hidden" name="fnc" value="backtoshop">
<button type="submit" class="submitButton largeButton">[{ oxmultilang ident="CONTINUE_SHOPPING" }]</button>
</div>
</form>
[{/block}]
[{/if}]
[{if $oView->isLowOrderPrice() }]
[{block name="checkout_basket_loworderprice_bottom"}]
<div>[{ oxmultilang ident="MIN_ORDER_PRICE" }] [{ $oView->getMinOrderPrice() }] [{ $currency->sign }]</div>
[{/block}]
[{else}]
[{block name="basket_btn_next_bottom"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="user">
<button type="submit" class="submitButton largeButton nextStep">[{ oxmultilang ident="CONTINUE_TO_NEXT_STEP" }]</button>
</form>
[{/block}]
[{/if}]
</div>
[{/if }]
[{if $oView->isWrapping() }]
[{include file="page/checkout/inc/wrapping.tpl"}]
[{/if}]
[{/block}]
[{insert name="oxid_tracker" title=$template_title }]
[{/capture}]
[{include file="layout/page.tpl"}]

View File

@ -0,0 +1,120 @@
[{capture append="oxidBlock_content"}]
[{* ordering steps *}]
[{include file="page/checkout/inc/steps.tpl" active=1 }]
[{block name="checkout_basket_main"}]
[{assign var="currency" value=$oView->getActCurrency() }]
[{if !$oxcmp_basket->getProductsCount() }]
[{block name="checkout_basket_emptyshippingcart"}]
<div class="status corners error">[{ oxmultilang ident="PAGE_CHECKOUT_BASKET_EMPTYSHIPPINGCART" }]</div>
[{/block}]
[{else }]
<div class="lineBox clear">
[{if $oView->showBackToShop()}]
[{block name="checkout_basket_backtoshop_top"}]
<div class="backtoshop">
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=basket" }]" method="post">
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="basket">
<input type="hidden" name="fnc" value="backtoshop">
<button type="submit" class="submitButton largeButton">[{ oxmultilang ident="PAGE_CHECKOUT_BASKET_CONTINUESHOPPING" }]</button>
</form>
</div>
[{/block}]
[{/if}]
[{if $oView->isLowOrderPrice() }]
[{block name="checkout_basket_loworderprice_top"}]
<div>[{ oxmultilang ident="PAGE_CHECKOUT_BASKET_MINORDERPRICE" }] [{ $oView->getMinOrderPrice() }] [{ $currency->sign }]</div>
[{/block}]
[{else}]
[{block name="basket_btn_next_top"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="user">
<button type="submit" class="submitButton largeButton nextStep">[{ oxmultilang ident="PAGE_CHECKOUT_BASKET_NEXTSTEP" }]</button>
</form>
[{/block}]
[{/if}]
</div>
<div class="lineBox">
[{include file="page/checkout/inc/basketcontents.tpl" editable=true}]
[{if $oViewConf->getShowVouchers()}]
[{block name="checkout_basket_vouchers"}]
[{oxscript include="js/widgets/oxinputvalidator.js" priority=10 }]
[{oxscript add="$('form.js-oxValidate').oxInputValidator();"}]
<div id="basketVoucher">
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form name="voucher" action="[{ $oViewConf->getSelfActionLink()|oxaddparams:"cl=basket" }]" method="post" class="js-oxValidate">
<div class="couponBox" id="coupon">
[{foreach from=$Errors.basket item=oEr key=key}]
[{if $oEr->getErrorClassType() == 'oxVoucherException'}]
<div class="inlineError">
[{ oxmultilang ident="PAGE_CHECKOUT_BASKET_COUPONNOTACCEPTED1" }] <strong>&ldquo;[{ $oEr->getValue('voucherNr') }]&rdquo;</strong> [{ oxmultilang ident="PAGE_CHECKOUT_BASKET_COUPONNOTACCEPTED2" }]<br>
<strong>[{ oxmultilang ident="PAGE_CHECKOUT_BASKET_REASON" }]</strong>
[{ $oEr->getOxMessage() }]
</div>
[{/if}]
[{/foreach}]
<label>[{ oxmultilang ident="PAGE_CHECKOUT_BASKET_ENTERCOUPONNUMBER" }]</label>
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="basket">
<input type="hidden" name="fnc" value="addVoucher">
<input type="text" size="20" name="voucherNr" class="textbox js-oxValidate js-oxValidate_notEmpty">
<button type="submit" class="submitButton">[{ oxmultilang ident="PAGE_CHECKOUT_BASKET_SUBMITCOUPON" }]</button>
<p class="oxValidateError">
<span class="js-oxError_notEmpty">[{ oxmultilang ident="EXCEPTION_INPUT_NOTALLFIELDS" }]</span>
</p>
<input type="hidden" name="CustomError" value='basket'>
</div>
</form>
</div>
[{/block}]
[{/if}]
</div>
<div class="lineBox clear">
[{if $oView->showBackToShop()}]
[{block name="checkout_basket_backtoshop_bottom"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=basket" }]" method="post">
<div class="backtoshop">
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="basket">
<input type="hidden" name="fnc" value="backtoshop">
<button type="submit" class="submitButton largeButton">[{ oxmultilang ident="PAGE_CHECKOUT_BASKET_CONTINUESHOPPING" }]</button>
</div>
</form>
[{/block}]
[{/if}]
[{if $oView->isLowOrderPrice() }]
[{block name="checkout_basket_loworderprice_bottom"}]
<div>[{ oxmultilang ident="PAGE_CHECKOUT_BASKET_MINORDERPRICE" }] [{ $oView->getMinOrderPrice() }] [{ $currency->sign }]</div>
[{/block}]
[{else}]
[{block name="basket_btn_next_bottom"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="user">
<button type="submit" class="submitButton largeButton nextStep">[{ oxmultilang ident="PAGE_CHECKOUT_BASKET_NEXTSTEP" }]</button>
</form>
[{/block}]
[{/if}]
</div>
[{/if }]
[{if $oView->isWrapping() }]
[{include file="page/checkout/inc/wrapping.tpl"}]
[{/if}]
[{/block}]
[{insert name="oxid_tracker" title=$template_title }]
[{/capture}]
[{include file="layout/page.tpl"}]

View File

@ -0,0 +1,62 @@
[{block name="checkout_user_options"}]
[{oxscript include="js/widgets/oxequalizer.js" priority=10 }]
[{oxscript add="$(function(){oxEqualizer.equalHeight($( '.checkoutOptions .option' ));});"}]
<div class="checkoutOptions clear">
[{block name="checkout_options_noreg"}]
[{if $oView->getShowNoRegOption() }]
<div class="lineBox option" id="optionNoRegistration">
<h3>[{ oxmultilang ident="PURCHASE_WITHOUT_REGISTRATION" }]</h3>
[{block name="checkout_options_noreg_text"}]
<p>[{ oxmultilang ident="DO_NOT_WANT_CREATE_ACCOUNT" }]</p>
[{if $oView->isDownloadableProductWarning() }]
<p class="errorMsg">[{ oxmultilang ident="MESSAGE_DOWNLOADABLE_PRODUCT" }]</p>
[{/if}]
[{/block}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
<p>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="user">
<input type="hidden" name="fnc" value="">
<input type="hidden" name="option" value="1">
<button class="submitButton nextStep" type="submit">[{ oxmultilang ident="NEXT" }]</button>
</p>
</form>
</div>
[{/if}]
[{/block}]
[{block name="checkout_options_reg"}]
<div class="lineBox option" id="optionRegistration">
<h3>[{ oxmultilang ident="OPEN_PERSONAL_ACCOUNT" }]</h3>
[{block name="checkout_options_reg_text"}]
[{oxifcontent ident="oxregistrationdescription" object="oCont"}]
[{$oCont->oxcontents__oxcontent->value}]
[{/oxifcontent}]
[{/block}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
<p>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="user">
<input type="hidden" name="fnc" value="">
<input type="hidden" name="option" value="3">
<button class="submitButton nextStep" type="submit">[{ oxmultilang ident="NEXT" }]</button>
</p>
</form>
</div>
[{/block}]
[{block name="checkout_options_login"}]
<div class="lineBox option" id="optionLogin">
<h3>[{ oxmultilang ident="ALREADY_CUSTOMER" }]</h3>
[{block name="checkout_options_login_text"}]
<p>[{ oxmultilang ident="LOGIN_DESCRIPTION" }]</p>
[{/block}]
[{ include file="form/login.tpl"}]
</div>
[{/block}]
</div>
[{/block}]

View File

@ -0,0 +1,60 @@
[{block name="checkout_user_options"}]
[{oxscript include="js/widgets/oxequalizer.js" priority=10 }]
[{oxscript add="$(function(){oxEqualizer.equalHeight($( '.checkoutOptions .option' ));});"}]
<div class="checkoutOptions clear">
[{block name="checkout_options_noreg"}]
[{if $oView->getShowNoRegOption() }]
<div class="lineBox option" id="optionNoRegistration">
<h3>[{ oxmultilang ident="PAGE_CHECKOUT_USER_OPTION_NOREGISTRATION" }]</h3>
[{block name="checkout_options_noreg_text"}]
<p>[{ oxmultilang ident="PAGE_CHECKOUT_USER_OPTION_NOREGISTRATION_DESCRIPTION" }]</p>
[{if $oView->isDownloadableProductWarning() }]
<p class="errorMsg">[{ oxmultilang ident="MESSAGE_DOWNLOADABLE_PRODUCT" }]</p>
[{/if}]
[{/block}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
<p>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="user">
<input type="hidden" name="fnc" value="">
<input type="hidden" name="option" value="1">
<button class="submitButton nextStep" type="submit">[{ oxmultilang ident="PAGE_CHECKOUT_USER_OPTION_NEXT" }]</button>
</p>
</form>
</div>
[{/if}]
[{/block}]
[{block name="checkout_options_reg"}]
<div class="lineBox option" id="optionRegistration">
<h3>[{ oxmultilang ident="PAGE_CHECKOUT_USER_OPTION_REGISTRATION" }]</h3>
[{block name="checkout_options_reg_text"}]
<p>[{ oxmultilang ident="PAGE_CHECKOUT_USER_OPTION_REGISTRATION_DESCRIPTION" }]</p>
[{/block}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
<p>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="user">
<input type="hidden" name="fnc" value="">
<input type="hidden" name="option" value="3">
<button class="submitButton nextStep" type="submit">[{ oxmultilang ident="PAGE_CHECKOUT_USER_OPTION_NEXT" }]</button>
</p>
</form>
</div>
[{/block}]
[{block name="checkout_options_login"}]
<div class="lineBox option" id="optionLogin">
<h3>[{ oxmultilang ident="PAGE_CHECKOUT_USER_OPTION_LOGIN" }]</h3>
[{block name="checkout_options_login_text"}]
<p>[{ oxmultilang ident="PAGE_CHECKOUT_USER_OPTION_LOGIN_DESCRIPTION" }]</p>
[{/block}]
[{ include file="form/login.tpl"}]
</div>
[{/block}]
</div>
[{/block}]

View File

@ -0,0 +1,250 @@
[{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>&nbsp;</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}]

View File

@ -0,0 +1,234 @@
[{capture append="oxidBlock_content"}]
[{block name="checkout_order_errors"}]
[{ if $oView->isConfirmAGBActive() && $oView->isConfirmAGBError() == 1 }]
[{include file="message/error.tpl" statusMessage="PAGE_CHECKOUT_ORDER_READANDCONFIRMTERMS"|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>&nbsp;</span>
<span class="title">[{ oxmultilang ident="PAGE_CHECKOUT_ORDER_TITLE2" }]</span>
</div>
[{/if}]
[{block name="checkout_order_details"}]
[{ if !$oxcmp_basket->getProductsCount() }]
[{block name="checkout_order_emptyshippingcart"}]
<div class="status corners error">[{ oxmultilang ident="PAGE_CHECKOUT_ORDER_BASKETEMPTY" }]</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="PAGE_CHECKOUT_ORDER_BACKSTEP" }]</a>
<button type="submit" class="submitButton nextStep largeButton">[{ oxmultilang ident="PAGE_CHECKOUT_ORDER_SUBMITORDER" }]</button>
</div>
[{/if}]
</form>
</div>
[{/if}]
[{block name="checkout_order_vouchers"}]
[{ if $oViewConf->getShowVouchers() && $oxcmp_basket->getVouchers()}]
[{ oxmultilang ident="PAGE_CHECKOUT_ORDER_USEDCOUPONS" }]
<div>
[{foreach from=$Errors.basket item=oEr key=key }]
[{if $oEr->getErrorClassType() == 'oxVoucherException'}]
[{ oxmultilang ident="PAGE_CHECKOUT_ORDER_COUPONNOTACCEPTED1" }] [{ $oEr->getValue('voucherNr') }] [{ oxmultilang ident="PAGE_CHECKOUT_ORDER_COUPONNOTACCEPTED2" }]<br>
[{ oxmultilang ident="PAGE_CHECKOUT_ORDER_REASON" }]
[{ $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="PAGE_CHECKOUT_ORDER_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="PAGE_CHECKOUT_ORDER_MODIFYADDRESS" }]</button>
</h3>
</form>
<dl>
<dt>[{ oxmultilang ident="PAGE_CHECKOUT_ORDER_BILLINGADDRESS" }]</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="PAGE_CHECKOUT_ORDER_SHIPPINGADDRESS" }]</dt>
<dd>
[{include file="widget/address/shipping_address.tpl" delivadr=$oDelAdress}]
</dd>
</dl>
[{/if}]
[{if $oView->getOrderRemark() }]
<dl class="orderRemarks">
<dt>[{ oxmultilang ident="PAGE_CHECKOUT_ORDER_WHATIWANTEDTOSAY" }]</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="PAGE_CHECKOUT_ORDER_SHIPPINGCARRIER" }]</strong>
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="payment">
<input type="hidden" name="fnc" value="">
<button type="submit" class="submitButton largeButton">[{ oxmultilang ident="PAGE_CHECKOUT_ORDER_MODIFY2" }]</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="PAGE_CHECKOUT_ORDER_PAYMENTMETHOD" }]</strong>
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="payment">
<input type="hidden" name="fnc" value="">
<button type="submit" class="submitButton largeButton">[{ oxmultilang ident="PAGE_CHECKOUT_ORDER_MODIFY3" }]</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="PAGE_CHECKOUT_ORDER_BASKET" }]</strong>
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="basket">
<input type="hidden" name="fnc" value="">
<button type="submit" class="submitButton largeButton">[{ oxmultilang ident="PAGE_CHECKOUT_ORDER_MODIFY4" }]</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>
<div class="lineBox clear">
<a href="[{ oxgetseourl ident=$oViewConf->getPaymentLink() }]" class="prevStep submitButton largeButton">[{ oxmultilang ident="PAGE_CHECKOUT_ORDER_BACKSTEP" }]</a>
<button type="submit" class="submitButton nextStep largeButton">[{ oxmultilang ident="PAGE_CHECKOUT_ORDER_SUBMITORDER" }]</button>
</div>
</form>
[{/block}]
[{/if}]
[{/if}]
[{/block}]
[{/block}]
[{insert name="oxid_tracker" title=$template_title }]
[{/capture}]
[{assign var="template_title" value="PAGE_CHECKOUT_ORDER_TITLE"|oxmultilangassign}]
[{include file="layout/page.tpl" title=$template_title location=$template_title}]

View File

@ -0,0 +1,154 @@
[{capture append="oxidBlock_content"}]
[{* ordering steps *}]
[{include file="page/checkout/inc/steps.tpl" active=3 }]
[{block name="checkout_payment_main"}]
[{assign var="currency" value=$oView->getActCurrency() }]
[{block name="change_shipping"}]
[{ if $oView->getAllSets() }]
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
[{assign var="sAddClassParams" value="cl="|cat:$oViewConf->getActiveClassName()}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:$sAddClassParams }]" name="shipping" id="shipping" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="[{ $oViewConf->getActiveClassName() }]">
<input type="hidden" name="fnc" value="changeshipping">
</div>
<h3 id="deliveryHeader" class="blockHead">[{if $oView->getAllSetsCnt() > 1}][{ oxmultilang ident="SELECT_SHIPPING_METHOD" suffix="COLON" }][{else}][{ oxmultilang ident="SELECT_SHIPPING_METHOD" suffix="COLON"}][{/if}]</h3>
<ul>
<li>
[{block name="act_shipping"}]
<select name="sShipSet" onChange="JavaScript:document.forms.shipping.submit();">
[{foreach key=sShipID from=$oView->getAllSets() item=oShippingSet name=ShipSetSelect}]
<option value="[{$sShipID}]" [{if $oShippingSet->blSelected}]SELECTED[{/if}]>[{ $oShippingSet->oxdeliveryset__oxtitle->value }]</option>
[{/foreach}]
</select>
<noscript>
<button type="submit" class="submitButton largeButton">[{ oxmultilang ident="UPDATE_SHIPPING_CARRIER" }]</button>
</noscript>
[{/block}]
</li>
</ul>
[{assign var="oDeliveryCostPrice" value=$oxcmp_basket->getDeliveryCost() }]
[{if $oDeliveryCostPrice && $oDeliveryCostPrice->getPrice() > 0}]
[{if $oViewConf->isFunctionalityEnabled('blShowVATForDelivery') }]
<div id="shipSetCost">
<b>[{ oxmultilang ident="CHARGES" suffix="COLON"}] [{oxprice price=$oDeliveryCostPrice->getNettoPrice() currency=$currency}]
([{ oxmultilang ident="PLUS_VAT" }]
[{oxprice price=$oDeliveryCostPrice->getVatValue() currency=$currency}])
</b>
</div>
[{ else }]
<div id="shipSetCost">
<b>[{ oxmultilang ident="CHARGES" suffix="COLON" }] [{oxprice price=$oDeliveryCostPrice->getBruttoPrice() currency=$currency}]</b>
</div>
[{/if}]
[{/if}]
<div class="lineBlock"></div>
</form>
[{/if}]
[{/block}]
[{block name="checkout_payment_errors"}]
[{assign var="iPayError" value=$oView->getPaymentError() }]
[{ if $iPayError == 1}]
<div class="status error">[{ oxmultilang ident="ERROR_MESSAGE_COMPLETE_FIELDS_CORRECTLY" }]</div>
[{ elseif $iPayError == 2}]
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_AUTHORIZATION_FAILED" }]</div>
[{ elseif $iPayError == 4 }]
<div class="status error">[{ oxmultilang ident="MESSAGE_UNAVAILABLE_SHIPPING_METHOD" }]</div>
[{ elseif $iPayError == 5 }]
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_UNAVAILABLE_PAYMENT" }]</div>
[{ elseif $iPayError == 6 }]
<div class="status error">[{ oxmultilang ident="TRUSTED_SHOP_UNAVAILABLE_PROTECTION" }]</div>
[{ elseif $iPayError > 6 }]
<!--Add custom error message here-->
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_UNAVAILABLE_PAYMENT" }]</div>
[{ elseif $iPayError == -1}]
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_UNAVAILABLE_PAYMENT_ERROR" suffix="COLON" }] "[{ $oView->getPaymentErrorText() }]").</div>
[{ elseif $iPayError == -2}]
<div class="status error">[{ oxmultilang ident="MESSAGE_NO_SHIPPING_METHOD_FOUND" }]</div>
[{ elseif $iPayError == -3}]
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_SELECT_ANOTHER_PAYMENT" }]</div>
[{elseif $iPayError == -4}]
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_BANK_CODE_INVALID" }]</div>
[{elseif $iPayError == -5}]
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_ACCOUNT_NUMBER_INVALID" }]</div>
[{/if}]
[{/block}]
[{block name="change_payment"}]
[{oxscript include="js/widgets/oxpayment.js" priority=10 }]
[{oxscript add="$( '#payment' ).oxPayment();"}]
[{oxscript include="js/widgets/oxinputvalidator.js" priority=10 }]
[{oxscript add="$('form.js-oxValidate').oxInputValidator();"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
[{assign var="sAddClassParams" value="cl="|cat:$oViewConf->getActiveClassName()}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:$sAddClassParams }]" class="js-oxValidate payment" id="payment" name="order" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="[{ $oViewConf->getActiveClassName() }]">
<input type="hidden" name="fnc" value="validatepayment">
</div>
[{if $oView->getPaymentList()}]
<h3 id="paymentHeader" class="blockHead">[{ oxmultilang ident="PAYMENT_METHOD" }]</h3>
[{ assign var="inptcounter" value="-1"}]
[{foreach key=sPaymentID from=$oView->getPaymentList() item=paymentmethod name=PaymentSelect}]
[{ assign var="inptcounter" value="`$inptcounter+1`"}]
[{block name="select_payment"}]
[{if $sPaymentID == "oxidcashondel"}]
[{include file="page/checkout/inc/payment_oxidcashondel.tpl"}]
[{elseif $sPaymentID == "oxidcreditcard"}]
[{include file="page/checkout/inc/payment_oxidcreditcard.tpl"}]
[{elseif $sPaymentID == "oxiddebitnote"}]
[{include file="page/checkout/inc/payment_oxiddebitnote.tpl"}]
[{else}]
[{include file="page/checkout/inc/payment_other.tpl"}]
[{/if}]
[{/block}]
[{/foreach}]
[{* TRUSTED SHOPS BEGIN *}]
[{include file="page/checkout/inc/trustedshops.tpl"}]
[{* TRUSTED SHOPS END *}]
[{block name="checkout_payment_nextstep"}]
[{if $oView->isLowOrderPrice()}]
<div class="lineBox clear">
<div><b>[{ oxmultilang ident="MIN_ORDER_PRICE" }] [{oxprice price=$oxcmp_basket->getMinOrderPrice() currency=$currency}]</b></div>
</div>
[{else}]
<div class="lineBox clear">
<a href="[{oxgetseourl ident=$oViewConf->getOrderLink()}]" class="prevStep submitButton largeButton" id="paymentBackStepBottom">[{ oxmultilang ident="PREVIOUS_STEP" }]</a>
<button type="submit" name="userform" class="submitButton nextStep largeButton" id="paymentNextStepBottom">[{ oxmultilang ident="CONTINUE_TO_NEXT_STEP" }]</button>
</div>
[{/if}]
[{/block}]
[{elseif $oView->getEmptyPayment()}]
[{block name="checkout_payment_nopaymentsfound"}]
<div class="lineBlock"></div>
<h3 id="paymentHeader" class="blockHead">[{ oxmultilang ident="PAYMENT_INFORMATION" }]</h3>
[{oxifcontent ident="oxnopaymentmethod" object="oCont"}]
[{$oCont->oxcontents__oxcontent->value}]
[{/oxifcontent}]
<input type="hidden" name="paymentid" value="oxempty">
<div class="lineBox clear">
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=user"}]" class="prevStep submitButton largeButton">[{ oxmultilang ident="PREVIOUS_STEP" }]</a>
<button type="submit" name="userform" class="submitButton nextStep largeButton" id="paymentNextStepBottom">[{ oxmultilang ident="CONTINUE_TO_NEXT_STEP" }]</button>
</div>
[{/block}]
[{/if}]
</form>
[{/block}]
[{/block}]
[{insert name="oxid_tracker" title=$template_title }]
[{/capture}]
[{include file="layout/page.tpl"}]

View File

@ -0,0 +1,154 @@
[{capture append="oxidBlock_content"}]
[{* ordering steps *}]
[{include file="page/checkout/inc/steps.tpl" active=3 }]
[{block name="checkout_payment_main"}]
[{assign var="currency" value=$oView->getActCurrency() }]
[{block name="change_shipping"}]
[{ if $oView->getAllSets() }]
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
[{assign var="sAddClassParams" value="cl="|cat:$oViewConf->getActiveClassName()}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:$sAddClassParams }]" name="shipping" id="shipping" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="[{ $oViewConf->getActiveClassName() }]">
<input type="hidden" name="fnc" value="changeshipping">
</div>
<h3 id="deliveryHeader" class="blockHead">[{if $oView->getAllSetsCnt() > 1}][{ oxmultilang ident="SELECT_SHIPPING_METHOD" suffix="COLON" }][{else}][{ oxmultilang ident="SELECT_SHIPPING_METHOD" suffix="COLON"}][{/if}]</h3>
<ul>
<li>
[{block name="act_shipping"}]
<select name="sShipSet" onChange="JavaScript:document.forms.shipping.submit();">
[{foreach key=sShipID from=$oView->getAllSets() item=oShippingSet name=ShipSetSelect}]
<option value="[{$sShipID}]" [{if $oShippingSet->blSelected}]SELECTED[{/if}]>[{ $oShippingSet->oxdeliveryset__oxtitle->value }]</option>
[{/foreach}]
</select>
<noscript>
<button type="submit" class="submitButton largeButton">[{ oxmultilang ident="UPDATE_SHIPPING_CARRIER" }]</button>
</noscript>
[{/block}]
</li>
</ul>
[{assign var="oDeliveryCostPrice" value=$oxcmp_basket->getDeliveryCost() }]
[{if $oDeliveryCostPrice && $oDeliveryCostPrice->getPrice() > 0}]
[{if $oViewConf->isFunctionalityEnabled('blShowVATForDelivery') }]
<div id="shipSetCost">
<b>[{ oxmultilang ident="CHARGES" suffix="COLON"}] [{oxprice price=$oDeliveryCostPrice->getNettoPrice() currency=$currency}]
([{ oxmultilang ident="PLUS_VAT" }]
[{oxprice price=$oDeliveryCostPrice->getVatValue() currency=$currency}])
</b>
</div>
[{ else }]
<div id="shipSetCost">
<b>[{ oxmultilang ident="CHARGES" suffix="COLON" }] [{oxprice price=$oDeliveryCostPrice->getBruttoPrice() currency=$currency}]</b>
</div>
[{/if}]
[{/if}]
<div class="lineBlock"></div>
</form>
[{/if}]
[{/block}]
[{block name="checkout_payment_errors"}]
[{assign var="iPayError" value=$oView->getPaymentError() }]
[{ if $iPayError == 1}]
<div class="status error">[{ oxmultilang ident="ERROR_MESSAGE_COMPLETE_FIELDS_CORRECTLY" }]</div>
[{ elseif $iPayError == 2}]
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_AUTHORIZATION_FAILED" }]</div>
[{ elseif $iPayError == 4 }]
<div class="status error">[{ oxmultilang ident="MESSAGE_UNAVAILABLE_SHIPPING_METHOD" }]</div>
[{ elseif $iPayError == 5 }]
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_UNAVAILABLE_PAYMENT" }]</div>
[{ elseif $iPayError == 6 }]
<div class="status error">[{ oxmultilang ident="TRUSTED_SHOP_UNAVAILABLE_PROTECTION" }]</div>
[{ elseif $iPayError > 6 }]
<!--Add custom error message here-->
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_UNAVAILABLE_PAYMENT" }]</div>
[{ elseif $iPayError == -1}]
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_UNAVAILABLE_PAYMENT_ERROR" suffix="COLON" }] "[{ $oView->getPaymentErrorText() }]").</div>
[{ elseif $iPayError == -2}]
<div class="status error">[{ oxmultilang ident="MESSAGE_NO_SHIPPING_METHOD_FOUND" }]</div>
[{ elseif $iPayError == -3}]
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_SELECT_ANOTHER_PAYMENT" }]</div>
[{elseif $iPayError == -4}]
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_BANK_CODE_INVALID" }]</div>
[{elseif $iPayError == -5}]
<div class="status error">[{ oxmultilang ident="MESSAGE_PAYMENT_ACCOUNT_NUMBER_INVALID" }]</div>
[{/if}]
[{/block}]
[{block name="change_payment"}]
[{oxscript include="js/widgets/oxpayment.js" priority=10 }]
[{oxscript add="$( '#payment' ).oxPayment();"}]
[{oxscript include="js/widgets/oxinputvalidator.js" priority=10 }]
[{oxscript add="$('form.js-oxValidate').oxInputValidator();"}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
[{assign var="sAddClassParams" value="cl="|cat:$oViewConf->getActiveClassName()}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:$sAddClassParams }]" class="js-oxValidate payment" id="payment" name="order" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="[{ $oViewConf->getActiveClassName() }]">
<input type="hidden" name="fnc" value="validatepayment">
</div>
[{if $oView->getPaymentList()}]
<h3 id="paymentHeader" class="blockHead">[{ oxmultilang ident="PAYMENT_METHOD" }]</h3>
[{ assign var="inptcounter" value="-1"}]
[{foreach key=sPaymentID from=$oView->getPaymentList() item=paymentmethod name=PaymentSelect}]
[{ assign var="inptcounter" value="`$inptcounter+1`"}]
[{block name="select_payment"}]
[{if $sPaymentID == "oxidcashondel"}]
[{include file="page/checkout/inc/payment_oxidcashondel.tpl"}]
[{elseif $sPaymentID == "oxidcreditcard"}]
[{include file="page/checkout/inc/payment_oxidcreditcard.tpl"}]
[{elseif $sPaymentID == "oxiddebitnote"}]
[{include file="page/checkout/inc/payment_oxiddebitnote.tpl"}]
[{else}]
[{include file="page/checkout/inc/payment_other.tpl"}]
[{/if}]
[{/block}]
[{/foreach}]
[{* TRUSTED SHOPS BEGIN *}]
[{include file="page/checkout/inc/trustedshops.tpl"}]
[{* TRUSTED SHOPS END *}]
[{block name="checkout_payment_nextstep"}]
[{if $oView->isLowOrderPrice()}]
<div class="lineBox clear">
<div><b>[{ oxmultilang ident="MIN_ORDER_PRICE" }] [{oxprice price=$oxcmp_basket->getMinOrderPrice() currency=$currency}]</b></div>
</div>
[{else}]
<div class="lineBox clear">
<a href="[{oxgetseourl ident=$oViewConf->getOrderLink()}]" class="prevStep submitButton largeButton" id="paymentBackStepBottom">[{ oxmultilang ident="PREVIOUS_STEP" }]</a>
<button type="submit" name="userform" class="submitButton nextStep largeButton" id="paymentNextStepBottom">[{ oxmultilang ident="CONTINUE_TO_NEXT_STEP" }]</button>
</div>
[{/if}]
[{/block}]
[{elseif $oView->getEmptyPayment()}]
[{block name="checkout_payment_nopaymentsfound"}]
<div class="lineBlock"></div>
<h3 id="paymentHeader" class="blockHead">[{ oxmultilang ident="PAYMENT_INFORMATION" }]</h3>
[{oxifcontent ident="oxnopaymentmethod" object="oCont"}]
[{$oCont->oxcontents__oxcontent->value}]
[{/oxifcontent}]
<input type="hidden" name="paymentid" value="oxempty">
<div class="lineBox clear">
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=user"}]" class="prevStep submitButton largeButton">[{ oxmultilang ident="PREVIOUS_STEP" }]</a>
<button type="submit" name="userform" class="submitButton nextStep largeButton" id="paymentNextStepBottom">[{ oxmultilang ident="CONTINUE_TO_NEXT_STEP" }]</button>
</div>
[{/block}]
[{/if}]
</form>
[{/block}]
[{/block}]
[{insert name="oxid_tracker" title=$template_title }]
[{/capture}]
[{include file="layout/page.tpl"}]

View File

@ -0,0 +1,5 @@
[{$smarty.block.parent}]
[{d3modcfgcheck modid="d3_googleanalytics"}]
[{include file=$oViewConf->getModulePath('d3_googleanalytics', 'views/tpl/widget/d3_googleanalytics.tpl')}]
[{/d3modcfgcheck}]

View File

@ -0,0 +1,192 @@
[{if $blD3GoogleAnalyticsActive && $oD3GASettings->getValue('sD3GAId')}]
[{if $oViewConf->getActiveClassName() == 'thankyou'}]
[{assign var="order" value=$oView->getOrder()}]
[{assign var="oPayment" value=$order->getPayment()}]
[{assign var="oDelSet" value=$order->getDelSet()}]
[{assign var="aVoucherSerieList" value=$order->d3getVoucherSerieList()}]
[{assign var="oUser" value=$oView->getUser()}]
[{/if}]
[{capture name="d3GATrackCode"}]
[{strip}]
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '[{ $oD3GASettings->getValue('sD3GAId') }]']);
[{if $oD3GASettings->getValue('blD3GAAnonymizeIP')}]
_gaq.push(['_gat._anonymizeIp']);
[{/if}]
[{if $oD3GASettings->getValue('sD3GASetDomainName')}]
_gaq.push(['_setDomainName', '[{$oD3GASettings->getValue('sD3GASetDomainName')}]']);
_gaq.push(['_setAllowHash', false]);
[{else}]
_gaq.push(['_setDomainName', 'none']);
[{/if}]
[{if $oD3GASettings->getValue('sD3GASetCookiePath')}]
_gaq.push(['_setCookiePath', '[{$oD3GASettings->getValue('sD3GASetCookiePath')}]']);
[{/if}]
[{if $oD3GASettings->getValue('blD3GAAllowDomainLinker')}]
_gaq.push(['_setAllowLinker', true]);
[{/if}]
[{if $oD3GASettings->getValue('blD3GASetClientInfo')}]
_gaq.push(['_setClientInfo', false]);
[{else}]
_gaq.push(['_setClientInfo', true]);
[{/if}]
[{if $oD3GASettings->getValue('blD3GASetDetectFlash')}]
_gaq.push(['_setDetectFlash', false]);
[{else}]
_gaq.push(['_setDetectFlash', true]);
[{/if}]
[{if $oD3GASettings->getValue('blD3GASetDetectTitle')}]
_gaq.push(['_setDetectTitle', false]);
[{else}]
_gaq.push(['_setDetectTitle', true]);
[{/if}]
[{if !$oD3GASettings->getValue('blD3GASetCampaignTrack')}]
_gaq.push(['_setCampaignTrack', true]);
[{else}]
_gaq.push(['_setCampaignTrack', false]);
[{/if}]
[{if !$oD3GASettings->getValue('blD3GASetCampaignTrack') && $oD3GASettings->getValue('sD3GASetCampaignCookieTimeout')}]
_gaq.push(['_setCampaignCookieTimeout', '[{$oD3GASettings->getValue('sD3GASetCampaignCookieTimeout')}]']);
[{/if}]
[{if !$oD3GASettings->getValue('blD3GASetCampaignTrack') && $oD3GASettings->getValue('sD3GASetCampNameKey')}]
_gaq.push(['_setCampNameKey', '[{$oD3GASettings->getValue('sD3GASetCampNameKey')}]']);
[{/if}]
[{if !$oD3GASettings->getValue('blD3GASetCampaignTrack') && $oD3GASettings->getValue('sD3GASetCampMediumKey')}]
_gaq.push(['_setCampMediumKey', '[{$oD3GASettings->getValue('sD3GASetCampMediumKey')}]']);
[{/if}]
[{if !$oD3GASettings->getValue('blD3GASetCampaignTrack') && $oD3GASettings->getValue('sD3GASetCampSourceKey')}]
_gaq.push(['_setCampSourceKey', '[{$oD3GASettings->getValue('sD3GASetCampSourceKey')}]']);
[{/if}]
[{if !$oD3GASettings->getValue('blD3GASetCampaignTrack') && $oD3GASettings->getValue('sD3GASetCampTermKey')}]
_gaq.push(['_setCampTermKey', '[{$oD3GASettings->getValue('sD3GASetCampTermKey')}]']);
[{/if}]
[{if !$oD3GASettings->getValue('blD3GASetCampaignTrack') && $oD3GASettings->getValue('sD3GASetCampContentKey')}]
_gaq.push(['_setCampContentKey', '[{$oD3GASettings->getValue('sD3GASetCampContentKey')}]']);
[{/if}]
[{if !$oD3GASettings->getValue('blD3GASetCampaignTrack') && $oD3GASettings->getValue('sD3GASetCampContentKey')}]
_gaq.push(['_setCampNOKey', 'ga_nooverride']);
[{/if}]
[{if $oD3GASettings->getValue('blD3GAUseCustomVars')}]
[{* /*** add custom variables here ***/ *}]
[{if $oxcmp_user}]
_gaq.push(['_setCustomVar',
1, [{*// This custom var is set to slot #1. Required parameter.*}]
'Geschlecht', [{*// The name of the custom variable. Required parameter.*}]
[{if $oxcmp_user->oxuser__oxsal->value == 'MR'}]'male'[{elseif $oxcmp_user->oxuser__oxsal->value == 'MRS'}]'female'[{/if}],
[{*// The value of the custom variable. Required parameter.*}]
1 [{*// Sets the scope to visitor-level. Optional parameter.*}]
]);
[{/if}]
[{if $oViewConf->getActiveClassName() == 'thankyou' && $oPayment}]
_gaq.push(['_setCustomVar',2,'Zahlungsart', '[{$oPayment->getFieldData('oxdesc')}]' , 3]);
[{/if}]
[{if $oViewConf->getActiveClassName() == 'thankyou' && $oDelSet}]
_gaq.push(['_setCustomVar',3,'Versandart', '[{$oDelSet->getFieldData('oxtitle')}]' , 3]);
[{/if}]
[{if $oViewConf->getActiveClassName() == 'thankyou' && $aVoucherSerieList}]
[{foreach from=$aVoucherSerieList item="oVoucherSerie"}]
_gaq.push(['_setCustomVar',4,'Gutschein', '[{$oVoucherSerie->getFieldData('oxserienr')}]', 3]);
[{/foreach}]
[{/if}]
[{if $oViewConf->getActiveClassName() == 'thankyou' && $order}]
_gaq.push(['_setCustomVar',5,'Waehrung', '[{$order->getFieldData('oxcurrency')}]' , 3]);
[{/if}]
[{if $oViewConf->getActiveClassName() == 'thankyou'}]
_gaq.push(['_setCustomVar',5,'Neukunde', '[{$oView->isNewCustomer()}]',3]);
[{/if}]
[{/if}]
_gaq.push(['_trackPageview']);
[{if $oD3GASettings->getValue('blD3GATrackPageLoadTime')}]
_gaq.push(['_trackPageLoadTime']);
[{/if}]
[{if $oD3GASettings->getValue('sD3GACookiePathCopy')}]
_gaq.push(['_cookiePathCopy', '[{$oD3GASettings->getValue('sD3GACookiePathCopy')}]']);
[{/if}]
[{if $oD3GASettings->getValue('blD3GASendECommerce') && $oViewConf->getActiveClassName() == 'thankyou'}]
[{assign var="currate" value=$order->oxorder__oxcurrate->value}]
_gaq.push(['_addTrans',
'[{ $order->oxorder__oxordernr->value }]', [{* // order ID - required *}]
'[{ $oxcmp_shop->oxshops__oxname->value}]', [{* // affiliation or store name *}]
[{if $oD3GASettings->getValue('blD3GAUseNetto') }]
'[{math equation="s / r" s=$order->getOrderNetSum() r=$currate format="%.2f"}]', [{* // total - required - has to be gross sum *}]
[{else}]
'[{math equation="s / r" s=$order->getTotalOrderSum() r=$currate format="%.2f"}]', [{* // total - required *}]
[{/if}]
'[{math equation="s - r" s=$order->getTotalOrderSum() r=$order->getOrderNetSum() format="%.2f"}]', [{* // tax *}]
'[{math equation="s / r" s=$order->oxorder__oxdelcost->value r=$currate format="%.2f"}]', [{* // shipping *}]
'[{ $order->oxorder__oxbillcity->value }]', [{* // city *}]
'[{ $order->oxorder__oxbillstate->value }]', [{* // state or province *}]
'[{ $order->oxorder__oxbillcountry->value }]' [{* // country *}]
]);
[{foreach from=$order->getOrderArticles() item=oOrderArticle}]
_gaq.push(['_addItem',
'[{ $order->oxorder__oxordernr->value }]', [{* // order ID - required *}]
'[{ $oOrderArticle->oxorderarticles__oxartnum->value }]', [{* // SKU/code *}]
'[{ $oOrderArticle->oxorderarticles__oxtitle->value }]', [{* // product name *}]
'[{ $oOrderArticle->oxorderarticles__oxselvariant->value }]', [{* // category or variation *}]
[{if $oD3GASettings->getValue('blD3GAUseNetto') }]
[{assign var="oPrice" value=$oOrderArticle->getPrice()}]
'[{math equation="s / r" s=$oPrice->getNettoPrice() r=$currate format="%.2f"}]', [{* // unit price - required *}]
[{else}]
'[{ $oOrderArticle->oxorderarticles__oxprice->value }]', [{* // unit price - required - is not currency depended *}]
[{/if}]
'[{ $oOrderArticle->oxorderarticles__oxamount->value }]' [{* // quantity - required *}]
]);
[{/foreach}]
_gaq.push(['_trackTrans']);
[{/if}]
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
[{if $oD3GASettings->getValue('blD3GAUseRemarketing')}]
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
[{else}]
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
[{/if}]
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
[{if (!$oD3GASettings->getValue('blD3GASetCampaignOnThankyouOnly') || $oViewConf->getActiveClassName() == 'thankyou') &&
!$oD3GASettings->getValue('blD3GASetCampaignTrack') && $oD3GASettings->getValue('sD3GACampaignCode')}]
[{$oD3GASettings->getValue('sD3GACampaignCode')}]
[{/if}]
[{/strip}]
[{/capture}]
[{if $oViewConf->getActiveClassName() == 'thankyou'}]
[{$oView->logCode($smarty.capture.d3GATrackCode)}]
[{/if}]
[{$smarty.capture.d3GATrackCode}]
[{/if}]