basic implementation

This commit is contained in:
Daniel Seifert 2012-12-20 14:41:06 +00:00
parent 929754d66b
commit 3685f6b70a
18 changed files with 42 additions and 1491 deletions

26
.gitattributes vendored
View File

@ -245,22 +245,16 @@ Sources/doku/12_gaTrackingOverview-Dateien/local_extensions.css -text
Sources/doku/12_gaTrackingOverview-Dateien/semantic_headers.css -text Sources/doku/12_gaTrackingOverview-Dateien/semantic_headers.css -text
Sources/doku/12_gaTrackingOverview-Dateien/star_off.gif -text Sources/doku/12_gaTrackingOverview-Dateien/star_off.gif -text
Sources/doku/12_gaTrackingOverview.html -text Sources/doku/12_gaTrackingOverview.html -text
changed_full/460-464/out/admin/de/d3_googleanalytics_lang.php -text changed_full/460-464/modules/d3/d3GoogleAnalytics/views/admin/de/d3_googleanalytics_lang.php -text
changed_full/460-464/out/admin/en/d3_googleanalytics_lang.php -text changed_full/460-464/modules/d3/d3GoogleAnalytics/views/admin/en/d3_googleanalytics_lang.php -text
changed_full/460-464/out/admin/tpl/d3_cfg_googleanalytics_campaigns.tpl -text changed_full/460-464/modules/d3/d3GoogleAnalytics/views/admin/tpl/d3_cfg_googleanalytics_campaigns.tpl -text
changed_full/460-464/out/admin/tpl/d3_cfg_googleanalytics_main.tpl -text changed_full/460-464/modules/d3/d3GoogleAnalytics/views/admin/tpl/d3_cfg_googleanalytics_main.tpl -text
changed_full/460-464/out/azure/tpl/form/user_checkout_change.tpl -text changed_full/460-464/modules/d3/d3GoogleAnalytics/views/tpl/form/user_checkout_change.tpl -text
changed_full/460-464/out/azure/tpl/form/user_checkout_noregistration.tpl -text changed_full/460-464/modules/d3/d3GoogleAnalytics/views/tpl/form/user_checkout_noregistration.tpl -text
changed_full/460-464/out/azure/tpl/form/user_checkout_registration.tpl -text changed_full/460-464/modules/d3/d3GoogleAnalytics/views/tpl/form/user_checkout_registration.tpl -text
changed_full/460-464/out/azure/tpl/layout/footer.tpl -text changed_full/460-464/modules/d3/d3GoogleAnalytics/views/tpl/layout/footer.tpl -text
changed_full/460-464/out/azure/tpl/page/checkout/basket.tpl -text changed_full/460-464/modules/d3/d3GoogleAnalytics/views/tpl/page/checkout/basket.tpl -text
changed_full/460-464/out/azure/tpl/widget/d3googleanalytics/d3GoogleAnalytics.tpl -text changed_full/460-464/modules/d3/d3GoogleAnalytics/views/tpl/widget/d3googleanalytics/d3GoogleAnalytics.tpl -text
changed_full/460-464/out/basic/tpl/_footer.tpl -text
changed_full/460-464/out/basic/tpl/dyn/mini_basket.tpl -text
changed_full/460-464/out/basic/tpl/inc/d3GoogleAnalytics.tpl -text
changed_full/460-464/out/basic/tpl/inc/popup_basket.tpl -text
changed_full/460-464/out/basic/tpl/page/checkout/basket.tpl -text
changed_full/460-464/out/basic/tpl/page/checkout/user.tpl -text
copy_this/core/smarty/plugins/function.d3getArticleFromOrderArticle.php -text copy_this/core/smarty/plugins/function.d3getArticleFromOrderArticle.php -text
copy_this/modules/d3/d3GoogleAnalytics/controllers/admin/d3_cfg_googleanalytics.php -text copy_this/modules/d3/d3GoogleAnalytics/controllers/admin/d3_cfg_googleanalytics.php -text
copy_this/modules/d3/d3GoogleAnalytics/controllers/admin/d3_cfg_googleanalytics_campaigns.php -text copy_this/modules/d3/d3GoogleAnalytics/controllers/admin/d3_cfg_googleanalytics_campaigns.php -text

View File

@ -116,60 +116,21 @@ div.box{background: white url([{$oView->getBGLogoUrl()}]) no-repeat bottom right
<input type="hidden" name="editval[d3_cfg_mod__oxid]" value="[{ $oxid }]"> <input type="hidden" name="editval[d3_cfg_mod__oxid]" value="[{ $oxid }]">
<table border="0" width="98%"> <table border="0" width="98%">
<tr> <tr>
<td valign="top" class="edittext"> <td valign="top" class="edittext">
<table style="width: 100%"> [{assign var="incpath" value=$oViewConf->getModulePath('d3modcfg_lib')|cat:"views/admin/tpl/inc/d3_cfg_mod_active.tpl"}]
<tr> [{include file=$incpath}]
<td style="width:50%; border-right: 1px solid #999;">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="edittext ext_edittext">
[{oxmultilang ident="D3_CFG_MOD_GENERAL_MODULEACTIVE"}]
</td>
<td class="edittext ext_edittext">
<input type="hidden" name="editval[d3_cfg_mod__oxactive]" value='0'>
<input class="edittext ext_edittext" type="checkbox" name="editval[d3_cfg_mod__oxactive]" value='1' [{if $edit->d3_cfg_mod__oxactive->value == 1}]checked[{/if}]>
</td>
</tr>
</table>
</td>
<td>
[{assign var="blD3HasLog" value=$oView->checkD3Log() }]
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="edittext ext_edittext" style="width: 100%;">
[{if $blD3HasLog}]
[{oxmultilang ident="D3_CFG_MOD_GENERAL_MODULELOGGING"}]
[{/if}]
</td>
<td class="edittext ext_edittext" align="left">
[{if $blD3HasLog}]
<select name="editval[d3_cfg_mod__oxismodulelog]" class="edittext">
<option value="0" [{if $edit->d3_cfg_mod__oxismodulelog->value == 0}]selected[{/if}]>[{oxmultilang ident="D3_CFG_MOD_GENERAL_MODULELOGGING_NONE"}]</option>
<option value="1" [{if $edit->d3_cfg_mod__oxismodulelog->value == 1}]selected[{/if}]>[{oxmultilang ident="D3_CFG_MOD_GENERAL_MODULELOGGING_ALL"}]</option>
<option value="2" [{if $edit->d3_cfg_mod__oxismodulelog->value == 2}]selected[{/if}]>[{oxmultilang ident="D3_CFG_MOD_GENERAL_MODULELOGGING_ERRORS"}]</option>
</select>
[{/if}]
</td>
</tr>
<tr>
<td class="edittext ext_edittext" style="width: 100%;">
&nbsp;
</td>
<td class="edittext ext_edittext" align="left">
&nbsp;
</td>
</tr>
</table>
</td>
</tr>
</table>
[{if $oView->getValueStatus() == 'error'}] [{if $oView->getValueStatus() == 'error'}]
<hr> <hr>
<b>[{oxmultilang ident="D3_CFG_MOD_GENERAL_NOCONFIG_DESC"}]</b><br> <b>[{oxmultilang ident="D3_CFG_MOD_GENERAL_NOCONFIG_DESC"}]</b>
<input type="submit" value="[{oxmultilang ident="D3_CFG_MOD_GENERAL_NOCONFIG_BTN"}]"> <br>
<br>
<span class="d3modcfg_btn fixed icon status_attention">
<input type="submit" value="[{oxmultilang ident="D3_CFG_MOD_GENERAL_NOCONFIG_BTN"}]">
<span></span>
</span>
</form> </form>
[{else}] [{else}]
@ -398,9 +359,12 @@ div.box{background: white url([{$oView->getBGLogoUrl()}]) no-repeat bottom right
<br><br>[{oxmultilang ident="D3_GOOGLEANALYTICS_SECURITYINFORMATIONS"}] <br><br>[{oxmultilang ident="D3_GOOGLEANALYTICS_SECURITYINFORMATIONS"}]
[{/if}] [{/if}]
</td>
</tr>
</table>
[{assign var="incpath" value=$oViewConf->getModulePath('d3modcfg_lib')|cat:"views/admin/tpl/d3_cfg_mod_inc.tpl"}]
[{include file="bottomitem.tpl"}] [{include file=$incpath}]
<script type="text/javascript"> <script type="text/javascript">
if (parent.parent) if (parent.parent)

View File

@ -1,90 +0,0 @@
<div class="clear"></div>
</div>
<div id="footer">
<div class="bar copy">
<div class="left" id="delivery_link">
[{if $oView->isPriceCalculated() }]
[{oxifcontent ident="oxdeliveryinfo" object="oCont"}]
[{if $oView->isVatIncluded()}]
<a href="[{ $oCont->getLink() }]" rel="nofollow">[{ oxmultilang ident="INC_FOOTER_INCLTAXANDPLUSSHIPPING" }]</a>
[{else}]
<a href="[{ $oCont->getLink() }]" rel="nofollow"> [{ oxmultilang ident="PLUS_SHIPPING3" }]</a>
[{/if}]
[{/oxifcontent}]
[{/if}]
</div>
<div class="right">
&copy; <a href="[{ oxmultilang ident="OXID_ESALES_URL" }]" title="[{ oxmultilang ident="OXID_ESALES_URL_TITLE" }]">[{ oxmultilang ident="INC_FOOTER_SOFTWAREFROMOXIDESALES" }]</a>
</div>
<div class="clear"></div>
</div>
<div class="bar shop">
<a id="test_link_footer_home" href="[{ $oViewConf->getHomeLink() }]">[{ oxmultilang ident="INC_FOOTER_HOME" }]</a> |
<a id="test_link_footer_contact" href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=contact" }]">[{ oxmultilang ident="INC_FOOTER_CONTACT" }]</a> |
<a id="test_link_footer_help" href="[{ $oViewConf->getHelpPageLink() }]">[{ oxmultilang ident="INC_FOOTER_HELP" }]</a> |
<a id="test_link_footer_guestbook" href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=guestbook" }]">[{ oxmultilang ident="INC_FOOTER_GUESTBOOK" }]</a> |
<a id="test_link_footer_links" href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=links" }]">[{ oxmultilang ident="INC_FOOTER_LINKS" }]</a> |
[{oxifcontent ident="oximpressum" object="oCont"}]
<a id="test_link_footer_impressum" href="[{ $oCont->getLink() }]">[{ $oCont->oxcontents__oxtitle->value }]</a> |
[{/oxifcontent}]
[{oxifcontent ident="oxagb" object="oCont"}]
<a id="test_link_footer_terms" href="[{ $oCont->getLink() }]" rel="nofollow">[{ $oCont->oxcontents__oxtitle->value }]</a> |
[{/oxifcontent}]
<br>
[{oxhasrights ident="TOBASKET"}]
<a id="test_link_footer_basket" href="[{ oxgetseourl ident=$oViewConf->getBasketLink() }]" rel="nofollow">[{ oxmultilang ident="INC_FOOTER_CART" }]</a> |
[{/oxhasrights}]
<a id="test_link_footer_account" href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account" }]" rel="nofollow">[{ oxmultilang ident="INC_FOOTER_MYACCOUNT" }]</a> |
<a id="test_link_footer_noticelist" href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_noticelist" }]" rel="nofollow"> [{ oxmultilang ident="INC_FOOTER_MYNOTICELIST" }]</a>
[{if $oViewConf->getShowWishlist()}]
| <a id="test_link_footer_wishlist" href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_wishlist" }]" rel="nofollow"> [{ oxmultilang ident="INC_FOOTER_MYWISHLIST" }]</a>
| <a href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=wishlist" params="wishid="|cat:$oView->getWishlistUserId() }]" rel="nofollow">[{ oxmultilang ident="INC_FOOTER_PUBLICWISHLIST" }]</a>
[{/if}]
[{if $oView->isEnabledDownloadableFiles()}]
| <a id="test_link_footer_downloads" href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_downloads" }]" rel="nofollow"> [{ oxmultilang ident="MY_DOWNLOADS" }]</a>
[{/if}]
</div>
<div class="bar icons">
[{*
<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Strict" height="31" width="88"></a>
<a href="http://jigsaw.w3.org/css-validator/"><img style="border:0;width:88px;height:31px" src="http://www.w3.org/Icons/valid-css2" alt="Valid CSS!" /></a>
*}]
</div>
<div class="shopicons">
<div class="left"><img src="[{$oViewConf->getImageUrl()}]cc.jpg" alt=""></div>
<div class="right"><a href="[{ oxmultilang ident="OXID_ESALES_URL" }]" title="[{ oxmultilang ident="OXID_ESALES_URL_TITLE" }]"><img src="[{$oViewConf->getImageUrl()}]oxid_powered.jpg" alt="[{ oxmultilang ident="INC_FOOTER_SOFTWAREANDSYSTEMBYOXID" }]" height="30" width="80"></a></div>
</div>
[{oxifcontent ident="oxstdfooter" object="oCont"}]
<div class="footertext">[{$oCont->oxcontents__oxcontent->value}]</div>
[{/oxifcontent}]
</div>
</div>
</div>
<div id="mask"></div>
[{if $popup}][{include file=$popup}][{/if}]
[{oxid_include_dynamic file="dyn/newbasketitem_popup.tpl"}]
[{if $oView->showFbConnectToAccountMsg()}]
[{ insert name="oxid_fblogin"}]
[{/if}]
[{oxid_include_dynamic file="dyn/popup_scbasketexcl.tpl"}]
[{oxscript include="oxid.js"}]
[{ include file="inc/facebook/fb_init.tpl" }]
[{oxscript}][{oxid_include_dynamic file="dyn/oxscript.tpl" }]
<!--[if lt IE 7]><script type="text/javascript">oxid.popup.addShim();</script><![endif]-->
[{*** D3 MOD START * GoogleAnalytics ***}]
[{d3modcfgcheck modid="d3_googleanalytics"}]
[{include file="inc/d3GoogleAnalytics.tpl"}]
[{/d3modcfgcheck}]
[{*** D3 MOD END * GoogleAnalytics ***}]
</body>
</html>

View File

@ -1,84 +0,0 @@
[{ if $oxcmp_basket->getProductsCount()}] <!-- $bl_perfShowRightBasket && -->
[{oxhasrights ident="TOBASKET"}]
[{assign var="currency" value=$oView->getActCurrency() }]
<div class="minibasket_container">
<strong class="h2">
<a id="test_[{$_basket_testid}]Header" rel="nofollow" href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=basket" }]">[{ oxmultilang ident="INC_RIGHTITEM_BASKET" }]</a>
</strong>
<div class="box minibasket">
[{if $_basket_extended }]
[{foreach from=$oxcmp_basket->getContents() name=rightlist item=_product}]
<div id="test_[{$_basket_testid}]Title_[{$_product->getProductId()}]_[{$smarty.foreach.rightlist.iteration}]" class="listitem">
[{ assign var="sRightListArtTitle" value=$_product->getTitle() }]
<a id="test_[{$_basket_testid}]Pic_[{$_product->getProductId()}]_[{$smarty.foreach.rightlist.iteration}]" href="[{$_product->getLink()}]" class="picture">
<img src="[{$_product->getIconUrl()}]" alt="[{ $sRightListArtTitle|strip_tags }]">
</a>
<a id="test_[{$_basket_testid}]TitleLink_[{$_product->getProductId()}]_[{$smarty.foreach.rightlist.iteration}]" href="[{$_product->getLink()}]">[{ $sRightListArtTitle|strip_tags }]</a>
<br>
( [{$_product->getAmount()}] [{ oxmultilang ident="INC_CMP_BASKET_QTY" }] )
</div>
[{/foreach}]
<div class="hr"></div>
[{/if}]
<table class="total">
<tr>
<th>[{ oxmultilang ident="INC_CMP_BASKET_PRODUCT" }]</th>
<td id="test_[{$_basket_testid}]Products">[{ $oxcmp_basket->getProductsCount()}]</td>
</tr>
<tr>
<th>[{ oxmultilang ident="INC_CMP_BASKET_QUANTITY" }]</th>
<td id="test_[{$_basket_testid}]Items">[{ $oxcmp_basket->getItemsCount()}]</td>
</tr>
[{ if $oxcmp_basket->getDeliveryCosts() }]
<tr>
<th>[{ oxmultilang ident="INC_CMP_BASKET_SHIPPING" }]</th>
<td id="test_[{$_basket_testid}]Shipping">[{ $oxcmp_basket->getFDeliveryCosts() }] [{ $currency->sign}] </td>
</tr>
[{ /if}]
<tr>
<th><b>[{ oxmultilang ident="INC_CMP_BASKET_TOTALPRODUCTS" }]</b></th>
<td id="test_[{$_basket_testid}]Total"><b>[{ $oxcmp_basket->getFProductsPrice()}] [{ $currency->sign}]</b></td>
</tr>
[{if $oViewConf->getShowBasketTimeout()}]
<tr>
<th>[{ oxmultilang ident="INC_CMP_BASKET_TIMEOUT" }]</th>
[{counter name="mini_basket_countdown_nr" assign="countdown_nr"}]
<td class="countdown" id="countdown_[{$countdown_nr}]">[{$oViewConf->getBasketTimeLeft()|oxformattime}]</td>
[{oxscript include="jquery.min.js"}]
[{oxscript include="countdown.jquery.js"}]
[{capture name="countdown"}]
$(document).ready(
function(){
$(".minibasket_container #countdown_[{$countdown_nr}]").countdown(
function(count, element, container) {
if (count <= 1) {
$(element).parents(".minibasket_container").hide();
return container.not(element);
}
}
);
}
);
[{/capture}]
[{oxscript add=$smarty.capture.countdown}]
</tr>
[{/if}]
</table>
<div class="hr"></div>
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSelfActionLink()|oxaddparams:"cl=basket" }]" method="post">
<div class="ta_right">
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="basket">
<div class="tocart"><input id="test_[{$_basket_testid}]Open" type="submit" class="btn" value="[{ oxmultilang ident="INC_RIGHTITEM_DISPLAYBASKET" }]"></div>
</div>
</form>
</div>
</div>
[{/oxhasrights}]
[{/if}]

View File

@ -1,182 +0,0 @@
[{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()}]
[{/if}]
[{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}]
_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 *}]
'[{math equation="s / r" s=$order->getTotalOrderSum() r=$currate format="%.2f"}]', [{* // total - required *}]
[{else}]
'[{math equation="s / r" s=$order->getTotalOrderSum() r=$currate format="%.2f"}]', [{* // total - required *}]
[{/if}]
'', [{* // 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}]
[{/if}]

View File

@ -1,65 +0,0 @@
<div id="wait" class="popup">
<strong>[{ oxmultilang ident="BASKET_POPUP_ADDEDARTICLETOBASKET" }]</strong>
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getCurrentHomeDir() }]index.php?cl=basket" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="basket">
<input type="hidden" name="redirected" value="1">
[{oxhasrights ident="TOBASKET"}]
<input id="test_popupCart" type="submit" class="bl" value="[{ oxmultilang ident="BASKET_POPUP_FULL_DISPLAYCART" }]" onclick="if (oxid.popup) {oxid.popup.hide();}">
[{/oxhasrights}]
<input id="test_popupContinue" type="button" class="br disabled" value="[{ oxmultilang ident="BASKET_POPUP_FULL_CONTINUESHOPPING" }]" onclick="oxid.popup.hide();return false;" disabled="disabled">
</div>
</form>
</div>
[{ if $oxcmp_basket->getProductsCount() && ( $_newitem || $Errors.popup )}]
[{assign var="currency" value=$oView->getActCurrency() }]
<div id="popup" class="popup">
[{if $Errors.popup}]
[{foreach from=$Errors.popup item=oEr }]
<strong class="err">[{ $oEr->getOxMessage() }]</strong>
[{/foreach}]
[{else}]
<strong>[{ oxmultilang ident="BASKET_POPUP_FULL_ADDEDARTICLETOBASKET" }]</strong>
[{/if}]
[{oxhasrights ident="TOBASKET"}]
[{if $oxcmp_basket->getContents()}]
<table summary="[{ oxmultilang ident="INC_HEADER_CART" }]" cellpadding="2" cellspacing="2">
<tr>
<th>[{ oxmultilang ident="INC_CMP_BASKET_PRODUCT" }]</th>
<td>[{ $oxcmp_basket->getProductsCount()}]</td>
</tr>
<tr [{if !$oxcmp_basket->getDeliveryCosts()}]class="sep"[{/if}]>
<th>[{ oxmultilang ident="INC_CMP_BASKET_QUANTITY" }]</th>
<td>[{ $oxcmp_basket->getItemsCount()}]</td>
</tr>
[{if $oxcmp_basket->getDeliveryCosts()}]
<tr>
<th>[{ oxmultilang ident="INC_CMP_BASKET_SHIPPING" }]</th>
<td>[{ $oxcmp_basket->getFDeliveryCosts() }] [{ $currency->sign}]</td>
</tr>
[{/if}]
<tr>
<th>[{ oxmultilang ident="INC_CMP_BASKET_TOTALPRODUCTS" }]</th>
<td>[{ $oxcmp_basket->getFProductsPrice()}] [{ $currency->sign}]</td>
</tr>
</table>
[{/if}]
[{/oxhasrights}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getCurrentHomeDir() }]index.php?cl=basket" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="basket">
<input type="hidden" name="redirected" value="1">
[{oxhasrights ident="TOBASKET"}]
<input type="submit" class="bl" value="[{ oxmultilang ident="BASKET_POPUP_FULL_DISPLAYCART" }]" onclick="oxid.popup.hide();">
[{/oxhasrights}]
<input type="button" class="br" value="[{ oxmultilang ident="BASKET_POPUP_FULL_CONTINUESHOPPING" }]" onclick="oxid.popup.hide();return false;">
</div>
</form>
</div>
[{oxscript add="oxid.popup.show();" }]
[{/if }]

View File

@ -1,497 +0,0 @@
[{assign var="template_title" value="BASKET_BASKET"|oxmultilangassign }]
[{include file="_header.tpl" title=$template_title location=$template_title}]
<!-- ordering steps -->
[{include file="inc/steps_item.tpl" highlight=1 }]
[{assign var="currency" value=$oView->getActCurrency() }]
[{if !$oxcmp_basket->getProductsCount() }]
<div class="msg">[{ oxmultilang ident="BASKET_EMPTYSHIPPINGCART" }]</div>
[{else }]
<div class="bar prevnext order">
[{if $oView->showBackToShop()}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=basket" }]" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="basket">
<input type="hidden" name="fnc" value="backtoshop">
<div class="left arrowdown">
<input type="submit" value="[{ oxmultilang ident="BASKET_CONTINUESHOPPING" }]">
</div>
</div>
</form>
[{/if}]
[{if $oView->isLowOrderPrice() }]
<div class="minorderprice">[{ oxmultilang ident="BASKET_MINORDERPRICE" }] [{ $oView->getMinOrderPrice() }] [{ $currency->sign }]</div>
[{else}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="user">
<div class="right arrowright">
<input id="test_BasketNextStepTop" type="submit" value="[{ oxmultilang ident="BASKET_NEXTSTEP" }]">
</div>
</div>
</form>
[{/if}]
</div>
<!-- basket contents -->
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form name="basket[{ $basketindex }]" action="[{ $oViewConf->getSelfActionLink()|oxaddparams:"cl=basket" }]" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="basket">
<input type="hidden" name="fnc" value="changebasket">
<input type="hidden" name="CustomError" value='basket'>
</div>
<table class="basket">
<colgroup>
<col width="19">
<col width="75">
<col width="166">
<col width="60">
<col width="94">
<col width="61">
<col width="78">
<col width="7">
</colgroup>
<!-- basket header -->
<thead>
<tr>
<th class="brd"><div class="brd_line">&nbsp;</div></th>
<th>[{ oxmultilang ident="BASKET_ARTICEL" }]</th>
<th></th>
<th>[{ oxmultilang ident="BASKET_QUANTITY" }]</th>
<th class="ta_right">[{ oxmultilang ident="BASKET_UNITPRICE" }]</th>
<th class="ta_right">[{ oxmultilang ident="BASKET_TAX" }]&nbsp;&nbsp;</th>
<th class="ta_right">[{ oxmultilang ident="BASKET_TOTAL" }]</th>
<th class="lastcol"></th>
</tr>
</thead>
<!-- basket items -->
<tbody>
[{assign var="basketitemlist" value=$oView->getBasketArticles() }]
[{foreach key=basketindex from=$oxcmp_basket->getContents() item=basketitem name=test_Contents}]
[{assign var="basketproduct" value=$basketitemlist.$basketindex }]
<tr valign="top">
<!-- product image -->
<td class="brd">
<input id="test_removeCheck_[{$basketitem->getProductId()}]_[{$smarty.foreach.test_Contents.iteration}]" type="checkbox" name="aproducts[[{ $basketindex }]][remove]" value="1">
</td>
<td>
<a class="picture" id="test_basketPic_[{$basketitem->getProductId()}]_[{$smarty.foreach.test_Contents.iteration}]" href="[{$basketitem->getLink()}]" rel="nofollow">
<img src="[{$basketitem->getIconUrl()}]" alt="[{$basketitem->getTitle()|strip_tags}]">
</a>
</td>
<!-- product title & number -->
<td>
<div class="art_title"><a id="test_basketTitle_[{$basketitem->getProductId()}]_[{$smarty.foreach.test_Contents.iteration}]" rel="nofollow" href="[{$basketitem->getLink()}]">[{$basketitem->getTitle()}]</a>[{if $basketitem->isSkipDiscount() }] <sup><a rel="nofollow" href="#SkipDiscounts_link" class="note">**</a></sup>[{/if}]</div>
<div class="art_num" id="test_basketNo_[{$basketitem->getProductId()}]_[{$smarty.foreach.test_Contents.iteration}]">[{ oxmultilang ident="BASKET_ARTNOMBER" }] [{ $basketproduct->oxarticles__oxartnum->value }]</div>
[{if !$basketitem->isBundle() || !$basketitem->isDiscountArticle()}]
[{if $basketproduct->getDispSelList() }]
<div class="variants">
[{foreach key=iSel from=$basketproduct->getDispSelList() item=oList }]
<select id="test_basketSelect_[{$basketitem->getProductId()}]_[{$smarty.foreach.test_Contents.iteration}]_[{ $iSel }]" name="aproducts[[{ $basketindex }]][sel][[{ $iSel }]]">
[{foreach key=iSelIdx from=$oList item=oSelItem }]
[{if $oSelItem->name }]
<option value="[{ $iSelIdx }]"[{if $oSelItem->selected }]SELECTED[{/if }]>[{ $oSelItem->name }]</option>
[{/if }]
[{/foreach }]
</select>
[{/foreach }]
</div>
[{/if}]
[{/if }]
</td>
<!-- product quantity manager -->
<td align="right">
<input type="hidden" name="aproducts[[{ $basketindex }]][aid]" value="[{ $basketitem->getProductId() }]">
<input type="hidden" name="aproducts[[{ $basketindex }]][basketitemid]" value="[{ $basketindex }]">
<input type="hidden" name="aproducts[[{ $basketindex }]][override]" value="1">
[{if $basketitem->isBundle() }]
<input type="hidden" name="aproducts[[{ $basketindex }]][bundle]" value="1">
[{/if}]
[{if $basketitem->getdBundledAmount() > 0 && ($basketitem->isBundle() || $basketitem->isDiscountArticle()) }]
<div id="test_basketAmount_[{$basketitem->getProductId()}]_[{$smarty.foreach.test_Contents.iteration}]" align="center">+[{ $basketitem->getdBundledAmount() }]</div>
[{/if}]
[{if !$basketitem->isBundle() || !$basketitem->isDiscountArticle()}]
[{foreach key=sVar from=$basketitem->getPersParams() item=aParam }]
<b>[{ oxmultilang ident="BASKET_DETAILS" }]:</b>&nbsp;<input id="persparamInput_[{$basketitem->getProductId()}]_[{$sVar}]" type="text" name="aproducts[[{ $basketindex }]][persparam][[{ $sVar }]]" value="[{ $aParam }]"><br>
[{/foreach }]
<input id="test_basketAm_[{$basketitem->getProductId()}]_[{$smarty.foreach.test_Contents.iteration}]" type="text" name="aproducts[[{ $basketindex }]][am]" value="[{ $basketitem->getAmount() }]" size="2">
[{/if}]
</td>
<!-- product price -->
<td id="test_basket_Price_[{$basketitem->getProductId()}]_[{$smarty.foreach.test_Contents.iteration}]" class="price">
[{if !$basketitem->isBundle() || !$basketitem->isDiscountArticle()}]
[{if $basketitem->getFUnitPrice() }][{ $basketitem->getFUnitPrice() }]&nbsp;[{ $currency->sign}][{/if}]
[{/if}]
</td>
<!-- product VAT percent -->
<td id="test_basket_Vat_[{$basketitem->getProductId()}]_[{$smarty.foreach.test_Contents.iteration}]" class="vat">
[{if !$basketitem->isBundle() || !$basketitem->isDiscountArticle()}]
[{ $basketitem->getVatPercent() }]%
[{/if}]
</td>
<!-- product quantity * price -->
<td id="test_basket_TotalPrice_[{$basketitem->getProductId()}]_[{$smarty.foreach.test_Contents.iteration}]" class="totalprice">
[{if !$basketitem->isBundle() || !$basketitem->isDiscountArticle()}]
[{ $basketitem->getFTotalPrice() }]&nbsp;[{ $currency->sign }]
[{/if}]
</td>
<td></td>
</tr>
[{foreach from=$Errors.basket item=oEr key=key }]
[{if $oEr->getErrorClassType() == 'oxOutOfStockException'}]
<!-- display only the exceptions for the current article-->
[{if $basketindex == $oEr->getValue('basketIndex') }]
<tr>
<td class="brd"></td>
<td id="test_basket_StockError_[{$basketitem->getProductId()}]_[{$key}]" colspan="6">
<span class="err">[{ $oEr->getOxMessage() }] [{ $oEr->getValue('remainingAmount') }]</span>
</td>
<td></td>
</tr>
[{/if}]
[{/if}]
[{if $oEr->getErrorClassType() == 'oxArticleInputException'}]
[{if $basketitem->getProductId() == $oEr->getValue('productId') }]
<tr class="notice">
<td></td>
<td colspan="6">
[{ $oEr->getOxMessage() }]
</td>
<td></td>
</tr>
[{/if}]
[{/if}]
[{/foreach}]
<tr class="bsk_sep">
<td class="brd"></td>
<td colspan="6" class="line"></td>
<td></td>
</tr>
<!-- basket items end -->
[{/foreach }]
<!-- basket update/delete buttons -->
<tr class="sumrow">
<td class="brd" valign="top">
<input type="checkbox" name="checkAll" onClick="oxid.checkAll(this, 'aproducts')" title="[{ oxmultilang ident="BASKET_SELECT_ALL" }]">
</td>
<td colspan="6">
<div class="frombasket">
<input id="test_basket_Remove" class="btn" type="submit" name="removeBtn" value="[{ oxmultilang ident="BASKET_REMOVE" }]">
</div>
&nbsp;&nbsp;&nbsp;
<span class="btn">
<input id="test_basketUpdate" class="upd" type="submit" name="updateBtn" value="[{ oxmultilang ident="BASKET_UPDATE" }]">
</span>
</td>
<td></td>
</tr>
<!-- basket summary -->
[{if !$oxcmp_basket->getDiscounts() }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="BASKET_TOTALNET" }]</td>
<td id="test_basketNet" align="right">[{ $oxcmp_basket->getProductsNetPrice() }]&nbsp;[{ $currency->sign }]</td>
<td></td>
</tr>
[{foreach from=$oxcmp_basket->getProductVats() item=VATitem key=key }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="BASKET_TAX1" }]&nbsp;[{ $key }][{ oxmultilang ident="BASKET_TAX2" }]</td>
<td id="test_basketVAT_[{$key}]" align="right">[{ $VATitem }]&nbsp;[{ $currency->sign }]</td>
<td></td>
</tr>
[{/foreach }]
[{/if }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="BASKET_TOTALGROSS" }]</td>
<td id="test_basketGross" align="right">[{ $oxcmp_basket->getFProductsPrice() }]&nbsp;[{ $currency->sign }]</td>
<td></td>
</tr>
[{if $oxcmp_basket->getDiscounts() }]
<tr class="bsk_sep"><td class="brd"></td><td colspan="6" class="line"></td><td></td></tr>
[{foreach from=$oxcmp_basket->getDiscounts() item=oDiscount name=test_Discounts}]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc discount">
<b class="fs11">[{if $oDiscount->dDiscount < 0 }][{ oxmultilang ident="BASKET_CHARGE" }][{else}][{ oxmultilang ident="BASKET_DISCOUNT2" }][{/if}]&nbsp;</b>
[{ $oDiscount->sDiscount }]:
</td>
<td id="test_basketDiscount_[{$smarty.foreach.test_Discounts.iteration}]" align="right">
[{if $oDiscount->dDiscount < 0 }][{ $oDiscount->fDiscount|replace:"-":"" }][{else}]-[{ $oDiscount->fDiscount }][{/if}]&nbsp;[{ $currency->sign }]
</td>
<td></td>
</tr>
[{/foreach }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="BASKET_TOTALNET" }]</td>
<td id="test_basketNet" align="right">[{ $oxcmp_basket->getProductsNetPrice() }]&nbsp;[{ $currency->sign }]</td>
<td></td>
</tr>
[{foreach from=$oxcmp_basket->getProductVats() item=VATitem key=key }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="BASKET_TAX1" }] [{ $key }][{ oxmultilang ident="BASKET_TAX2" }]</td>
<td id="test_basketVAT_[{$key}]" align="right">[{ $VATitem }]&nbsp;[{ $currency->sign }]</td>
<td></td>
</tr>
[{/foreach }]
[{/if }]
[{if $oViewConf->getShowVouchers() && $oxcmp_basket->getVoucherDiscValue() }]
<tr class="bsk_sep"><td class="brd"></td><td colspan="6" class="line"></td><td></td></tr>
[{foreach from=$oxcmp_basket->getVouchers() item=oVoucher key=key name=Voucher}]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="2" class="coupon">
<b class="fs11">&nbsp;&nbsp;[{ oxmultilang ident="BASKET_COUPON" }]</b>&nbsp;
<span id="test_basketVoucher_[{$smarty.foreach.Voucher.iteration}]">([{ oxmultilang ident="BASKET_NOMBER" }] [{ $oVoucher->sVoucherNr }])</span>:
</td>
<td colspan="3">
<div class="frombasket">
<a id="test_basketVoucherRemove_[{$smarty.foreach.Voucher.iteration}]" href="[{ $oViewConf->getSelfLink() }]&amp;cl=basket&amp;fnc=removeVoucher&amp;voucherId=[{ $oVoucher->sVoucherId }]&amp;CustomError=basket" class="" rel="nofollow">[{ oxmultilang ident="BASKET_REMOVE2" }]</a>
</div>
</td>
<td align="right">
<span id="test_basketVoucherDiscount_[{$smarty.foreach.Voucher.iteration}]">-
[{ $oVoucher->fVoucherdiscount }]&nbsp;
[{ $currency->sign }]</span>
</td>
<td></td>
</tr>
[{/foreach }]
[{/if }]
[{if $oxcmp_basket->getDelCostNet() || $oxcmp_basket->getDelCostVat()}]
<tr class="bsk_sep"><td class="brd"></td><td colspan="6" class="line"></td><td></td></tr>
[{/if}]
[{if $oxcmp_basket->getDelCostNet() }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="BASKET_SHIPPINGNET" }]</td>
<td id="test_basketDeliveryNet" align="right">[{ $oxcmp_basket->getDelCostNet() }]&nbsp;[{ $currency->sign }]</td>
<td></td>
</tr>
[{if $oxcmp_basket->getDelCostVat() }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="BASKET_PLUSTAX1" }] [{ $oxcmp_basket->getDelCostVatPercent() }][{ oxmultilang ident="BASKET_PLUSTAX2" }]</td>
<td id="test_basketDeliveryVAT" align="right">[{ $oxcmp_basket->getDelCostVat() }]&nbsp;[{ $currency->sign }]</td>
<td></td>
</tr>
[{/if }]
[{elseif $oxcmp_basket->getFDeliveryCosts() }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="BASKET_SHIPPING" }]</td>
<td id="test_basketDeliveryNet" align="right">[{ $oxcmp_basket->getFDeliveryCosts() }]&nbsp;[{ $currency->sign }]</td>
<td></td>
</tr>
[{/if }]
[{if $oxcmp_basket->getPayCostNet() }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{if $oxcmp_basket->getPaymentCosts() >= 0}][{ oxmultilang ident="BASKET_PAYMENT" }][{else}][{ oxmultilang ident="BASKET_CHARGE2" }][{/if}] [{ oxmultilang ident="BASKET_DISCOUNT3" }]</td>
<td id="test_basketPaymentNet" align="right">[{ $oxcmp_basket->getPayCostNet() }]&nbsp;[{ $currency->sign }]</td>
<td></td>
</tr>
[{if $oxcmp_basket->getPayCostVat() }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="BASKET_PAYMENTTAX1" }] [{ $oxcmp_basket->getPayCostVatPercent() }] [{ oxmultilang ident="BASKET_PAYMENTTAX2" }]</td>
<td id="test_basketPaymentVAT" align="right">[{ $oxcmp_basket->getPayCostVat() }]&nbsp;[{ $currency->sign }]</td>
<td></td>
</tr>
[{/if }]
[{elseif $oxcmp_basket->getFPaymentCosts() }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{if $oxcmp_basket->getPaymentCosts() >= 0}][{ oxmultilang ident="BASKET_PAYMENT" }][{else}][{ oxmultilang ident="BASKET_CHARGE2" }][{/if}] [{ oxmultilang ident="BASKET_DISCOUNT3" }]</td>
<td id="test_basketPaymentNet" align="right">[{ $oxcmp_basket->getFPaymentCosts() }]&nbsp;[{ $currency->sign }]</td>
<td></td>
</tr>
[{/if }]
[{ if $oxcmp_basket->getTsProtectionCosts() }]
[{ if $oxcmp_basket->getTsProtectionNet() }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="BASKET_TSPROTECTION" }]</td>
<td id="test_basketTsProtectionNet" align="right">[{ $oxcmp_basket->getTsProtectionNet() }]&nbsp;[{ $currency->sign}]</td>
<td></td>
</tr>
[{ if $oxcmp_basket->getTsProtectionVat() }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="BASKET_TSPROTECTIONCHARGETAX1" }] [{ $oxcmp_basket->getTsProtectionVatPercent()}][{ oxmultilang ident="BASKET_TSPROTECTIONCHARGETAX2" }]</td>
<td id="test_basketTsProtectionVat" align="right">[{ $oxcmp_basket->getTsProtectionVat() }]&nbsp;[{ $currency->sign}]</td>
<td></td>
</tr>
[{/if}]
[{elseif $oxcmp_basket->getFTsProtectionCosts()}]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="BASKET_TSPROTECTION" }]</td>
<td id="test_basketTsProtectionNet" align="right">[{ $oxcmp_basket->getFTsProtectionCosts() }]&nbsp;[{ $currency->sign}]</td>
<td></td>
</tr>
[{/if}]
[{/if}]
[{ if $oViewConf->getShowGiftWrapping() }]
[{if $oxcmp_basket->getWrappCostNet() }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="ORDER_WRAPPINGNET" }]</td>
<td id="test_basketWrappNet" align="right">[{ $oxcmp_basket->getWrappCostNet() }] [{ $currency->sign}]</td>
<td></td>
</tr>
[{elseif $oxcmp_basket->getFWrappingCosts()}]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="ORDER_WRAPPINGGROSS1" }]</td>
<td id="test_basketWrappNet" align="right">[{ $oxcmp_basket->getFWrappingCosts() }] [{ $currency->sign}]</td>
<td></td>
</tr>
[{/if}]
[{if $oxcmp_basket->getWrappCostVat() }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="5" class="sumdesc">[{ oxmultilang ident="ORDER_WRAPPINGTAX1" }] [{ $oxcmp_basket->getWrappCostVatPercent() }][{ oxmultilang ident="ORDER_WRAPPINGTAX2" }]</td>
<td id="test_basketWrappVat" align="right">[{ $oxcmp_basket->getWrappCostVat() }] [{ $currency->sign}]</td>
<td></td>
</tr>
[{/if}]
[{/if}]
<tr class="bsk_sep"><td class="brd"></td><td colspan="6" class="line"></td><td></td></tr>
<tr class="sumrow total">
<td class="brd"></td>
<td colspan="5" class="sumdesc"><b>[{ oxmultilang ident="BASKET_GRANDTOTAL" }]</b></td>
<td id="test_basketGrandTotal" align="right"><b>[{ $oxcmp_basket->getFPrice() }]&nbsp;[{ $currency->sign }]</b></td>
<td></td>
</tr>
<tr class="bsk_sep">
<td class="brd"></td>
<td colspan="6" class="bigline"></td>
<td></td>
</tr>
[{if $oxcmp_basket->hasSkipedDiscount() }]
<tr class="sumrow">
<td class="brd"></td>
<td colspan="6"><span id="SkipDiscounts_link"><span class="note">**</span> [{ oxmultilang ident="BASKET_DISCOUNTS_NOT_APPLIED_FOR_ARTICLES" }]</span></td>
<td></td>
</tr>
[{/if}]
<tr>
<td colspan="8" class="brd bottrow"></td>
</tr>
</tbody>
</table>
</form>
[{if $oViewConf->getShowVouchers()}]
<strong id="test_VoucherHeader" class="boxhead">[{ oxmultilang ident="BASKET_REDEEMCOUPON" }]</strong>
<div class="box">
[{foreach from=$Errors.basket item=oEr key=key }]
[{if $oEr->getErrorClassType() == 'oxVoucherException'}]
<span class="err">[{ oxmultilang ident="BASKET_COUPONNOTACCEPTED1" }] [{ $oEr->getValue('voucherNr') }] [{ oxmultilang ident="BASKET_COUPONNOTACCEPTED2" }]</span><br>
<span class="err">[{ oxmultilang ident="BASKET_REASON" }]</span>
<span class="err">[{ $oEr->getOxMessage() }]</span><br>
[{/if}]
[{/foreach}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form name="voucher" action="[{ $oViewConf->getSelfActionLink()|oxaddparams:"cl=basket" }]" method="post" class="left">
<div>
<label>[{ oxmultilang ident="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">
<span class="btn"><input id="test_basketVoucherAdd" class="btn" type="submit" value="[{ oxmultilang ident="BASKET_SUBMITCOUPON" }]"></span>
<input type="hidden" name="CustomError" value='basket'>
</div>
</form>
</div>
[{/if}]
<div class="bar prevnext bottom">
[{if $oView->showBackToShop()}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=basket" }]" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="basket">
<input type="hidden" name="fnc" value="backtoshop">
<div class="left arrowdown">
<input type="submit" value="[{ oxmultilang ident="BASKET_CONTINUESHOPPING" }]">
</div>
</div>
</form>
[{/if}]
[{if $oView->isLowOrderPrice() }]
<div class="minorderprice">[{ oxmultilang ident="BASKET_MINORDERPRICE" }] [{ $oView->getMinOrderPrice() }] [{ $currency->sign }]</div>
[{else}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="cl" value="user">
<div class="right arrowright">
<input id="test_BasketNextStepBottom" type="submit" value="[{ oxmultilang ident="BASKET_NEXTSTEP" }]">
</div>
</div>
</form>
[{/if}]
</div>
[{if $oView->getBasketSimilarList() }]
<strong id="test_similarlist" class="head2">[{ oxmultilang ident="ORDER_OTHERINTRESTINGARTICLES"}]</strong>
[{foreach from=$oView->getBasketSimilarList() item=simproduct }]
[{include file="inc/product.tpl" size="small" product=$simproduct testid="similar_"|cat:$simproduct->oxarticles__oxid->value }]
[{/foreach }]
[{/if }]
&nbsp;
[{/if }]
[{insert name="oxid_tracker" title=$template_title }]
[{include file="_footer.tpl" }]

View File

@ -1,502 +0,0 @@
[{assign var="template_title" value="USER_LOGINTITLE"|oxmultilangassign}]
[{include file="_header.tpl" title=$template_title location=$template_title}]
<!-- ordering steps -->
[{include file="inc/steps_item.tpl" highlight=2 }]
[{assign var="_blshownoregopt" value=$oView->getShowNoRegOption()}]
[{ if !$oxcmp_user && !$oView->getLoginOption() && !$oView->isConnectedWithFb() }]
[{if $_blshownoregopt }]
<div class="left">
<strong class="useroptboxhead">[{ oxmultilang ident="USER_OPTION1" }]</strong>
<div class="useroptbox">
<b>[{ oxmultilang ident="USER_ORDERWITHOUTREGISTER1" }]</b><br><br>
[{ oxmultilang ident="USER_ORDERWITHOUTREGISTER2" }]<br><br>
[{if $oView->isDownloadableProductWarning() }]
<p class="errorMsg">[{ oxmultilang ident="MESSAGE_DOWNLOADABLE_PRODUCT" }]</p>
[{/if}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="user">
<input type="hidden" name="fnc" value="">
<input type="hidden" name="option" value="1">
<span class="btn"><input id="test_UsrOpt1" type="submit" name="send" value="[{ oxmultilang ident="USER_NEXT" }]" class="btn"></span>
</div>
</form>
</div>
</div>
[{/if}]
<div class="left">
<strong class="useroptboxhead[{if !$_blshownoregopt }]big[{/if}]">[{if !$_blshownoregopt }][{ oxmultilang ident="USER_OPTION1" }][{else}][{ oxmultilang ident="USER_OPTION2" }][{/if}]</strong>
<div class="useroptbox[{if !$_blshownoregopt }]big[{/if}]">
<b>[{ oxmultilang ident="USER_ALREADYCUSTOMER" }]</b><br><br>
[{ oxmultilang ident="USER_PLEASELOGIN" }]<br><br>
[{foreach from=$Errors.user item=oEr key=key }]
<div class="err">[{ $oEr->getOxMessage()}]</div>
[{/foreach}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="fnc" value="login_noredirect">
<input type="hidden" name="cl" value="user">
<input type="hidden" name="option" value="2">
<input type="hidden" name="lgn_cook" value="0">
<input type="hidden" name="CustomError" value='user'>
<span class="fs11"><b>[{ oxmultilang ident="USER_EMAIL" }]</b></span><br>
<input id="test_UsrOpt2_usr" type="text" name="lgn_usr" value="" size="25"><br><br>
<span class="fs11"><b>[{ oxmultilang ident="USER_PWD" }]</b></span><br>
<input id="test_UsrOpt2_pwd" type="password" name="lgn_pwd" value="" size="25"><br><br>
<span class="btn"><input id="test_UsrOpt2" type="submit" name="send" value="[{ oxmultilang ident="USER_LOGIN" }]" class="btn"></span><br><br>
<a id="test_UsrOpt2_forgotPwd" rel="nofollow" href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=forgotpwd" }]" class="link">[{ oxmultilang ident="USER_FORGOTPWD" }]</a><br><br>
</div>
</form>
</div>
</div>
<div class="left">
<strong class="useroptboxhead[{if !$_blshownoregopt }]big[{/if}]">[{if !$_blshownoregopt }][{ oxmultilang ident="USER_OPTION2" }][{else}][{ oxmultilang ident="USER_OPTION3" }][{/if}]</strong>
<div class="useroptbox[{if !$_blshownoregopt }]big[{/if}]">
<b>[{ oxmultilang ident="USER_OPENPERSONALACCOUNT1" }]</b><br><br>
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT2" }] [{ oxmultilang ident="USER_OPENPERSONALACCOUNT3" }]<br><br>
<span class="fs11">
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT4" }]<br>
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT5" }]<br>
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT6" }]<br>
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT7" }]<br>
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT8" }]<br>
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT9" }]<br>
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT10" }]
</span>
<br><br>
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="user">
<input type="hidden" name="fnc" value="">
<input type="hidden" name="option" value="3">
<span class="btn"><input id="test_UsrOpt3" type="submit" name="send" value="[{ oxmultilang ident="USER_LOGIN2" }]" class="btn"></span>
</div>
</form>
</div>
</div>
[{else}]
[{assign var="invadr" value=$oView->getInvoiceAddress()}]
[{assign var="currency" value=$oView->getActCurrency() }]
[{if !$oxcmp_user && $oView->isConnectedWithFb()}]
<strong class="boxhead">[{ oxmultilang ident="USER_LOGIN3" }]</strong>
<div class="box info">
[{ oxmultilang ident="USER_FB_UPDATEACCOUNTMSG" }]
<br>
<br>
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="fnc" value="">
<input type="hidden" name="cl" value="user">
<input type="hidden" name="option" value="2">
<input type="hidden" name="lgn_cook" value="0">
<input type="hidden" name="fblogin" value="1">
<input type="hidden" name="CustomError" value='popup'>
<span class="btn"><input id="test_UsrOpt2UpdateAccount" type="submit" name="send" value="[{ oxmultilang ident="USER_UPDATE_ACCOUNT" }]" class="btn"></span><br><br>
</div>
</form>
</div>
[{/if}]
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" name="order" method="post">
<div>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="option" value="[{$oView->getLoginOption()}]">
<input type="hidden" name="cl" value="user">
<input type="hidden" name="CustomError" value='user'>
<input type="hidden" name="blhideshipaddress" value="0">
<input type="hidden" id="reloadAddress" name="reloadaddress" value="">
[{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}]
</div>
[{if $oView->isLowOrderPrice()}]
<div class="bar prevnext order">
<div class="minorderprice">[{ oxmultilang ident="BASKET_MINORDERPRICE" }] [{ $oView->getMinOrderPrice() }] [{ $currency->sign }]</div>
</div>
[{else}]
<div class="bar prevnext order">
<div class="right arrowright">
<input id="test_UserNextStepTop" name="userform" type="submit" value="[{ oxmultilang ident="USER_NEXTSTEP" }]">
</div>
</div>
[{/if}]
[{include file="inc/error.tpl" Errorlist=$Errors.user}]
[{if $oView->getLoginOption() == 3 || (!$oxcmp_user && $oView->isConnectedWithFb()) }]
<strong class="boxhead">[{ oxmultilang ident="USER_LOGIN3" }]</strong>
<div class="box info">
[{ oxmultilang ident="USER_ENTEREMAILANDPWD" }]<br>
[{ oxmultilang ident="USER_RECEIVECONFIRMATION" }]
<div class="dot_sep"></div>
<table class="form" width="90%">
<colgroup>
<col width="145">
</colgroup>
<tr>
<td><label>[{ oxmultilang ident="USER_EMAILADDRESS" }]</label></td>
<td><input id="userLoginName" type="text" name="lgn_usr" value="[{$oView->getActiveUsername()}]" size="37">&nbsp;<span class="req">*</span></td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_PASSWORD" }]</label></td>
<td><input id="userPassword" type="password" name="lgn_pwd" value="[{$lgn_pwd}]" size="37">&nbsp;<span class="req">*</span></td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_CONFIRMPWD" }]</label></td>
<td><input id="userPasswordConfirm" type="password" name="lgn_pwd2" value="[{$lgn_pwd2}]" size="37">&nbsp;<span class="req">*</span></td>
</tr>
</table>
</div>
[{/if}]
<strong class="boxhead">[{ oxmultilang ident="USER_SEND" }]</strong>
<div class="box info">
<b>[{ oxmultilang ident="USER_BILLINDADDRESS" }]</b> [{ oxmultilang ident="USER_COMPLETEALLMARKEDFIELDS" }]
<div class="dot_sep"></div>
<table class="form" width="90%">
<colgroup>
<col width="145">
</colgroup>
[{ if !$oxcmp_user->oxuser__oxpassword->value && $oView->getLoginOption() != 3 && !$oView->isConnectedWithFb() }]
<tr>
<td><label>[{ oxmultilang ident="USER_EMAILADDRESS2" }]</label></td>
<td>
<input id="userLoginName" type="text" name="lgn_usr" value="[{$oView->getActiveUsername()}]" size="37">
<span class="req">*</span></td>
</tr>
[{/if}]
<tr>
<td><label>[{ oxmultilang ident="USER_TITLE" }]</label></td>
<td>
[{include file="inc/salutation.tpl" name="invadr[oxuser__oxsal]" value=$oxcmp_user->oxuser__oxsal->value value2=$invadr.oxuser__oxsal}]
[{if $oView->isFieldRequired(oxuser__oxsal) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_FIRSTNAME" }]</label></td>
<td>
<input type="text" size="37" maxlength="255" name="invadr[oxuser__oxfname]" value="[{if isset( $invadr.oxuser__oxfname ) }][{ $invadr.oxuser__oxfname }][{else}][{ $oxcmp_user->oxuser__oxfname->value }][{/if}]">
[{if $oView->isFieldRequired(oxuser__oxfname) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_LASTNAME" }]</label></td>
<td>
<input type="text" size="37" maxlength="255" name="invadr[oxuser__oxlname]" value="[{if isset( $invadr.oxuser__oxlname ) }][{ $invadr.oxuser__oxlname }][{else}][{ $oxcmp_user->oxuser__oxlname->value }][{/if}]">
[{if $oView->isFieldRequired(oxuser__oxlname) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_COMPANY" }]</label></td>
<td>
<input type="text" size="37" maxlength="255" name="invadr[oxuser__oxcompany]" value="[{if isset( $invadr.oxuser__oxcompany ) }][{ $invadr.oxuser__oxcompany }][{else}][{$oxcmp_user->oxuser__oxcompany->value }][{/if}]">
[{if $oView->isFieldRequired(oxuser__oxcompany) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_STREET" }]</label></td>
<td>
<input type="text" size="28" maxlength="255" name="invadr[oxuser__oxstreet]" value="[{if isset( $invadr.oxuser__oxstreet ) }][{$invadr.oxuser__oxstreet }][{else}][{$oxcmp_user->oxuser__oxstreet->value }][{/if}]">
<input type="text" size="5" maxlength="16" name="invadr[oxuser__oxstreetnr]" value="[{if isset( $invadr.oxuser__oxstreetnr ) }][{ $invadr.oxuser__oxstreetnr }][{else}][{ $oxcmp_user->oxuser__oxstreetnr->value }][{/if}]">
[{if $oView->isFieldRequired(oxuser__oxstreet) || $oView->isFieldRequired(oxuser__oxstreetnr) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_PLZANDCITY" }]</label></td>
<td>
<input type="text" size="5" maxlength="16" name="invadr[oxuser__oxzip]" value="[{if isset( $invadr.oxuser__oxzip ) }][{$invadr.oxuser__oxzip }][{else}][{$oxcmp_user->oxuser__oxzip->value }][{/if}]">
<input type="text" size="28" maxlength="255" name="invadr[oxuser__oxcity]" value="[{if isset( $invadr.oxuser__oxcity ) }][{$invadr.oxuser__oxcity }][{else}][{$oxcmp_user->oxuser__oxcity->value }][{/if}]">
[{if $oView->isFieldRequired(oxuser__oxzip) || $oView->isFieldRequired(oxuser__oxcity) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_VATID" }]</label></td>
<td>
<input type="text" size="37" maxlength="255" name="invadr[oxuser__oxustid]" value="[{if isset( $invadr.oxuser__oxustid ) }][{$invadr.oxuser__oxustid }][{else}][{$oxcmp_user->oxuser__oxustid->value }][{/if}]">
[{if $oView->isFieldRequired(oxuser__oxustid) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_ADDITIONALINFO" }]</label></td>
<td>
<input type="text" size="37" maxlength="255" name="invadr[oxuser__oxaddinfo]" value="[{if isset( $invadr.oxuser__oxaddinfo ) }][{$invadr.oxuser__oxaddinfo }][{else}][{$oxcmp_user->oxuser__oxaddinfo->value }][{/if}]">
[{if $oView->isFieldRequired(oxuser__oxaddinfo) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_COUNTRY" }]</label></td>
<td>
<select id="invCountrySelect" name="invadr[oxuser__oxcountryid]">
<option value="">-</option>
[{assign var="blCountrySelected" value=false}]
[{foreach from=$oViewConf->getCountryList() item=country key=country_id}]
[{assign var="sCountrySelect" value=""}]
[{if !$blCountrySelected}]
[{if (isset($invadr.oxuser__oxcountryid) && $invadr.oxuser__oxcountryid == $country->oxcountry__oxid->value) ||
(!isset($invadr.oxuser__oxcountryid) && $oxcmp_user->oxuser__oxcountryid->value == $country->oxcountry__oxid->value) }]
[{assign var="blCountrySelected" value=true}]
[{assign var="sCountrySelect" value="selected"}]
[{/if}]
[{/if}]
<option value="[{$country->oxcountry__oxid->value}]" [{$sCountrySelect}]>[{$country->oxcountry__oxtitle->value}]</option>
[{/foreach}]
</select>
[{if $oView->isFieldRequired(oxuser__oxcountryid) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td></td>
<td>
[{include file="inc/state_selector.snippet.tpl"
countrySelectId="invCountrySelect"
stateSelectName="invadr[oxuser__oxstateid]"
selectedStateIdPrim=$invadr.oxuser__oxstateid
selectedStateId=$oxcmp_user->oxuser__oxstateid
}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_PHONE" }]</label></td>
<td>
<input type="text" size="37" maxlength="128" name="invadr[oxuser__oxfon]" value="[{if isset( $invadr.oxuser__oxfon ) }][{$invadr.oxuser__oxfon }][{else}][{$oxcmp_user->oxuser__oxfon->value }][{/if}]">
[{if $oView->isFieldRequired(oxuser__oxfon) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_FAX" }]</label></td>
<td>
<input type="text" size="37" maxlength="128" name="invadr[oxuser__oxfax]" value="[{if isset( $invadr.oxuser__oxfax ) }][{$invadr.oxuser__oxfax }][{else}][{$oxcmp_user->oxuser__oxfax->value }][{/if}]">
[{if $oView->isFieldRequired(oxuser__oxfax) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_MOBIL" }]</label></td>
<td>
<input type="text" size="37" maxlength="64" name="invadr[oxuser__oxmobfon]" value="[{if isset( $invadr.oxuser__oxmobfon ) }][{$invadr.oxuser__oxmobfon }][{else}][{$oxcmp_user->oxuser__oxmobfon->value }][{/if}]">
[{if $oView->isFieldRequired(oxuser__oxmobfon) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_PRIVATPHONE" }]</label></td>
<td>
<input type="text" size="37" maxlength="64" name="invadr[oxuser__oxprivfon]" value="[{if isset( $invadr.oxuser__oxprivfon ) }][{$invadr.oxuser__oxprivfon }][{else}][{$oxcmp_user->oxuser__oxprivfon->value }][{/if}]">
[{if $oView->isFieldRequired(oxuser__oxprivfon) }]<span class="req">*</span>[{/if}]
</td>
</tr>
[{if $oViewConf->showBirthdayFields() }]
<tr>
<td><label>[{ oxmultilang ident="USER_BIRTHDATE" }]</label></td>
<td valign="top" nowrap>
<table><tr><td>
<input type="text" size="3" maxlength="2" name="invadr[oxuser__oxbirthdate][day]" value="[{if isset( $invadr.oxuser__oxbirthdate.day ) }][{$invadr.oxuser__oxbirthdate.day }][{elseif $oxcmp_user->oxuser__oxbirthdate->value && $oxcmp_user->oxuser__oxbirthdate->value != "0000-00-00"}][{$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:"/^([0-9]{4})[-]([0-9]{1,2})[-]/":"" }][{/if}]">&nbsp;&nbsp;
<input type="text" size="3" maxlength="2" name="invadr[oxuser__oxbirthdate][month]" value="[{if isset( $invadr.oxuser__oxbirthdate.month ) }][{$invadr.oxuser__oxbirthdate.month }][{elseif $oxcmp_user->oxuser__oxbirthdate->value && $oxcmp_user->oxuser__oxbirthdate->value != "0000-00-00" }][{$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:"/^([0-9]{4})[-]/":""|regex_replace:"/[-]([0-9]{1,2})$/":"" }][{/if}]">&nbsp;&nbsp;
<input type="text" size="8" maxlength="4" name="invadr[oxuser__oxbirthdate][year]" value="[{if isset( $invadr.oxuser__oxbirthdate.year ) }][{$invadr.oxuser__oxbirthdate.year }][{elseif $oxcmp_user->oxuser__oxbirthdate->value && $oxcmp_user->oxuser__oxbirthdate->value != "0000-00-00" }][{$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:"/[-]([0-9]{1,2})[-]([0-9]{1,2})$/":"" }][{/if}]">
[{if $oView->isFieldRequired(oxuser__oxbirthdate) }]<span class="req">*</span>[{/if}]</td>
<td><span class="fs10">&nbsp;[{ oxmultilang ident="USER_BIRTHDAYMESSAGE" }]</span></td>
</tr></table>
</td>
</tr>
[{/if}]
<tr>
<td><label>[{ oxmultilang ident="USER_SUBSCRIBENEWSLETTER" }]</label></td>
<td>
<input type="hidden" name="blnewssubscribed" value="0">
<input id="test_newsReg" type="checkbox" name="blnewssubscribed" value="1" [{if $oView->isNewsSubscribed()}]checked[{/if}]>
<span class="fs10">[{ oxmultilang ident="USER_SUBSCRIBENEWSLETTER_MESSAGE" }]</span>
</td>
</tr>
<tr class="td_sep">
<td valign="top"><label>[{ oxmultilang ident="USER_YOURMESSAGE" }]</label></td>
<td>
[{ if !$oView->getOrderRemark()}]
[{assign var="order_remark" value="USER_MESSAGEHERE"|oxmultilangassign}]
[{else}]
[{assign var="order_remark" value=$oView->getOrderRemark()}]
[{/if}]
<textarea cols="60" rows="7" name="order_remark">[{$order_remark}]</textarea>
</td>
</tr>
</table>
<div class="dot_sep"></div>
<br />
<b>[{ oxmultilang ident="USER_SHIPPINGADDRESS" }]</b>
<div class="dot_sep"></div>
[{if !$oView->showShipAddress()}]
<span class="btn"><input type="submit" name="blshowshipaddress" value="[{ oxmultilang ident="USER_DIFFERENTSHIPPINGADDRESS" }]" class="btn"></span><br /><br />
[{else}]
<span class="btn"><input type="submit" name="blhideshipaddress" value="[{ oxmultilang ident="USER_DISABLESHIPPINGADDRESS" }]" class="btn"></span><br /><br />
[{/if}]
<div class="fs10 def_color_1"><span class="req">[{ oxmultilang ident="USER_NOTE" }]</span> [{ oxmultilang ident="USER_DIFFERENTDELIVERYADDRESS" }]</div>
[{if $oView->showShipAddress()}]
[{if $oxcmp_user}]
[{assign var="delivadr" value=$oxcmp_user->getSelectedAddress()}]
[{/if}]
[{assign var="deladr" value=$oView->getDeliveryAddress()}]
<table class="form" width="90%">
<colgroup>
<col width="145">
</colgroup>
<tr>
<td><label>[{ oxmultilang ident="USER_ADDRESSES" }]</label></td>
<td>
<select name="oxaddressid" onchange="oxid.form.set('reloadAddress', this.value === '-1' ? 1 : 2);oxid.form.reload(this.value === '-1','order','user','');oxid.form.clear(this.value !== '-1','order',/oxaddress__/);">
<option value="-1" SELECTED>[{ oxmultilang ident="USER_NEWADDRESS" }]</option>
[{if $oxcmp_user}]
[{foreach from=$oxcmp_user->getUserAddresses() item=address}]
<option value="[{$address->oxaddress__oxid->value}]" [{if $address->isSelected()}]SELECTED[{/if}]>[{$address}]</option>
[{/foreach}]
[{/if}]
</select>
<noscript>
<span class="btn"><input id="test_accUserReloadAddress" class="btn" type="submit" name="reloadaddress" value="[{ oxmultilang ident="USER_ADDRESSES_SELECT" }]"></span>
</noscript>
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_TITLE2" }]</label></td>
<td>
[{include file="inc/salutation.tpl" name="deladr[oxaddress__oxsal]" value=$delivadr->oxaddress__oxsal->value value2=$deladr.oxaddress__oxsal}]
[{if $oView->isFieldRequired(oxaddress__oxsal) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_NAME" }]</label></td>
<td>
<input type="text" size="15" maxlength="255" name="deladr[oxaddress__oxfname]" value="[{if isset( $deladr.oxaddress__oxfname ) }][{$deladr.oxaddress__oxfname}][{else}][{$delivadr->oxaddress__oxfname->value }][{/if}]">
<input type="text" size="18" maxlength="255" name="deladr[oxaddress__oxlname]" value="[{if isset( $deladr.oxaddress__oxlname ) }][{$deladr.oxaddress__oxlname}][{else}][{$delivadr->oxaddress__oxlname->value }][{/if}]">
[{if $oView->isFieldRequired(oxaddress__oxfname) || $oView->isFieldRequired(oxaddress__oxlname) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_COMPANY2" }]</label></td>
<td>
<input type="text" size="37" maxlength="255" name="deladr[oxaddress__oxcompany]" value="[{if isset( $deladr.oxaddress__oxcompany ) }][{$deladr.oxaddress__oxcompany}][{else}][{$delivadr->oxaddress__oxcompany->value }][{/if}]">
[{if $oView->isFieldRequired(oxaddress__oxcompany) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_STREET2" }]</label></td>
<td>
<input type="text" size="28" maxlength="255" name="deladr[oxaddress__oxstreet]" value="[{if isset( $deladr.oxaddress__oxstreet ) }][{$deladr.oxaddress__oxstreet}][{else}][{$delivadr->oxaddress__oxstreet->value}][{/if}]">
<input type="text" size="5" maxlength="16" name="deladr[oxaddress__oxstreetnr]" value="[{if isset( $deladr.oxaddress__oxstreetnr ) }][{$deladr.oxaddress__oxstreetnr}][{else}][{$delivadr->oxaddress__oxstreetnr->value }][{/if}]">
[{if $oView->isFieldRequired(oxaddress__oxstreet) || $oView->isFieldRequired(oxaddress__oxstreetnr) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_PLZANDCITY2" }]</label></td>
<td>
<input type="text" size="5" maxlength="16" name="deladr[oxaddress__oxzip]" value="[{if isset( $deladr.oxaddress__oxzip ) }][{$deladr.oxaddress__oxzip}][{else}][{$delivadr->oxaddress__oxzip->value }][{/if}]">
<input type="text" size="28" maxlength="255" name="deladr[oxaddress__oxcity]" value="[{if isset( $deladr.oxaddress__oxcity ) }][{$deladr.oxaddress__oxcity}][{else}][{$delivadr->oxaddress__oxcity->value }][{/if}]">
[{if $oView->isFieldRequired(oxaddress__oxzip) || $oView->isFieldRequired(oxaddress__oxcity) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_ADDITIONALINFO2" }]</label></td>
<td>
<input type="text" size="37" maxlength="255" name="deladr[oxaddress__oxaddinfo]" value="[{if isset( $deladr.oxaddress__oxaddinfo ) }][{$deladr.oxaddress__oxaddinfo}][{else}][{$delivadr->oxaddress__oxaddinfo->value }][{/if}]">
[{if $oView->isFieldRequired(oxaddress__oxaddinfo) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_COUNTRY2" }]</label></td>
<td>
<select id="delCountrySelect" name="deladr[oxaddress__oxcountryid]">
<option value="">-</option>
[{assign var="blCountrySelected" value=false}]
[{assign var="sCountrySelect" value=""}]
[{foreach from=$oViewConf->getCountryList() item=country key=country_id}]
[{assign var="sCountrySelect" value=""}]
[{if !$blCountrySelected}]
[{if (isset( $deladr.oxaddress__oxcountryid ) && $deladr.oxaddress__oxcountryid == $country->oxcountry__oxid->value) ||
($delivadr->oxaddress__oxcountryid->value == $country->oxcountry__oxid->value) }]
[{assign var="blCountrySelected" value=true}]
[{assign var="sCountrySelect" value="selected"}]
[{/if}]
[{/if}]
<option value="[{$country->oxcountry__oxid->value}]" [{$sCountrySelect}]>[{$country->oxcountry__oxtitle->value}]</option>
[{/foreach}]
</select>
[{if $oView->isFieldRequired(oxaddress__oxcountryid) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td></td>
<td>
[{include file="inc/state_selector.snippet.tpl"
countrySelectId="delCountrySelect"
stateSelectName="deladr[oxaddress__oxstateid]"
selectedStateIdPrim=$deladr.oxaddress__oxstateid
selectedStateId=$delivadr->oxaddress__oxstateid->value
}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_PHONE2" }]</label></td>
<td>
<input type="text" size="37" maxlength="128" name="deladr[oxaddress__oxfon]" value="[{if isset( $deladr.oxaddress__oxfon ) }][{$deladr.oxaddress__oxfon}][{else}][{$delivadr->oxaddress__oxfon->value }][{/if}]">
[{if $oView->isFieldRequired(oxaddress__oxfon) }]<span class="req">*</span>[{/if}]
</td>
</tr>
<tr>
<td><label>[{ oxmultilang ident="USER_FAX2" }]</label></td>
<td>
<input type="text" size="37" maxlength="128" name="deladr[oxaddress__oxfax]" value="[{if isset( $deladr.oxaddress__oxfax ) }][{$deladr.oxaddress__oxfax}][{else}][{$delivadr->oxaddress__oxfax->value }][{/if}]">
[{if $oView->isFieldRequired(oxaddress__oxfax) }]<span class="req">*</span>[{/if}]
</td>
</tr>
</table>
[{/if}]
</div>
[{if $oView->isLowOrderPrice()}]
<div class="bar prevnext order">
<div class="minorderprice">[{ oxmultilang ident="BASKET_MINORDERPRICE" }] [{ $oView->getMinOrderPrice() }] [{ $currency->sign }]</div>
</div>
[{else}]
<div class="bar prevnext">
<div class="right arrowright">
<input id="test_UserNextStepBottom" name="userform" type="submit" value="[{ oxmultilang ident="USER_NEXTSTEP" }]">
</div>
</div>
[{/if}]
</form>
&nbsp;
[{/if}]
[{ insert name="oxid_tracker" title=$template_title }]
[{include file="_footer.tpl"}]

View File

@ -16,8 +16,21 @@ $aModule = array(
'author' => 'D&sup3; Data Development', 'author' => 'D&sup3; Data Development',
'email' => 'support@shopmodule.com', 'email' => 'support@shopmodule.com',
'url' => 'http://www.oxidmodule.com/', 'url' => 'http://www.oxidmodule.com/',
'extend' => array( 'extend' => array(
'oxcmp_utils' => 'd3GoogleAnalytics/views/d3_oxcmp_utils_googleanalytics', 'oxcmp_utils' => 'd3GoogleAnalytics/views/d3_oxcmp_utils_googleanalytics',
'oxorder' => 'd3GoogleAnalytics/core/d3_oxorder_googleanalytics', 'oxorder' => 'd3GoogleAnalytics/core/d3_oxorder_googleanalytics',
) ),
'files' => array(
'd3_cfg_googleanalytics' => 'd3\d3GoogleAnalytics\controllers\admin\d3_cfg_googleanalytics.php',
'd3_cfg_googleanalytics_campaigns' => 'd3\d3GoogleAnalytics\controllers\admin\d3_cfg_googleanalytics_campaigns.php',
'd3_cfg_googleanalytics_licence' => 'd3\d3GoogleAnalytics\controllers\admin\d3_cfg_googleanalytics_licence.php',
'd3_cfg_googleanalytics_list' => 'd3\d3GoogleAnalytics\controllers\admin\d3_cfg_googleanalytics_list.php',
'd3_cfg_googleanalytics_main' => 'd3\d3GoogleAnalytics\controllers\admin\d3_cfg_googleanalytics_main.php',
),
'templates' => array(
'd3_cfg_googleanalytics_campaigns.tpl' => 'd3\d3GoogleAnalytics\views\admin\tpl\d3_cfg_googleanalytics_campaigns.tpl',
'd3_cfg_googleanalytics_main.tpl' => 'd3\d3GoogleAnalytics\views\admin\tpl\d3_cfg_googleanalytics_main.tpl',
),
'events' => array(),
'blocks' => array(),
); );