First upload
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
[{assign var="oConfig" value=$oViewConf->getConfig()}]
|
||||
[{assign var="sAccountId" value=$oViewConf->getViewThemeParam('sEcondaRecommendationsAID')}]
|
||||
[{assign var="sClassName" value=$oConfig->getRequestParameter('actcl')}]
|
||||
|
||||
[{if $sAccountId}]
|
||||
[{* Definieren, welches econda-Widget geladen werden soll *}]
|
||||
[{if $sClassName == 'start' && $oViewConf->getViewThemeParam('blEcondaRecommendationsStart')}]
|
||||
[{assign var="sListId" value="recommendationsStart"}]
|
||||
[{assign var="sWidgetId" value=$oViewConf->getViewThemeParam('sEcondaWidgetIdStart')}]
|
||||
[{elseif $sClassName == 'alist' && $oViewConf->getViewThemeParam('blEcondaRecommendationsList')}]
|
||||
[{assign var="sListId" value="recommendationsList"}]
|
||||
[{assign var="sWidgetId" value=$oViewConf->getViewThemeParam('sEcondaWidgetIdList')}]
|
||||
[{elseif $sClassName == 'details' && $oViewConf->getViewThemeParam('blEcondaRecommendationsDetails')}]
|
||||
[{assign var="sListId" value="recommendationsDetails"}]
|
||||
[{assign var="sWidgetId" value=$oViewConf->getViewThemeParam('sEcondaWidgetIdDetails')}]
|
||||
[{elseif $sClassName == 'basket' && $oViewConf->getViewThemeParam('blEcondaRecommendationsBasket')}]
|
||||
[{assign var="sListId" value="recommendationsBasket"}]
|
||||
[{assign var="sWidgetId" value=$oViewConf->getViewThemeParam('sEcondaWidgetIdBasket')}]
|
||||
[{/if}]
|
||||
|
||||
[{if $sWidgetId}]
|
||||
[{* econda-Recommendations abholen *}]
|
||||
[{assign var="sUrl" value="http://widgets.crosssell.info/eps/crosssell/recommendations.do?aid=`$sAccountId`&wid=`$sWidgetId`&csize=20&start=0&type=cs&widgetdetails=true"}]
|
||||
[{assign var="oResponse" value=$sUrl|@file_get_contents|json_decode}]
|
||||
|
||||
[{* Prüfen, ob Artikel-IDs zurückgekommen sind *}]
|
||||
[{if $oResponse && count($oResponse->items)}]
|
||||
[{*<pre>[{$oResponse|var_dump}]</pre>*}]
|
||||
|
||||
[{* Array mit Artikeln aus Response bilden*}]
|
||||
[{foreach from=$oResponse->items item="oItem"}]
|
||||
[{capture append="aArticles"}][{$oItem->id}][{/capture}]
|
||||
[{/foreach}]
|
||||
|
||||
[{* ToDo: Prüfen, ob Artikel anhand der OXID oder Artikelnummer geladen werden müssen. *}]
|
||||
[{*@var oxArticleList $oArtList *}]
|
||||
[{assign var="sArticles" value="','"|@implode:$aArticles}]
|
||||
[{assign var="sViewName" value="oxarticles"|@getViewName}]
|
||||
[{assign var="oArtList" value="oxArticleList"|@oxNew}]
|
||||
[{$oArtList->selectString("SELECT * FROM `$sViewName` WHERE OXARTNUM IN('`$sArticles`') AND OXACTIVE = 1")}]
|
||||
|
||||
[{include file="widget/product/list.tpl" listId=$sListId head=$oResponse->widgetdetails->title products=$oArtList}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
1
shop/source/Application/views/wave/tpl/custom/dir.txt
Normal file
1
shop/source/Application/views/wave/tpl/custom/dir.txt
Normal file
@@ -0,0 +1 @@
|
||||
Custom template directory.
|
||||
101
shop/source/Application/views/wave/tpl/email/html/footer.tpl
Normal file
101
shop/source/Application/views/wave/tpl/email/html/footer.tpl
Normal file
@@ -0,0 +1,101 @@
|
||||
<table class="row footer">
|
||||
<tr bgcolor="#ebebeb">
|
||||
<td class="wrapper">
|
||||
<table class="six columns">
|
||||
<tr>
|
||||
<td class="left-text-pad">
|
||||
<h5>[{oxmultilang ident="CONTACT" suffix="COLON"}]</h5>
|
||||
[{oxcontent ident="oxemailfooter"}]
|
||||
</td>
|
||||
<td class="expander"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
[{if $oViewConf->getViewThemeParam('sFacebookUrl') || $oViewConf->getViewThemeParam('sGooglePlusUrl') || $oViewConf->getViewThemeParam('sTwitterUrl') || $oViewConf->getViewThemeParam('sYouTubeUrl') || $oViewConf->getViewThemeParam('sBlogUrl')}]
|
||||
<td class="wrapper last">
|
||||
<table class="six columns">
|
||||
<tr>
|
||||
<td class="right-text-pad">
|
||||
|
||||
<h5>[{oxmultilang ident="DD_FOOTER_FOLLOW_US" suffix="COLON"}]</h5>
|
||||
|
||||
[{if $oViewConf->getViewThemeParam('sFacebookUrl')}]
|
||||
<table class="tiny-button facebook">
|
||||
<tr>
|
||||
<td>
|
||||
<a href="[{$oViewConf->getViewThemeParam('sFacebookUrl')}]" target="_blank">Facebook</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
[{/if}]
|
||||
|
||||
[{if $oViewConf->getViewThemeParam('sTwitterUrl')}]
|
||||
<table class="tiny-button twitter">
|
||||
<tr>
|
||||
<td>
|
||||
<a href="[{$oViewConf->getViewThemeParam('sTwitterUrl')}]" target="_blank">Twitter</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
[{/if}]
|
||||
|
||||
[{if $oViewConf->getViewThemeParam('sGooglePlusUrl')}]
|
||||
<table class="tiny-button google-plus">
|
||||
<tr>
|
||||
<td>
|
||||
<a href="[{$oViewConf->getViewThemeParam('sGooglePlusUrl')}]" target="_blank">Google+</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
[{/if}]
|
||||
|
||||
[{if $oViewConf->getViewThemeParam('sYouTubeUrl')}]
|
||||
<table class="tiny-button youtube">
|
||||
<tr>
|
||||
<td>
|
||||
<a href="[{$oViewConf->getViewThemeParam('sYouTubeUrl')}]" target="_blank">YouTube</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
[{/if}]
|
||||
|
||||
</td>
|
||||
<td class="expander"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
[{/if}]
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="row">
|
||||
<tr>
|
||||
<td class="wrapper last">
|
||||
|
||||
<table class="twelve columns">
|
||||
<tr>
|
||||
<td align="left">
|
||||
[{*ToDo*}]
|
||||
</td>
|
||||
<td class="expander"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,10 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="user" value=$oEmailView->getUser()}]
|
||||
|
||||
|
||||
[{include file="email/html/header.tpl" title="DD_FORGOT_PASSWORD_HEADING"|oxmultilangassign}]
|
||||
|
||||
<p>[{oxcontent ident="oxupdatepassinfoemail"}]</p>
|
||||
|
||||
[{include file="email/html/footer.tpl"}]
|
||||
855
shop/source/Application/views/wave/tpl/email/html/header.tpl
Normal file
855
shop/source/Application/views/wave/tpl/email/html/header.tpl
Normal file
@@ -0,0 +1,855 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=[{$oEmailView->getCharset()}]" />
|
||||
<meta name="viewport" content="width=device-width"/>
|
||||
<style type="text/css">
|
||||
/**********************************************
|
||||
* Ink v1.0.5 - Copyright 2013 ZURB Inc *
|
||||
**********************************************/
|
||||
|
||||
/* Client-specific Styles & Reset */
|
||||
|
||||
#outlook a {
|
||||
padding:0;
|
||||
}
|
||||
|
||||
body{
|
||||
width:100% !important;
|
||||
min-width: 100%;
|
||||
-webkit-text-size-adjust:100%;
|
||||
-ms-text-size-adjust:100%;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.ExternalClass {
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.ExternalClass,
|
||||
.ExternalClass p,
|
||||
.ExternalClass span,
|
||||
.ExternalClass font,
|
||||
.ExternalClass td,
|
||||
.ExternalClass div {
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
#backgroundTable {
|
||||
margin:0;
|
||||
padding:0;
|
||||
width:100% !important;
|
||||
line-height: 100% !important;
|
||||
}
|
||||
|
||||
img {
|
||||
outline:none;
|
||||
text-decoration:none;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
float: left;
|
||||
clear: both;
|
||||
display: block;
|
||||
}
|
||||
|
||||
center {
|
||||
width: 100%;
|
||||
min-width: 580px;
|
||||
}
|
||||
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 0 10px;
|
||||
}
|
||||
|
||||
table {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
td {
|
||||
word-break: break-word;
|
||||
-webkit-hyphens: auto;
|
||||
-moz-hyphens: auto;
|
||||
hyphens: auto;
|
||||
border-collapse: collapse !important;
|
||||
}
|
||||
|
||||
table, tr, td {
|
||||
padding: 0;
|
||||
vertical-align: top;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
hr {
|
||||
color: #d9d9d9;
|
||||
background-color: #d9d9d9;
|
||||
height: 1px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Responsive Grid */
|
||||
|
||||
table.body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.container {
|
||||
width: 580px;
|
||||
margin: 0 auto;
|
||||
text-align: inherit;
|
||||
}
|
||||
|
||||
table.row {
|
||||
padding: 0px;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
table.container table.row {
|
||||
display: block;
|
||||
}
|
||||
|
||||
td.wrapper {
|
||||
padding: 10px 20px 0px 0px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
table.columns,
|
||||
table.column {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
table.columns td,
|
||||
table.column td {
|
||||
padding: 0px 0px 10px;
|
||||
}
|
||||
|
||||
table.columns td.sub-columns,
|
||||
table.column td.sub-columns,
|
||||
table.columns td.sub-column,
|
||||
table.column td.sub-column {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
td.sub-column, td.sub-columns {
|
||||
min-width: 0px;
|
||||
}
|
||||
|
||||
table.row td.last,
|
||||
table.container td.last {
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
table.one { width: 30px; }
|
||||
table.two { width: 80px; }
|
||||
table.three { width: 130px; }
|
||||
table.four { width: 180px; }
|
||||
table.five { width: 230px; }
|
||||
table.six { width: 280px; }
|
||||
table.seven { width: 330px; }
|
||||
table.eight { width: 380px; }
|
||||
table.nine { width: 430px; }
|
||||
table.ten { width: 480px; }
|
||||
table.eleven { width: 530px; }
|
||||
table.twelve { width: 580px; }
|
||||
|
||||
table.one center { min-width: 30px; }
|
||||
table.two center { min-width: 80px; }
|
||||
table.three center { min-width: 130px; }
|
||||
table.four center { min-width: 180px; }
|
||||
table.five center { min-width: 230px; }
|
||||
table.six center { min-width: 280px; }
|
||||
table.seven center { min-width: 330px; }
|
||||
table.eight center { min-width: 380px; }
|
||||
table.nine center { min-width: 430px; }
|
||||
table.ten center { min-width: 480px; }
|
||||
table.eleven center { min-width: 530px; }
|
||||
table.twelve center { min-width: 580px; }
|
||||
|
||||
table.one .panel center { min-width: 10px; }
|
||||
table.two .panel center { min-width: 60px; }
|
||||
table.three .panel center { min-width: 110px; }
|
||||
table.four .panel center { min-width: 160px; }
|
||||
table.five .panel center { min-width: 210px; }
|
||||
table.six .panel center { min-width: 260px; }
|
||||
table.seven .panel center { min-width: 310px; }
|
||||
table.eight .panel center { min-width: 360px; }
|
||||
table.nine .panel center { min-width: 410px; }
|
||||
table.ten .panel center { min-width: 460px; }
|
||||
table.eleven .panel center { min-width: 510px; }
|
||||
table.twelve .panel center { min-width: 560px; }
|
||||
|
||||
.body .columns td.one,
|
||||
.body .column td.one { width: 8.333333%; }
|
||||
.body .columns td.two,
|
||||
.body .column td.two { width: 16.666666%; }
|
||||
.body .columns td.three,
|
||||
.body .column td.three { width: 25%; }
|
||||
.body .columns td.four,
|
||||
.body .column td.four { width: 33.333333%; }
|
||||
.body .columns td.five,
|
||||
.body .column td.five { width: 41.666666%; }
|
||||
.body .columns td.six,
|
||||
.body .column td.six { width: 50%; }
|
||||
.body .columns td.seven,
|
||||
.body .column td.seven { width: 58.333333%; }
|
||||
.body .columns td.eight,
|
||||
.body .column td.eight { width: 66.666666%; }
|
||||
.body .columns td.nine,
|
||||
.body .column td.nine { width: 75%; }
|
||||
.body .columns td.ten,
|
||||
.body .column td.ten { width: 83.333333%; }
|
||||
.body .columns td.eleven,
|
||||
.body .column td.eleven { width: 91.666666%; }
|
||||
.body .columns td.twelve,
|
||||
.body .column td.twelve { width: 100%; }
|
||||
|
||||
td.offset-by-one { padding-left: 50px; }
|
||||
td.offset-by-two { padding-left: 100px; }
|
||||
td.offset-by-three { padding-left: 150px; }
|
||||
td.offset-by-four { padding-left: 200px; }
|
||||
td.offset-by-five { padding-left: 250px; }
|
||||
td.offset-by-six { padding-left: 300px; }
|
||||
td.offset-by-seven { padding-left: 350px; }
|
||||
td.offset-by-eight { padding-left: 400px; }
|
||||
td.offset-by-nine { padding-left: 450px; }
|
||||
td.offset-by-ten { padding-left: 500px; }
|
||||
td.offset-by-eleven { padding-left: 550px; }
|
||||
|
||||
td.expander {
|
||||
visibility: hidden;
|
||||
width: 0px;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
table.columns .text-pad,
|
||||
table.column .text-pad {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
table.columns .left-text-pad,
|
||||
table.columns .text-pad-left,
|
||||
table.column .left-text-pad,
|
||||
table.column .text-pad-left {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
table.columns .right-text-pad,
|
||||
table.columns .text-pad-right,
|
||||
table.column .right-text-pad,
|
||||
table.column .text-pad-right {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
/* Block Grid */
|
||||
|
||||
.block-grid {
|
||||
width: 100%;
|
||||
max-width: 580px;
|
||||
}
|
||||
|
||||
.block-grid td {
|
||||
display: inline-block;
|
||||
padding:10px;
|
||||
}
|
||||
|
||||
.two-up td {
|
||||
width:270px;
|
||||
}
|
||||
|
||||
.three-up td {
|
||||
width:173px;
|
||||
}
|
||||
|
||||
.four-up td {
|
||||
width:125px;
|
||||
}
|
||||
|
||||
.five-up td {
|
||||
width:96px;
|
||||
}
|
||||
|
||||
.six-up td {
|
||||
width:76px;
|
||||
}
|
||||
|
||||
.seven-up td {
|
||||
width:62px;
|
||||
}
|
||||
|
||||
.eight-up td {
|
||||
width:52px;
|
||||
}
|
||||
|
||||
/* Alignment & Visibility Classes */
|
||||
|
||||
table.center, td.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1.center,
|
||||
h2.center,
|
||||
h3.center,
|
||||
h4.center,
|
||||
h5.center,
|
||||
h6.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
span.center {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
img.center {
|
||||
margin: 0 auto;
|
||||
float: none;
|
||||
}
|
||||
|
||||
.show-for-small,
|
||||
.hide-for-desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Typography */
|
||||
|
||||
body, table.body, h1, h2, h3, h4, h5, h6, p, td {
|
||||
color: #222222;
|
||||
font-family: "Helvetica", "Arial", sans-serif;
|
||||
font-weight: normal;
|
||||
padding:0;
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
word-break: normal;
|
||||
}
|
||||
|
||||
h1 {font-size: 28px;}
|
||||
h2 {font-size: 24px;}
|
||||
h3 {font-size: 20px;}
|
||||
h4 {font-size: 18px;}
|
||||
h5 {font-size: 16px;}
|
||||
h6 {font-size: 16px;}
|
||||
body, table.body, p, td {font-size: 14px;line-height:19px;}
|
||||
|
||||
p.lead, p.lede, p.leed {
|
||||
font-size: 18px;
|
||||
line-height:21px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #083d8d;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #083d8d !important;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: #083d8d !important;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #083d8d !important;
|
||||
}
|
||||
|
||||
h1 a,
|
||||
h2 a,
|
||||
h3 a,
|
||||
h4 a,
|
||||
h5 a,
|
||||
h6 a {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
h1 a:active,
|
||||
h2 a:active,
|
||||
h3 a:active,
|
||||
h4 a:active,
|
||||
h5 a:active,
|
||||
h6 a:active {
|
||||
color: #333333 !important;
|
||||
}
|
||||
|
||||
h1 a:visited,
|
||||
h2 a:visited,
|
||||
h3 a:visited,
|
||||
h4 a:visited,
|
||||
h5 a:visited,
|
||||
h6 a:visited {
|
||||
color: #333333 !important;
|
||||
}
|
||||
|
||||
h1.underline,
|
||||
h2.underline,
|
||||
h3.underline,
|
||||
h4.underline,
|
||||
h5.underline,
|
||||
h6.underline {
|
||||
border-bottom:1px solid #ebebeb;
|
||||
padding-bottom: 3px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.text-right { text-align: right; }
|
||||
|
||||
/* Panels */
|
||||
|
||||
.panel {
|
||||
background: #f2f2f2;
|
||||
border: 1px solid #d9d9d9;
|
||||
padding: 10px !important;
|
||||
}
|
||||
|
||||
.sub-grid table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sub-grid td.sub-columns {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
|
||||
table.button,
|
||||
table.tiny-button,
|
||||
table.small-button,
|
||||
table.medium-button,
|
||||
table.large-button {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
table.button td,
|
||||
table.tiny-button td,
|
||||
table.small-button td,
|
||||
table.medium-button td,
|
||||
table.large-button td {
|
||||
display: block;
|
||||
width: auto !important;
|
||||
text-align: center;
|
||||
background: #3D4F55;
|
||||
border: 1px solid #28353b;
|
||||
color: #ffffff;
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
table.tiny-button td {
|
||||
padding: 5px 0 4px;
|
||||
}
|
||||
|
||||
table.small-button td {
|
||||
padding: 8px 0 7px;
|
||||
}
|
||||
|
||||
table.medium-button td {
|
||||
padding: 12px 0 10px;
|
||||
}
|
||||
|
||||
table.large-button td {
|
||||
padding: 21px 0 18px;
|
||||
}
|
||||
|
||||
table.button td a,
|
||||
table.tiny-button td a,
|
||||
table.small-button td a,
|
||||
table.medium-button td a,
|
||||
table.large-button td a {
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
color: #ffffff;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
table.tiny-button td a {
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
table.small-button td a {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
table.medium-button td a {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
table.large-button td a {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
table.button:hover td,
|
||||
table.button:visited td,
|
||||
table.button:active td {
|
||||
background: #333333 !important;
|
||||
}
|
||||
|
||||
table.button:hover td a,
|
||||
table.button:visited td a,
|
||||
table.button:active td a {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
table.button:hover td,
|
||||
table.tiny-button:hover td,
|
||||
table.small-button:hover td,
|
||||
table.medium-button:hover td,
|
||||
table.large-button:hover td {
|
||||
background: #333333 !important;
|
||||
}
|
||||
|
||||
table.button:hover td a,
|
||||
table.button:active td a,
|
||||
table.button td a:visited,
|
||||
table.tiny-button:hover td a,
|
||||
table.tiny-button:active td a,
|
||||
table.tiny-button td a:visited,
|
||||
table.small-button:hover td a,
|
||||
table.small-button:active td a,
|
||||
table.small-button td a:visited,
|
||||
table.medium-button:hover td a,
|
||||
table.medium-button:active td a,
|
||||
table.medium-button td a:visited,
|
||||
table.large-button:hover td a,
|
||||
table.large-button:active td a,
|
||||
table.large-button td a:visited {
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
table.secondary td {
|
||||
background: #e9e9e9;
|
||||
border-color: #d0d0d0;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
table.secondary td a {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
table.secondary:hover td {
|
||||
background: #d0d0d0 !important;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
table.secondary:hover td a,
|
||||
table.secondary td a:visited,
|
||||
table.secondary:active td a {
|
||||
color: #555 !important;
|
||||
}
|
||||
|
||||
table.success td {
|
||||
background: #5da423;
|
||||
border-color: #457a1a;
|
||||
}
|
||||
|
||||
table.success:hover td {
|
||||
background: #457a1a !important;
|
||||
}
|
||||
|
||||
table.alert td {
|
||||
background: #c60f13;
|
||||
border-color: #970b0e;
|
||||
}
|
||||
|
||||
table.alert:hover td {
|
||||
background: #970b0e !important;
|
||||
}
|
||||
|
||||
table.radius td {
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
table.round td {
|
||||
-webkit-border-radius: 500px;
|
||||
-moz-border-radius: 500px;
|
||||
border-radius: 500px;
|
||||
}
|
||||
|
||||
/* Outlook First */
|
||||
|
||||
body.outlook p {
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
/* Media Queries */
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
|
||||
table[class="body"] img {
|
||||
width: auto !important;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
table[class="body"] center {
|
||||
min-width: 0 !important;
|
||||
}
|
||||
|
||||
table[class="body"] .container {
|
||||
width: 95% !important;
|
||||
}
|
||||
|
||||
table[class="body"] .row {
|
||||
width: 100% !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
table[class="body"] .wrapper {
|
||||
display: block !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
table[class="body"] .columns,
|
||||
table[class="body"] .column {
|
||||
table-layout: fixed !important;
|
||||
float: none !important;
|
||||
width: 100% !important;
|
||||
padding-right: 0px !important;
|
||||
padding-left: 0px !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
table[class="body"] .wrapper.first .columns,
|
||||
table[class="body"] .wrapper.first .column {
|
||||
display: table !important;
|
||||
}
|
||||
|
||||
table[class="body"] table.columns td,
|
||||
table[class="body"] table.column td {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
table[class="body"] .columns td.one,
|
||||
table[class="body"] .column td.one { width: 8.333333% !important; }
|
||||
table[class="body"] .columns td.two,
|
||||
table[class="body"] .column td.two { width: 16.666666% !important; }
|
||||
table[class="body"] .columns td.three,
|
||||
table[class="body"] .column td.three { width: 25% !important; }
|
||||
table[class="body"] .columns td.four,
|
||||
table[class="body"] .column td.four { width: 33.333333% !important; }
|
||||
table[class="body"] .columns td.five,
|
||||
table[class="body"] .column td.five { width: 41.666666% !important; }
|
||||
table[class="body"] .columns td.six,
|
||||
table[class="body"] .column td.six { width: 50% !important; }
|
||||
table[class="body"] .columns td.seven,
|
||||
table[class="body"] .column td.seven { width: 58.333333% !important; }
|
||||
table[class="body"] .columns td.eight,
|
||||
table[class="body"] .column td.eight { width: 66.666666% !important; }
|
||||
table[class="body"] .columns td.nine,
|
||||
table[class="body"] .column td.nine { width: 75% !important; }
|
||||
table[class="body"] .columns td.ten,
|
||||
table[class="body"] .column td.ten { width: 83.333333% !important; }
|
||||
table[class="body"] .columns td.eleven,
|
||||
table[class="body"] .column td.eleven { width: 91.666666% !important; }
|
||||
table[class="body"] .columns td.twelve,
|
||||
table[class="body"] .column td.twelve { width: 100% !important; }
|
||||
|
||||
table[class="body"] td.offset-by-one,
|
||||
table[class="body"] td.offset-by-two,
|
||||
table[class="body"] td.offset-by-three,
|
||||
table[class="body"] td.offset-by-four,
|
||||
table[class="body"] td.offset-by-five,
|
||||
table[class="body"] td.offset-by-six,
|
||||
table[class="body"] td.offset-by-seven,
|
||||
table[class="body"] td.offset-by-eight,
|
||||
table[class="body"] td.offset-by-nine,
|
||||
table[class="body"] td.offset-by-ten,
|
||||
table[class="body"] td.offset-by-eleven {
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
table[class="body"] table.columns td.expander {
|
||||
width: 1px !important;
|
||||
}
|
||||
|
||||
table[class="body"] .right-text-pad,
|
||||
table[class="body"] .text-pad-right {
|
||||
padding-left: 10px !important;
|
||||
}
|
||||
|
||||
table[class="body"] .left-text-pad,
|
||||
table[class="body"] .text-pad-left {
|
||||
padding-right: 10px !important;
|
||||
}
|
||||
|
||||
table[class="body"] .hide-for-small,
|
||||
table[class="body"] .show-for-desktop {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
table[class="body"] .show-for-small,
|
||||
table[class="body"] .hide-for-desktop {
|
||||
display: inherit !important;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
<style type="text/css">
|
||||
|
||||
table.footer table.tiny-button td a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table.facebook td {
|
||||
background: #3b5998;
|
||||
border-color: #2d4473;
|
||||
}
|
||||
|
||||
table.facebook:hover td {
|
||||
background: #2d4473 !important;
|
||||
}
|
||||
|
||||
table.twitter td {
|
||||
background: #00acee;
|
||||
border-color: #0087bb;
|
||||
}
|
||||
|
||||
table.twitter:hover td {
|
||||
background: #0087bb !important;
|
||||
}
|
||||
|
||||
table.google-plus td {
|
||||
background-color: #d34836;
|
||||
border-color: #b31217;
|
||||
}
|
||||
|
||||
table.youtube td {
|
||||
background-color: #cd201f;
|
||||
border-color: #b31217;
|
||||
}
|
||||
|
||||
table.google-plus:hover td,
|
||||
table.youtube:hover td {
|
||||
background-color: #d34836 !important;
|
||||
}
|
||||
|
||||
table.blog td {
|
||||
background-color: #d0d0d0;
|
||||
border-color: #aeaeae;
|
||||
}
|
||||
|
||||
table.blog:hover td {
|
||||
background: #aeaeae !important;
|
||||
}
|
||||
|
||||
.template-label {
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.callout .wrapper {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.callout .panel {
|
||||
background: #ECF8FF;
|
||||
border-color: #b9e5ff;
|
||||
}
|
||||
|
||||
.header {
|
||||
}
|
||||
|
||||
.footer .wrapper {
|
||||
background: #ebebeb;
|
||||
}
|
||||
|
||||
.footer h5 {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
table.columns .text-pad {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
table.columns .left-text-pad {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
table.columns .right-text-pad {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
|
||||
table[class="body"] .right-text-pad {
|
||||
padding-left: 10px !important;
|
||||
}
|
||||
|
||||
table[class="body"] .left-text-pad {
|
||||
padding-right: 10px !important;
|
||||
}
|
||||
}
|
||||
|
||||
[{$style}]
|
||||
</style>
|
||||
</head>
|
||||
<body bgcolor="#ffffff">
|
||||
[{block name="email_html_header"}][{/block}]
|
||||
[{assign var="oConfig" value=$oViewConf->getConfig()}]
|
||||
<table class="body">
|
||||
<tr>
|
||||
<td class="center" align="center" valign="top">
|
||||
<center>
|
||||
|
||||
<table class="row header">
|
||||
<tr>
|
||||
<td class="center" align="center">
|
||||
<center>
|
||||
<table class="container">
|
||||
<tr>
|
||||
<td class="wrapper[{if !$title}] last[{/if}]">
|
||||
<table class="twelve columns">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="six sub-columns text-pad-left">
|
||||
[{assign var="sEmailLogo" value=$oViewConf->getViewThemeParam('sEmailLogo')}]
|
||||
<a href="[{$oConfig->getShopUrl(null,false)}]" title="[{$shop->oxshops__oxtitleprefix->value}]">
|
||||
<img src="[{$oViewConf->getImageUrl($sEmailLogo, false)}]" border="0" hspace="0" vspace="0" alt="[{$shop->oxshops__oxname->value}]" align="texttop">
|
||||
</a>
|
||||
</td>
|
||||
<td class="six sub-columns text-pad-left last" style="text-align:right; vertical-align:middle;">
|
||||
<span class="template-label">[{$title}]</span>
|
||||
</td>
|
||||
<td class="expander"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="container">
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<hr/>
|
||||
41
shop/source/Application/views/wave/tpl/email/html/invite.tpl
Normal file
41
shop/source/Application/views/wave/tpl/email/html/invite.tpl
Normal file
@@ -0,0 +1,41 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="userinfo" value=$oEmailView->getUser()}]
|
||||
|
||||
[{include file="email/html/header.tpl" title="DD_INVITE_HEADING"|oxmultilangassign}]
|
||||
|
||||
<table border="0" width="100%" cellspacing="10" cellpadding="0" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td style="white-space:nowrap;">
|
||||
<b style="white-space:nowrap;">[{oxmultilang ident="FROM"}]</b>
|
||||
</td>
|
||||
<td style="white-space:nowrap;">[{$userinfo->send_name|oxescape}]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="white-space:nowrap;">
|
||||
<b style="white-space:nowrap;">[{oxmultilang ident="EMAIL"}]</b>
|
||||
</td>
|
||||
<td style="white-space:nowrap;">[{$userinfo->send_email|oxescape}]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">[{$userinfo->send_message|oxescape|nl2br}]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">[{oxmultilang ident="DD_INVITE_LINK"}]: <a href="[{$sHomeUrl}]">[{$shop->oxshops__oxname->value}]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">[{oxmultilang ident="MANY_GREETINGS"}] [{$userinfo->send_name|oxescape}]</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
[{include file="email/html/footer.tpl"}]
|
||||
@@ -0,0 +1,9 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="user" value=$oEmailView->getUser()}]
|
||||
|
||||
[{include file="email/html/header.tpl" title="DD_NEWSLETTER_OPTIN_HEADING"|oxmultilangassign}]
|
||||
|
||||
<p>[{oxcontent ident="oxnewsletteremail"}]</p>
|
||||
|
||||
[{include file="email/html/footer.tpl"}]
|
||||
562
shop/source/Application/views/wave/tpl/email/html/order_cust.tpl
Normal file
562
shop/source/Application/views/wave/tpl/email/html/order_cust.tpl
Normal file
@@ -0,0 +1,562 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="oConf" value=$oViewConf->getConfig()}]
|
||||
[{assign var="currency" value=$oEmailView->getCurrency()}]
|
||||
[{assign var="user" value=$oEmailView->getUser()}]
|
||||
[{assign var="oDelSet" value=$order->getDelSet()}]
|
||||
[{assign var="basket" value=$order->getBasket()}]
|
||||
[{assign var="payment" value=$order->getPayment()}]
|
||||
[{assign var="sOrderId" value=$order->getId()}]
|
||||
[{assign var="oOrderFileList" value=$oEmailView->getOrderFileList($sOrderId)}]
|
||||
|
||||
[{capture assign="style"}]
|
||||
table.orderarticles th {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table.orderarticles th, table.orderarticles td {
|
||||
border: 1px solid #d4d4d4;
|
||||
font-size: 13px;
|
||||
padding:5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table.orderarticles {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table.orderarticles thead th {
|
||||
background-color: #ebebeb;
|
||||
}
|
||||
|
||||
table.orderarticles .odd {
|
||||
background-color: #ebebeb;
|
||||
}
|
||||
[{/capture}]
|
||||
|
||||
[{include file="email/html/header.tpl" title="PAGE_TITLE_ORDER"|oxmultilangassign|cat:" #"|cat:$order->oxorder__oxordernr->value style=$style}]
|
||||
|
||||
[{block name="email_html_order_cust_orderemail"}]
|
||||
<p>
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value == "oxempty"}]
|
||||
[{oxcontent ident="oxuserordernpemail"}]
|
||||
[{else}]
|
||||
[{oxcontent ident="oxuserorderemail"}]
|
||||
[{/if}]
|
||||
</p>
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_cust_address"}]
|
||||
<!-- Address info -->
|
||||
<table class="row footer">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="wrapper">
|
||||
<table class="six columns">
|
||||
<tbody>
|
||||
<tr bgcolor="#ebebeb">
|
||||
<td class="left-text-pad">
|
||||
<h3 style="margin: 0; padding: 0 0 5px; line-height: 20px; text-transform: uppercase;">[{oxmultilang ident="BILLING_ADDRESS"}]</h3>
|
||||
<p>
|
||||
[{$order->oxorder__oxbillcompany->value}]<br>
|
||||
[{$order->oxorder__oxbillsal->value|oxmultilangsal}] [{$order->oxorder__oxbillfname->value}] [{$order->oxorder__oxbilllname->value}]<br>
|
||||
[{if $order->oxorder__oxbilladdinfo->value}][{$order->oxorder__oxbilladdinfo->value}]<br>[{/if}]
|
||||
[{$order->oxorder__oxbillstreet->value}] [{$order->oxorder__oxbillstreetnr->value}]<br>
|
||||
[{$order->oxorder__oxbillstateid->value}]
|
||||
[{$order->oxorder__oxbillzip->value}] [{$order->oxorder__oxbillcity->value}]<br>
|
||||
[{$order->oxorder__oxbillcountry->value}]<br>
|
||||
[{if $order->oxorder__oxbillustid->value}][{oxmultilang ident="VAT_ID_NUMBER"}] [{$order->oxorder__oxbillustid->value}]<br>[{/if}]
|
||||
[{oxmultilang ident="PHONE"}] [{$order->oxorder__oxbillfon->value}]<br><br>
|
||||
</p>
|
||||
</td>
|
||||
<td class="expander"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
<td class="wrapper last">
|
||||
<table class="six columns">
|
||||
<tbody>
|
||||
<tr bgcolor="#ebebeb">
|
||||
<td class="last right-text-pad">
|
||||
<h3 style="margin: 0; padding: 0 0 5px; line-height: 20px; text-transform: uppercase;">[{oxmultilang ident="SHIPPING_ADDRESS"}]</h3>
|
||||
<p>
|
||||
[{if $order->oxorder__oxdellname->value}]
|
||||
[{$order->oxorder__oxdelcompany->value}]<br>
|
||||
[{$order->oxorder__oxdelsal->value|oxmultilangsal}] [{$order->oxorder__oxdelfname->value}] [{$order->oxorder__oxdellname->value}]<br>
|
||||
[{if $order->oxorder__oxdeladdinfo->value}][{$order->oxorder__oxdeladdinfo->value}]<br>[{/if}]
|
||||
[{$order->oxorder__oxdelstreet->value}] [{$order->oxorder__oxdelstreetnr->value}]<br>
|
||||
[{$order->oxorder__oxdelstateid->value}]
|
||||
[{$order->oxorder__oxdelzip->value}] [{$order->oxorder__oxdelcity->value}]<br>
|
||||
[{$order->oxorder__oxdelcountry->value}]
|
||||
[{else}]
|
||||
[{$order->oxorder__oxbillcompany->value}]<br>
|
||||
[{$order->oxorder__oxbillsal->value|oxmultilangsal}] [{$order->oxorder__oxbillfname->value}] [{$order->oxorder__oxbilllname->value}]<br>
|
||||
[{if $order->oxorder__oxbilladdinfo->value}][{$order->oxorder__oxbilladdinfo->value}]<br>[{/if}]
|
||||
[{$order->oxorder__oxbillstreet->value}] [{$order->oxorder__oxbillstreetnr->value}]<br>
|
||||
[{$order->oxorder__oxbillstateid->value}]
|
||||
[{$order->oxorder__oxbillzip->value}] [{$order->oxorder__oxbillcity->value}]<br>
|
||||
[{$order->oxorder__oxbillcountry->value}]<br>
|
||||
[{/if}]
|
||||
</p>
|
||||
</td>
|
||||
<td class="expander"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
[{/block}]
|
||||
|
||||
<table class="orderarticles" width="100%" style="width:100%;">
|
||||
<thead>
|
||||
<tr bgcolor="#ebebeb">
|
||||
<th[{if $oViewConf->getViewThemeParam('blEmailsShowProductPictures')}] colspan="2"[{/if}]>[{oxmultilang ident="PRODUCT"}]</th>
|
||||
<th>[{oxmultilang ident="UNIT_PRICE"}]</th>
|
||||
<th>[{oxmultilang ident="QUANTITY"}]</th>
|
||||
<th>[{oxmultilang ident="VAT"}]</th>
|
||||
<th>[{oxmultilang ident="TOTAL"}]</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[{assign var="basketitemlist" value=$basket->getBasketArticles()}]
|
||||
|
||||
[{foreach key=basketindex from=$basket->getContents() item=basketitem}]
|
||||
[{block name="email_html_order_cust_basketitem"}]
|
||||
[{assign var="basketproduct" value=$basketitemlist.$basketindex}]
|
||||
|
||||
<tr valign="top">
|
||||
[{if $oViewConf->getViewThemeParam('blEmailsShowProductPictures')}]
|
||||
<td>
|
||||
<img src="[{$basketproduct->getIconUrl(false)}]" border="0" hspace="0" vspace="0" alt="[{$basketitem->getTitle()|strip_tags}]" align="texttop" style="max-width:80px;">
|
||||
</td>
|
||||
[{/if}]
|
||||
<td>
|
||||
<p>
|
||||
[{block name="email_html_order_cust_basketitem_title"}]
|
||||
<b>[{$basketitem->getTitle()}]</b>
|
||||
[{/block}]
|
||||
[{block name="email_html_order_cust_basketitem_sellist"}]
|
||||
[{if $basketitem->getChosenSelList()}]
|
||||
<ul>
|
||||
[{foreach from=$basketitem->getChosenSelList() item=oList}]
|
||||
<li style="padding: 3px;">[{$oList->name}] [{$oList->value}]</li>
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{block name="email_html_order_cust_basketitem_persparams"}]
|
||||
[{if $basketitem->getPersParams()}]
|
||||
<ul>
|
||||
[{foreach key=sVar from=$basketitem->getPersParams() item=aParam}]
|
||||
<li style="padding: 3px;">[{$sVar}] : [{$aParam}]</li>
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
<br>
|
||||
[{block name="email_html_order_cust_basketitem_artnum"}]
|
||||
<p>
|
||||
<b>[{oxmultilang ident="PRODUCT_NO" suffix="COLON"}] [{$basketproduct->oxarticles__oxartnum->value}]</b>
|
||||
</p>
|
||||
[{/block}]
|
||||
[{if $oViewConf->getShowGiftWrapping()}]
|
||||
[{assign var="oWrapping" value=$basketitem->getWrapping()}]
|
||||
<p>
|
||||
<b>[{oxmultilang ident="GIFT_WRAPPING"}]: </b>
|
||||
[{if !$basketitem->getWrappingId()}]
|
||||
[{oxmultilang ident="NONE"}]
|
||||
[{else}]
|
||||
[{$oWrapping->oxwrapping__oxname->value}]
|
||||
[{/if}]
|
||||
</p>
|
||||
[{/if}]
|
||||
|
||||
[{if $blShowReviewLink}]
|
||||
<p>
|
||||
<a href="[{$oConf->getShopURL()}]index.php?shp=[{$shop->oxshops__oxid->value}]&anid=[{$basketitem->getProductId()}]&cl=review&reviewuserhash=[{$user->getReviewUserHash($user->getId())}]" style="" target="_blank">[{oxmultilang ident="PRODUCT_REVIEW"}]</a>
|
||||
</p>
|
||||
[{/if}]
|
||||
</p>
|
||||
</td>
|
||||
<td align="right">
|
||||
[{block name="email_html_order_cust_basketitem_unitprice"}]
|
||||
<p>
|
||||
<b>[{if $basketitem->getFUnitPrice()}][{$basketitem->getFUnitPrice()}] [{$currency->sign}][{/if}]</b>
|
||||
[{if !$basketitem->isBundle()}]
|
||||
[{assign var=dRegUnitPrice value=$basketitem->getRegularUnitPrice()}]
|
||||
[{assign var=dUnitPrice value=$basketitem->getUnitPrice()}]
|
||||
[{if $dRegUnitPrice->getPrice() > $dUnitPrice->getPrice()}]
|
||||
<br><s>[{$basketitem->getFRegularUnitPrice()}] [{$currency->sign}]</s>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
</p>
|
||||
[{/block}]
|
||||
[{block name="email_html_order_cust_basketitem_discounts"}]
|
||||
[{if $basketitem->aDiscounts}]
|
||||
<p>
|
||||
<em>[{oxmultilang ident="DISCOUNT"}]
|
||||
[{foreach from=$basketitem->aDiscounts item=oDiscount}]
|
||||
<br>[{$oDiscount->sDiscount}]
|
||||
[{/foreach}]
|
||||
</em>
|
||||
</p>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{block name="email_html_order_cust_basketitem_orderinfo"}]
|
||||
[{if $basketproduct->oxarticles__oxorderinfo->value}]
|
||||
[{$basketproduct->oxarticles__oxorderinfo->value}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</td>
|
||||
<td align="right">
|
||||
[{block name="email_html_order_cust_basketitem_amount"}]
|
||||
<b>[{$basketitem->getAmount()}]</b>
|
||||
[{/block}]
|
||||
</td>
|
||||
<td align="right">
|
||||
[{block name="email_html_order_cust_basketitem_vat"}]
|
||||
[{$basketitem->getVatPercent()}]%
|
||||
[{/block}]
|
||||
</td>
|
||||
<td align="right">
|
||||
[{block name="email_html_order_cust_basketitem_price"}]
|
||||
<b>[{$basketitem->getFTotalPrice()}] [{$currency->sign}]</b>
|
||||
[{/block}]
|
||||
</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
</tbody>
|
||||
<tfoot>
|
||||
[{assign var="iFooterColspan" value=4}]
|
||||
[{if $oViewConf->getViewThemeParam('blEmailsShowProductPictures')}]
|
||||
[{assign var="iFooterColspan" value=5}]
|
||||
[{/if}]
|
||||
[{block name="email_html_order_cust_voucherdiscount_top"}]
|
||||
[{if $oViewConf->getShowVouchers() && $basket->getVoucherDiscValue()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">
|
||||
<b>[{oxmultilang ident="USED_COUPONS"}]</b>
|
||||
</td>
|
||||
<td align="right" class="odd text-right">
|
||||
<b>[{oxmultilang ident="REBATE"}]</b>
|
||||
</td>
|
||||
</tr>
|
||||
[{foreach from=$order->getVoucherList() item=voucher}]
|
||||
[{assign var="voucherseries" value=$voucher->getSerie()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{$voucher->oxvouchers__oxvouchernr->value}]</td>
|
||||
<td align="right" class="odd text-right">[{$voucherseries->oxvoucherseries__oxdiscount->value}] [{if $voucherseries->oxvoucherseries__oxdiscounttype->value == "absolute"}][{$currency->sign}][{else}]%[{/if}]</td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{if !$basket->getDiscounts()}]
|
||||
[{block name="email_html_order_cust_nodiscounttotalnet"}]
|
||||
<!-- netto price -->
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="TOTAL_NET"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getProductsNetPrice()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{block name="email_html_order_cust_nodiscountproductvats"}]
|
||||
<!-- VATs -->
|
||||
[{foreach from=$basket->getProductVats(false) item=VATitem key=key}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$key}]</td>
|
||||
<td align="right" class="odd text-right">[{oxprice price=$VATitem currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_cust_nodiscounttotalgross"}]
|
||||
<!-- brutto price -->
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="TOTAL_GROSS"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getFProductsPrice()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
<!-- applied discounts -->
|
||||
[{if $basket->getDiscounts()}]
|
||||
[{if $order->isNettoMode()}]
|
||||
[{block name="email_html_order_cust_discounttotalnet"}]
|
||||
<!-- netto price -->
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="TOTAL_NET"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getProductsNetPrice()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{block name="email_html_order_cust_discounttotalgross"}]
|
||||
<!-- brutto price -->
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="TOTAL_GROSS"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getFProductsPrice()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="email_html_order_cust_discounts"}]
|
||||
<!-- discounts -->
|
||||
[{foreach from=$basket->getDiscounts() item=oDiscount}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{if $oDiscount->dDiscount < 0}][{oxmultilang ident="SURCHARGE"}][{else}][{oxmultilang ident="DISCOUNT"}][{/if}] <em>[{$oDiscount->sDiscount}]</em> :</td>
|
||||
<td align="right" class="odd text-right">[{if $oDiscount->dDiscount < 0}][{$oDiscount->fDiscount|replace:"-":""}][{else}]-[{$oDiscount->fDiscount}][{/if}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
|
||||
[{if !$order->isNettoMode()}]
|
||||
[{block name="email_html_order_cust_totalnet"}]
|
||||
<!-- netto price -->
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="TOTAL_NET"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getProductsNetPrice()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="email_html_order_cust_productvats"}]
|
||||
<!-- VATs -->
|
||||
[{foreach from=$basket->getProductVats() item=VATitem key=key}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$key}]</td>
|
||||
<td align="right" class="odd text-right">[{oxprice price=$VATitem currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
|
||||
[{if $order->isNettoMode()}]
|
||||
[{block name="email_html_order_cust_totalbrut"}]
|
||||
<!-- brutto price -->
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="TOTAL_GROSS"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getFProductsPrice()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="email_html_order_cust_voucherdiscount"}]
|
||||
<!-- voucher discounts -->
|
||||
[{if $oViewConf->getShowVouchers() && $basket->getVoucherDiscValue()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="COUPON"}]</td>
|
||||
<td align="right" class="odd text-right">[{if $basket->getFVoucherDiscountValue() > 0}]-[{/if}][{$basket->getFVoucherDiscountValue()|replace:"-":""}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_cust_delcosts"}]
|
||||
<!-- delivery costs -->
|
||||
[{assign var="oDeliveryCost" value=$basket->getDeliveryCost()}]
|
||||
[{if $oDeliveryCost && $oDeliveryCost->getPrice() > 0}]
|
||||
[{if $oViewConf->isFunctionalityEnabled('blShowVATForDelivery')}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="SHIPPING_NET" suffix="COLON"}]</td>
|
||||
<td align="right" class="odd text-right">[{oxprice price=$oDeliveryCost->getNettoPrice() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{if $oDeliveryCost->getVatValue()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
[{if $basket->isProportionalCalculationOn()}]
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT" suffix="COLON"}]</td>
|
||||
[{else}]
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$oDeliveryCost->getVat()}]</td>
|
||||
[{/if}]
|
||||
<td align="right" class="odd text-right">[{oxprice price=$oDeliveryCost->getVatValue() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{else}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="SHIPPING_COST" suffix="COLON"}]</td>
|
||||
<td align="right" class="odd text-right">[{oxprice price=$oDeliveryCost->getBruttoPrice() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_cust_paymentcosts"}]
|
||||
<!-- payment sum -->
|
||||
[{if $basket->getPayCostNet()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{if $basket->getPaymentCosts() >= 0}][{oxmultilang ident="SURCHARGE"}][{else}][{oxmultilang ident="DEDUCTION"}][{/if}] [{oxmultilang ident="PAYMENT_METHOD"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getPayCostNet()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
<!-- payment sum VAT (if available) -->
|
||||
[{if $basket->getPayCostVat()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
[{if $basket->isProportionalCalculationOn()}]
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT"}]:</td>
|
||||
[{else}]
|
||||
[{assign var="iPayCostVatPercent" value=$basket->getPayCostVatPercent()}]
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$iPayCostVatPercent}]</td>
|
||||
[{/if}]
|
||||
<td align="right" class="odd text-right">[{$basket->getPayCostVat()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{elseif $basket->getFPaymentCosts()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="SURCHARGE"}]:</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getFPaymentCosts()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{if $oViewConf->getShowGiftWrapping()}]
|
||||
[{block name="email_html_order_cust_wrappingcosts"}]
|
||||
<!-- Gift wrapping -->
|
||||
[{if $basket->getWrappCostNet()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="BASKET_TOTAL_WRAPPING_COSTS_NET"}]:</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getWrappCostNet()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{if $basket->getWrappCostVat()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="PLUS_VAT"}]:</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getWrappCostVat()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{elseif $basket->getFWrappingCosts()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="GIFT_WRAPPING"}]:</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getFWrappingCosts()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_cust_giftwrapping"}]
|
||||
<!-- Greeting card -->
|
||||
[{if $basket->getGiftCardCostNet()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="BASKET_TOTAL_GIFTCARD_COSTS_NET"}]:</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getGiftCardCostNet()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{if $basket->getGiftCardCostVat()}]
|
||||
<tr>
|
||||
[{if $basket->isProportionalCalculationOn()}]
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT"}]:</td>
|
||||
[{else}]
|
||||
[{assign var="iGiftCardCostVatPercent" value=$basket->getGiftCardCostVatPercent()}]
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$iGiftCardCostVatPercent}]</td>
|
||||
[{/if}]
|
||||
<td align="right" class="odd text-right">[{$basket->getGiftCardCostVat()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{elseif $basket->getFGiftCardCosts()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="GREETING_CARD"}]:</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getFGiftCardCosts()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="email_html_order_cust_grandtotal"}]
|
||||
<!-- grand total price -->
|
||||
<tr valign="top" bgcolor="#ebebeb" bgcolor="#ebebeb">
|
||||
<td align="right" colspan="[{$iFooterColspan}]" class="text-right odd"><b>[{oxmultilang ident="GRAND_TOTAL"}]</b></td>
|
||||
<td align="right" class="odd text-right"><b>[{$basket->getFPrice()}] [{$currency->sign}]</b></td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
</tfoot>
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
[{block name="email_html_order_cust_giftwrapping"}]
|
||||
[{if $oViewConf->getShowGiftWrapping() && $basket->getCard()}]
|
||||
[{assign var="oCard" value=$basket->getCard()}]
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>[{oxmultilang ident="YOUR_GREETING_CARD"}]</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td valign="top">
|
||||
<img src="[{$oCard->getPictureUrl()}]" alt="[{$oCard->oxwrapping__oxname->value}]" hspace="0" vspace="0" border="0" align="top">
|
||||
</td>
|
||||
<td>[{oxmultilang ident="WHAT_I_WANTED_TO_SAY"}]<br><br>[{$basket->getCardMessage()}]</td>
|
||||
</tr>
|
||||
</table>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
<br><br>
|
||||
|
||||
[{block name="email_html_order_cust_userremark"}]
|
||||
[{if $order->oxorder__oxremark->value}]
|
||||
<h3 class="underline">[{oxmultilang ident="WHAT_I_WANTED_TO_SAY"}]</h3>
|
||||
<p>[{$order->oxorder__oxremark->value|oxescape}]</p>
|
||||
<br/>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_cust_download_link"}]
|
||||
[{if $oOrderFileList}]
|
||||
<h3 class="underline">[{oxmultilang ident="MY_DOWNLOADS_DESC"}]</h3>
|
||||
[{foreach from=$oOrderFileList item="oOrderFile"}]
|
||||
<p>
|
||||
[{if $order->oxorder__oxpaid->value || !$oOrderFile->oxorderfiles__oxpurchasedonly->value}]
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=download" params="sorderfileid="|cat:$oOrderFile->getId()}]">[{$oOrderFile->oxorderfiles__oxfilename->value}]</a> [{$oOrderFile->getFileSize()|oxfilesize}]
|
||||
[{else}]
|
||||
<span>[{$oOrderFile->oxorderfiles__oxfilename->value}]</span>
|
||||
<strong>[{oxmultilang ident="DOWNLOADS_PAYMENT_PENDING"}]</strong>
|
||||
[{/if}]
|
||||
</p>
|
||||
[{/foreach}]
|
||||
<br>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_cust_paymentinfo_top"}]
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value != "oxempty"}]
|
||||
<h3 class="underline">[{oxmultilang ident="PAYMENT_METHOD"}]</h3>
|
||||
<p>
|
||||
<b>[{$payment->oxpayments__oxdesc->value}] [{if $basket->getPaymentCosts()}]([{$basket->getFPaymentCosts()}] [{$currency->sign}])[{/if}]</b>
|
||||
</p>
|
||||
<br>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_cust_username"}]
|
||||
<h3 class="underline">[{oxmultilang ident="EMAIL_ADDRESS"}]</h3>
|
||||
<p>[{$user->oxuser__oxusername->value}]</p>
|
||||
<br>
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_cust_deliveryinfo"}]
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value != "oxempty"}]
|
||||
<h3 class="underline">[{oxmultilang ident="SELECTED_SHIPPING_CARRIER"}]</h3>
|
||||
<p>
|
||||
<b>[{$order->oDelSet->oxdeliveryset__oxtitle->value}]</b>
|
||||
</p>
|
||||
<br>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_cust_paymentinfo"}]
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value == "oxidpayadvance"}]
|
||||
<h3 class="underline">[{oxmultilang ident="BANK_DETAILS"}]</h3>
|
||||
<p>
|
||||
[{oxmultilang ident="BANK"}] [{$shop->oxshops__oxbankname->value}]<br>
|
||||
[{oxmultilang ident="BANK_CODE"}] [{$shop->oxshops__oxbankcode->value}]<br>
|
||||
[{oxmultilang ident="BANK_ACCOUNT_NUMBER"}] [{$shop->oxshops__oxbanknumber->value}]<br>
|
||||
[{oxmultilang ident="BIC"}] [{$shop->oxshops__oxbiccode->value}]<br>
|
||||
[{oxmultilang ident="IBAN"}] [{$shop->oxshops__oxibannumber->value}]
|
||||
</p>
|
||||
<br>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_cust_orderemailend"}]
|
||||
<p>[{oxcontent ident="oxuserorderemailend"}]</p>
|
||||
[{/block}]
|
||||
|
||||
[{include file="email/html/footer.tpl"}]
|
||||
@@ -0,0 +1,470 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="oConf" value=$oViewConf->getConfig()}]
|
||||
[{assign var="currency" value=$oEmailView->getCurrency()}]
|
||||
[{assign var="user" value=$oEmailView->getUser()}]
|
||||
[{assign var="basket" value=$order->getBasket()}]
|
||||
[{assign var="oDelSet" value=$order->getDelSet()}]
|
||||
[{assign var="payment" value=$order->getPayment()}]
|
||||
|
||||
[{capture assign="style"}]
|
||||
table.orderarticles th {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table.orderarticles th, table.orderarticles td {
|
||||
border: 1px solid #d4d4d4;
|
||||
font-size: 13px;
|
||||
padding:5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table.orderarticles {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table.orderarticles thead th {
|
||||
background-color: #ebebeb;
|
||||
}
|
||||
|
||||
table.orderarticles .odd {
|
||||
background-color: #ebebeb;
|
||||
white-space: nowrap;
|
||||
}
|
||||
[{/capture}]
|
||||
|
||||
[{include file="email/html/header.tpl" title="PAGE_TITLE_ORDER"|oxmultilangassign|cat:" #"|cat:$order->oxorder__oxordernr->value style=$style}]
|
||||
|
||||
[{block name="email_html_order_owner_orderemail"}]
|
||||
<p>
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value == "oxempty"}]
|
||||
[{oxcontent ident="oxadminordernpemail"}]
|
||||
[{else}]
|
||||
[{oxcontent ident="oxadminorderemail"}]
|
||||
[{/if}]
|
||||
</p>
|
||||
[{/block}]
|
||||
|
||||
|
||||
[{block name="email_html_order_owner_address"}]
|
||||
<!-- Address info -->
|
||||
<table class="row footer">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="wrapper">
|
||||
<table class="six columns">
|
||||
<tbody>
|
||||
<tr bgcolor="#ebebeb">
|
||||
<td class="left-text-pad">
|
||||
<h3 style="margin: 0; padding: 0 0 5px; line-height: 20px; text-transform: uppercase;">[{oxmultilang ident="BILLING_ADDRESS"}]</h3>
|
||||
<p>
|
||||
[{$order->oxorder__oxbillcompany->value}]<br>
|
||||
[{$order->oxorder__oxbillsal->value|oxmultilangsal}] [{$order->oxorder__oxbillfname->value}] [{$order->oxorder__oxbilllname->value}]<br>
|
||||
[{if $order->oxorder__oxbilladdinfo->value}][{$order->oxorder__oxbilladdinfo->value}]<br>[{/if}]
|
||||
[{$order->oxorder__oxbillstreet->value}] [{$order->oxorder__oxbillstreetnr->value}]<br>
|
||||
[{$order->oxorder__oxbillstateid->value}]
|
||||
[{$order->oxorder__oxbillzip->value}] [{$order->oxorder__oxbillcity->value}]<br>
|
||||
[{$order->oxorder__oxbillcountry->value}]<br>
|
||||
[{if $order->oxorder__oxbillustid->value}][{oxmultilang ident="VAT_ID_NUMBER"}] [{$order->oxorder__oxbillustid->value}]<br>[{/if}]
|
||||
[{oxmultilang ident="PHONE"}] [{$order->oxorder__oxbillfon->value}]<br><br>
|
||||
</p>
|
||||
</td>
|
||||
<td class="expander"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
<td class="wrapper last">
|
||||
<table class="six columns">
|
||||
<tbody>
|
||||
<tr bgcolor="#ebebeb">
|
||||
<td class="last right-text-pad">
|
||||
<h3 style="margin: 0; padding: 0 0 5px; line-height: 20px; text-transform: uppercase;">[{oxmultilang ident="SHIPPING_ADDRESS"}]</h3>
|
||||
<p>
|
||||
[{if $order->oxorder__oxdellname->value}]
|
||||
[{$order->oxorder__oxdelcompany->value}]<br>
|
||||
[{$order->oxorder__oxdelsal->value|oxmultilangsal}] [{$order->oxorder__oxdelfname->value}] [{$order->oxorder__oxdellname->value}]<br>
|
||||
[{if $order->oxorder__oxdeladdinfo->value}][{$order->oxorder__oxdeladdinfo->value}]<br>[{/if}]
|
||||
[{$order->oxorder__oxdelstreet->value}] [{$order->oxorder__oxdelstreetnr->value}]<br>
|
||||
[{$order->oxorder__oxdelstateid->value}]
|
||||
[{$order->oxorder__oxdelzip->value}] [{$order->oxorder__oxdelcity->value}]<br>
|
||||
[{$order->oxorder__oxdelcountry->value}]
|
||||
[{else}]
|
||||
[{$order->oxorder__oxbillcompany->value}]<br>
|
||||
[{$order->oxorder__oxbillsal->value|oxmultilangsal}] [{$order->oxorder__oxbillfname->value}] [{$order->oxorder__oxbilllname->value}]<br>
|
||||
[{if $order->oxorder__oxbilladdinfo->value}][{$order->oxorder__oxbilladdinfo->value}]<br>[{/if}]
|
||||
[{$order->oxorder__oxbillstreet->value}] [{$order->oxorder__oxbillstreetnr->value}]<br>
|
||||
[{$order->oxorder__oxbillstateid->value}]
|
||||
[{$order->oxorder__oxbillzip->value}] [{$order->oxorder__oxbillcity->value}]<br>
|
||||
[{$order->oxorder__oxbillcountry->value}]<br>
|
||||
[{/if}]
|
||||
</p>
|
||||
</td>
|
||||
<td class="expander"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
[{/block}]
|
||||
|
||||
<table class="orderarticles" border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<thead>
|
||||
<tr bgcolor="#ebebeb">
|
||||
<th[{if $oViewConf->getViewThemeParam('blEmailsShowProductPictures')}] colspan="2"[{/if}]>[{oxmultilang ident="PRODUCT"}]</th>
|
||||
<th>[{oxmultilang ident="UNIT_PRICE"}]</th>
|
||||
<th>[{oxmultilang ident="QUANTITY"}]</th>
|
||||
<th>[{oxmultilang ident="VAT"}]</th>
|
||||
<th>[{oxmultilang ident="TOTAL"}]</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
[{assign var="basketitemlist" value=$basket->getBasketArticles()}]
|
||||
[{foreach key=basketindex from=$basket->getContents() item=basketitem}]
|
||||
[{block name="email_html_order_owner_basketitem"}]
|
||||
[{assign var="basketproduct" value=$basketitemlist.$basketindex}]
|
||||
<tr valign="top">
|
||||
[{if $oViewConf->getViewThemeParam('blEmailsShowProductPictures')}]
|
||||
<td>
|
||||
<img src="[{$basketproduct->getIconUrl(false)}]" border="0" hspace="0" vspace="0" alt="[{$basketitem->getTitle()|strip_tags}]" align="texttop" style="max-width:80px;">
|
||||
</td>
|
||||
[{/if}]
|
||||
<td>
|
||||
<p>
|
||||
<b>[{$basketitem->getTitle()}]</b>
|
||||
[{if $basketitem->getChosenSelList()}],
|
||||
[{foreach from=$basketitem->getChosenSelList() item=oList}]
|
||||
[{$oList->name}] [{$oList->value}]
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{if $basketitem->getPersParams()}]
|
||||
[{foreach key=sVar from=$basketitem->getPersParams() item=aParam}]
|
||||
, <em>[{$sVar}] : [{$aParam}]</em>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
<br>[{oxmultilang ident="PRODUCT_NO" suffix="COLON"}] [{$basketproduct->oxarticles__oxartnum->value}]
|
||||
|
||||
[{if $oViewConf->getShowGiftWrapping()}]
|
||||
[{assign var="oWrapping" value=$basketitem->getWrapping()}]
|
||||
<br><b>[{oxmultilang ident="GIFT_WRAPPING"}]</b>: [{if !$basketitem->getWrappingId()}][{oxmultilang ident="NONE"}][{else}][{$oWrapping->oxwrapping__oxname->value}][{/if}]
|
||||
[{/if}]
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<b style="white-space:nowrap;">[{if $basketitem->getFUnitPrice()}][{$basketitem->getFUnitPrice()}] [{$currency->sign}][{/if}]</b>
|
||||
[{if !$basketitem->isBundle()}]
|
||||
[{assign var=dRegUnitPrice value=$basketitem->getRegularUnitPrice()}]
|
||||
[{assign var=dUnitPrice value=$basketitem->getUnitPrice()}]
|
||||
[{if $dRegUnitPrice->getPrice() > $dUnitPrice->getPrice()}]
|
||||
<br><s>[{$basketitem->getFRegularUnitPrice()}] [{$currency->sign}]</s>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{if $basketitem->aDiscounts}]<br><br>
|
||||
<em style="font-size: 7pt;font-weight: normal;">[{oxmultilang ident="DISCOUNT"}]
|
||||
[{foreach from=$basketitem->aDiscounts item=oDiscount}]
|
||||
<br>[{$oDiscount->sDiscount}]
|
||||
[{/foreach}]
|
||||
</em>
|
||||
[{/if}]
|
||||
[{if $basketproduct->oxarticles__oxorderinfo->value}]
|
||||
[{$basketproduct->oxarticles__oxorderinfo->value}]
|
||||
[{/if}]
|
||||
</p>
|
||||
</td>
|
||||
<td>[{$basketitem->getAmount()}]</td>
|
||||
<td>[{$basketitem->getVatPercent()}]%</td>
|
||||
<td>
|
||||
<b>[{$basketitem->getFTotalPrice()}] [{$currency->sign}]</b>
|
||||
</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
[{block name="email_html_order_owner_giftwrapping"}]
|
||||
[{if $basket->oCard}]
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<img src="[{$basket->oCard->getPictureUrl()}]" alt="[{$basket->oCard->oxwrapping__oxname->value}]" hspace="0" vspace="0" border="0" align="top">
|
||||
</td>
|
||||
<td colspan="[{$iFooterColspan}]">
|
||||
<b>[{oxmultilang ident="ATENTION_GREETING_CARD"}]</b><br>
|
||||
[{oxmultilang ident="WHAT_I_WANTED_TO_SAY"}]
|
||||
<br><br>
|
||||
[{$basket->getCardMessage()}]
|
||||
</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</tbody>
|
||||
<tfoot>
|
||||
[{assign var="iFooterColspan" value=4}]
|
||||
[{if $oViewConf->getViewThemeParam('blEmailsShowProductPictures')}]
|
||||
[{assign var="iFooterColspan" value=5}]
|
||||
[{/if}]
|
||||
[{block name="email_html_order_owner_voucherdiscount_top"}]
|
||||
[{if $oViewConf->getShowVouchers()}]
|
||||
[{if $basket->getVoucherDiscValue()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="USED_COUPONS"}]</td>
|
||||
<td align="right" class="odd text-right">[{oxmultilang ident="REBATE"}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{foreach from=$order->getVoucherList() item=voucher}]
|
||||
[{assign var="voucherseries" value=$voucher->getSerie()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{$voucher->oxvouchers__oxvouchernr->value}]</td>
|
||||
<td align="right" class="odd text-right">[{$voucherseries->oxvoucherseries__oxdiscount->value}] [{if $voucherseries->oxvoucherseries__oxdiscounttype->value == "absolute"}][{$currency->sign}][{else}]%[{/if}]</td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{if !$basket->getDiscounts()}]
|
||||
[{block name="email_html_order_owner_nodiscounttotalnet"}]
|
||||
<!-- netto price -->
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="TOTAL_NET"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getProductsNetPrice()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{block name="email_html_order_owner_nodiscountproductvats"}]
|
||||
<!-- VATs -->
|
||||
[{foreach from=$basket->getProductVats() item=VATitem key=key}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$key}]</td>
|
||||
<td align="right" class="odd text-right">[{ $VATitem }] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_owner_nodiscounttotalgross"}]
|
||||
<!-- brutto price -->
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="TOTAL_GROSS"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getFProductsPrice()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
<!-- applied discounts -->
|
||||
[{if $basket->getDiscounts()}]
|
||||
[{if $order->isNettoMode()}]
|
||||
[{block name="email_html_order_cust_discounttotalnet"}]
|
||||
<!-- netto price -->
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="TOTAL_NET"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getProductsNetPrice()}] [{$currency->sign}]</td>0
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{block name="email_html_order_cust_discounttotalgross"}]
|
||||
<!-- brutto price -->
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="TOTAL_GROSS"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getFProductsPrice()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="email_html_order_owner_discounts"}]
|
||||
<!-- discounts -->
|
||||
[{foreach from=$basket->getDiscounts() item=oDiscount}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{if $oDiscount->dDiscount < 0}][{oxmultilang ident="SURCHARGE"}][{else}][{oxmultilang ident="DISCOUNT"}][{/if}] <em>[{$oDiscount->sDiscount}]</em>:</td>
|
||||
<td align="right" class="odd text-right">[{if $oDiscount->dDiscount < 0}][{$oDiscount->fDiscount|replace:"-":""}][{else}]-[{$oDiscount->fDiscount}][{/if}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
|
||||
[{if !$order->isNettoMode()}]
|
||||
[{block name="email_html_order_cust_totalnet"}]
|
||||
<!-- netto price -->
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="TOTAL_NET"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getProductsNetPrice()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="email_html_order_owner_productvats"}]
|
||||
<!-- VATs -->
|
||||
[{foreach from=$basket->getProductVats() item=VATitem key=key}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$key}]</td>
|
||||
<td align="right" class="odd text-right">[{$VATitem}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
|
||||
[{if $order->isNettoMode()}]
|
||||
[{block name="email_html_order_cust_totalbrut"}]
|
||||
<!-- brutto price -->
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="TOTAL_GROSS"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getFProductsPrice()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="email_html_order_owner_voucherdiscount"}]
|
||||
<!-- voucher discounts -->
|
||||
[{if $oViewConf->getShowVouchers() && $basket->getVoucherDiscValue()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="COUPON"}]</td>
|
||||
<td align="right" class="odd text-right">[{if $basket->getFVoucherDiscountValue() > 0}]-[{/if}][{$basket->getFVoucherDiscountValue()|replace:"-":""}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_owner_delcosts"}]
|
||||
<!-- delivery costs -->
|
||||
[{if $basket->getDelCostNet()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="SHIPPING_NET"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getDelCostNet()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{if $basket->getDelCostVat()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
[{if $basket->isProportionalCalculationOn()}]
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT"}]:</td>
|
||||
[{else}]
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$basket->getDelCostVatPercent()}]</td>
|
||||
[{/if}]
|
||||
<td align="right" class="odd text-right">[{$basket->getDelCostVat()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{elseif $basket->getFDeliveryCosts()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="SHIPPING_COST"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getFDeliveryCosts()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_owner_paymentcosts"}]
|
||||
<!-- payment sum -->
|
||||
[{if $basket->getPayCostNet()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{if $basket->getPaymentCosts() >= 0}][{oxmultilang ident="SURCHARGE"}][{else}][{oxmultilang ident="DEDUCTION"}][{/if}] [{oxmultilang ident="PAYMENT_METHOD"}]</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getPayCostNet()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
<!-- payment sum VAT (if available) -->
|
||||
[{if $basket->getPayCostVat()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
[{if $basket->isProportionalCalculationOn()}]
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT"}]:</td>
|
||||
[{else}]
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$basket->getPayCostVatPercent()}]</td>
|
||||
[{/if}]
|
||||
<td align="right" class="odd text-right">[{$basket->getPayCostVat()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{elseif $basket->getFPaymentCosts()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="SURCHARGE"}]:</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getFPaymentCosts()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{if $oViewConf->getShowGiftWrapping()}]
|
||||
[{block name="email_html_order_owner_wrappingcosts"}]
|
||||
<!-- Gift wrapping -->
|
||||
[{if $basket->getWrappCostNet()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="BASKET_TOTAL_WRAPPING_COSTS_NET"}]:</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getWrappCostNet()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{if $basket->getWrappCostVat()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="PLUS_VAT"}]:</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getWrappCostVat()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{elseif $basket->getFWrappingCosts()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="GIFT_WRAPPING"}]:</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getFWrappingCosts()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_owner_giftwrapping"}]
|
||||
<!-- Greeting card -->
|
||||
[{if $basket->getGiftCardCostNet()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="BASKET_TOTAL_GIFTCARD_COSTS_NET"}]:</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getGiftCardCostNet()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{if $basket->getGiftCardCostVat()}]
|
||||
<tr>
|
||||
[{if $basket->isProportionalCalculationOn()}]
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT"}]:</td>
|
||||
[{else}]
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$basket->getGiftCardCostVatPercent()}]</td>
|
||||
[{/if}]
|
||||
<td align="right" class="odd text-right">[{$basket->getGiftCardCostVat()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{elseif $basket->getFGiftCardCosts()}]
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right">[{oxmultilang ident="GREETING_CARD"}]:</td>
|
||||
<td align="right" class="odd text-right">[{$basket->getFGiftCardCosts()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="email_html_order_owner_grandtotal"}]
|
||||
<!-- grand total price -->
|
||||
<tr valign="top" bgcolor="#ebebeb">
|
||||
<td colspan="[{$iFooterColspan}]" class="odd text-right" align="right">
|
||||
<b>[{oxmultilang ident="GRAND_TOTAL"}]</b>
|
||||
</td>
|
||||
<td align="right" class="odd text-right">
|
||||
<b>[{$basket->getFPrice()}] [{$currency->sign}]</b>
|
||||
</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
|
||||
[{block name="email_html_order_owner_userremark"}]
|
||||
[{if $order->oxorder__oxremark->value}]
|
||||
<h3 class="underline">[{oxmultilang ident="MESSAGE"}]</h3>
|
||||
<p>[{$order->oxorder__oxremark->value|oxescape}]</p>
|
||||
<br>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_owner_paymentinfo"}]
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value != "oxempty"}]
|
||||
<h3 class="underline">[{oxmultilang ident="PAYMENT_INFORMATION"}]</h3>
|
||||
<p>
|
||||
<b>[{oxmultilang ident="PAYMENT_METHOD"}] [{$payment->oxpayments__oxdesc->value}] [{if $basket->getPaymentCosts()}]([{$basket->getFPaymentCosts()}] [{$currency->sign}])[{/if}]</b>
|
||||
</p>
|
||||
<br>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_owner_username"}]
|
||||
<h3 class="underline">[{oxmultilang ident="EMAIL_ADDRESS"}]</h3>
|
||||
<p>[{$user->oxuser__oxusername->value}]</p>
|
||||
<br>
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_order_owner_deliveryinfo"}]
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value != "oxempty"}]
|
||||
<h3 class="underline">[{oxmultilang ident="SELECTED_SHIPPING_CARRIER"}]</h3>
|
||||
<p>[{$oDelSet->oxdeliveryset__oxtitle->value}]</p>
|
||||
<br>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{include file="email/html/footer.tpl"}]
|
||||
@@ -0,0 +1,104 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
|
||||
[{capture assign="style"}]
|
||||
table.orderarticles th {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table.orderarticles th, table.orderarticles td {
|
||||
border: 1px solid #d4d4d4;
|
||||
font-size: 13px;
|
||||
padding:5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table.orderarticles {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table.orderarticles thead th {
|
||||
background-color: #ebebeb;
|
||||
}
|
||||
[{/capture}]
|
||||
|
||||
[{include file="email/html/header.tpl" title="DD_ORDERSHIPPED_HEADING"|oxmultilangassign|cat:" #"|cat:$order->oxorder__oxordernr->value style=$style}]
|
||||
|
||||
[{block name="email_html_ordershipped_sendemail"}]
|
||||
[{oxcontent ident="oxordersendemail"}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_ordershipped_infoheader"}]
|
||||
<h3 class="underline">[{oxmultilang ident="SHIPPING_ADDRESS"}]</h3>
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_ordershipped_address"}]
|
||||
<p>
|
||||
[{if $order->oxorder__oxdellname->value}]
|
||||
[{$order->oxorder__oxdelcompany->value}]<br>
|
||||
[{$order->oxorder__oxdelfname->value}] [{$order->oxorder__oxdellname->value}]<br>
|
||||
[{$order->oxorder__oxdelstreet->value}] [{$order->oxorder__oxdelstreetnr->value}]<br>
|
||||
[{$order->oxorder__oxdelstateid->value}]
|
||||
[{$order->oxorder__oxdelzip->value}] [{$order->oxorder__oxdelcity->value}]
|
||||
[{else}]
|
||||
[{$order->oxorder__oxbillcompany->value}]<br>
|
||||
[{$order->oxorder__oxbillfname->value}] [{$order->oxorder__oxbilllname->value}]<br>
|
||||
[{$order->oxorder__oxbillstreet->value}] [{$order->oxorder__oxbillstreetnr->value}]<br>
|
||||
[{$order->oxorder__oxbillstateid->value}]
|
||||
[{$order->oxorder__oxbillzip->value}] [{$order->oxorder__oxbillcity->value}]
|
||||
[{/if}]
|
||||
</p>
|
||||
<br/>
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_ordershipped_oxordernr"}]
|
||||
<h3 class="underline">[{oxmultilang ident="ORDER_NUMBER" suffix="COLON"}] [{$order->oxorder__oxordernr->value}]</h3>
|
||||
[{/block}]
|
||||
|
||||
<table class="orderarticles" border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-right">[{oxmultilang ident="QUANTITY"}]</th>
|
||||
<th>[{oxmultilang ident="PRODUCT"}]</th>
|
||||
[{if $blShowReviewLink}]
|
||||
<th>[{oxmultilang ident="PRODUCT_RATING"}]</th>
|
||||
[{/if}]
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[{block name="email_html_ordershipped_orderarticles"}]
|
||||
[{foreach from=$order->getOrderArticles(true) item=oOrderArticle}]
|
||||
<tr valign="top">
|
||||
<td align="right" class="text-right">[{$oOrderArticle->oxorderarticles__oxamount->value}]</td>
|
||||
<td>
|
||||
[{$oOrderArticle->oxorderarticles__oxtitle->value}] [{$oOrderArticle->oxorderarticles__oxselvariant->value}]
|
||||
<br>[{oxmultilang ident="PRODUCT_NO" suffix="COLON"}] [{$oOrderArticle->oxorderarticles__oxartnum->value}]
|
||||
</td>
|
||||
[{if $blShowReviewLink}]
|
||||
<td align="right" class="text-right">
|
||||
<p>
|
||||
<a href="[{$oViewConf->getBaseDir()}]index.php?shp=[{$shop->oxshops__oxid->value}]&anid=[{$oOrderArticle->oxorderarticles__oxartid->value}]&cl=review&reviewuserhash=[{$reviewuserhash}]" target="_blank">[{oxmultilang ident="REVIEW"}]</a>
|
||||
</p>
|
||||
</td>
|
||||
[{/if}]
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
|
||||
[{block name="email_html_ordershipped_infofooter"}]
|
||||
<p>[{oxmultilang ident="YOUR_TEAM" args=$shop->oxshops__oxname->value}]</p>
|
||||
<br/>
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_ordershipped_shipmenttrackingurl"}]
|
||||
[{if $order->getShipmentTrackingUrl()}]
|
||||
<p>[{oxmultilang ident="SHIPMENT_TRACKING" suffix="COLON"}] <a href="[{$order->getShipmentTrackingUrl()}]" target="_blank" title="[{oxmultilang ident="CLICK_HERE"}]">[{oxmultilang ident="CLICK_HERE"}]</a></p>
|
||||
<br/>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{include file="email/html/footer.tpl"}]
|
||||
@@ -0,0 +1,58 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
|
||||
[{capture assign="style"}]
|
||||
table.orderarticles th {
|
||||
background-color: #ebebeb;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table.orderarticles th, table.orderarticles td {
|
||||
border: 1px solid #d4d4d4;
|
||||
font-size: 13px;
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
table.orderarticles {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
[{/capture}]
|
||||
|
||||
[{include file="email/html/header.tpl" title="STOCK_LOW"|oxmultilangassign style=$style}]
|
||||
|
||||
<p>[{oxmultilang ident="MESSAGE_STOCK_LOW"}]</p>
|
||||
|
||||
<table class="orderarticles" border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">[{oxmultilang ident="PRODUCT"}]</th>
|
||||
<th class="text-right">[{oxmultilang ident="QUANTITY"}]</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[{foreach from=$articles item=oProduct}]
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<img src="[{$oProduct->getIconUrl(false)}]" border="0" hspace="0" vspace="0" alt="[{$oProduct->oxarticles__oxtitle->value|strip_tags}]" align="texttop">
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<b>[{$oProduct->oxarticles__oxtitle->value}][{if $oProduct->oxarticles__oxvarselect->value}], [{$oProduct->oxarticles__oxvarselect->value}][{/if}]</b>
|
||||
[{if $chosen_selectlist}]
|
||||
,
|
||||
[{foreach from=$chosen_selectlist item=oList}]
|
||||
[{$oList->name}] [{$oList->value}]
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
<br>
|
||||
[{oxmultilang ident="PRODUCT_NO" suffix="COLON"}] [{$oProduct->oxarticles__oxartnum->value}]
|
||||
</p>
|
||||
</td>
|
||||
<td align="right" class="text-right">[{$oProduct->oxarticles__oxstock->value}] ([{$oProduct->oxarticles__oxremindamount->value}])</td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
[{include file="email/html/footer.tpl"}]
|
||||
@@ -0,0 +1,10 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="currency" value=$oEmailView->getCurrency()}]
|
||||
[{assign var="user" value=$oEmailView->getUser()}]
|
||||
|
||||
[{include file="email/html/header.tpl" title="DD_PRICEALARM_HEADING"|oxmultilangassign}]
|
||||
|
||||
[{oxcontent ident="oxpricealarmemail"}]<br/>
|
||||
|
||||
[{include file="email/html/footer.tpl"}]
|
||||
@@ -0,0 +1,9 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="user" value=$oEmailView->getUser()}]
|
||||
|
||||
[{include file="email/html/header.tpl" title="DD_REGISTER_HEADING"|oxmultilangassign}]
|
||||
|
||||
[{oxcontent ident=$contentident|default:"oxregisteremail"}]<br/>
|
||||
|
||||
[{include file="email/html/footer.tpl"}]
|
||||
@@ -0,0 +1,41 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="sOrderId" value=$order->getId()}]
|
||||
[{assign var="oOrderFileList" value=$oEmailView->getOrderFileList($sOrderId)}]
|
||||
|
||||
[{include file="email/html/header.tpl" title="DD_DOWNLOADLINKS_HEADING"|oxmultilangassign|cat:" #"|cat:$order->oxorder__oxordernr->value}]
|
||||
|
||||
[{block name="email_html_senddownloadlinks_infoheader"}]
|
||||
[{oxmultilang ident="EMAIL_SENDDOWNLOADS_GREETING"}] [{$order->oxorder__oxbillsal->value|oxmultilangsal}] [{$order->oxorder__oxbillfname->value}] [{$order->oxorder__oxbilllname->value}],<br>
|
||||
<br>
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_senddownloadlinks_oxordernr"}][{/block}]
|
||||
|
||||
[{if $oOrderFileList}]
|
||||
[{block name="email_html_senddownloadlinks_download_header"}]
|
||||
<h3 class="underline">[{oxmultilang ident="MY_DOWNLOADS_DESC"}]</h3>
|
||||
[{/block}]
|
||||
[{block name="email_html_senddownloadlinks_download_link"}]
|
||||
[{foreach from=$oOrderFileList item="oOrderFile"}]
|
||||
<ul>
|
||||
<li>
|
||||
[{if $order->oxorder__oxpaid->value != "0000-00-00 00:00:00" || !$oOrderFile->oxorderfiles__oxpurchasedonly->value}]
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getBaseDir()|cat:"index.php?cl=download" params="sorderfileid="|cat:$oOrderFile->getId()}]">[{$oOrderFile->oxorderfiles__oxfilename->value}]</a> [{$oOrderFile->getFileSize()|oxfilesize}]
|
||||
[{else}]
|
||||
<span>[{$oOrderFile->oxorderfiles__oxfilename->value}]</span>
|
||||
<strong>[{oxmultilang ident="DOWNLOADS_PAYMENT_PENDING"}]</strong>
|
||||
[{/if}]
|
||||
</li>
|
||||
</ul>
|
||||
[{/foreach}]
|
||||
<br/>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="email_html_senddownloadlinks_infofooter"}]
|
||||
<p>[{oxmultilang ident="YOUR_TEAM" args=$shop->oxshops__oxname->value}]</p>
|
||||
<br/>
|
||||
[{/block}]
|
||||
|
||||
[{include file="email/html/footer.tpl"}]
|
||||
@@ -0,0 +1,62 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="userInfo" value=$oEmailView->getUser()}]
|
||||
|
||||
[{include file="email/html/header.tpl" title="DD_INVITE_HEADING"|oxmultilangassign}]
|
||||
|
||||
<table border="0" width="100%" cellspacing="10" cellpadding="0">
|
||||
<tr>
|
||||
<td style="white-space:nowrap;">
|
||||
<b style="white-space:nowrap;">[{oxmultilang ident="FROM"}]</b>
|
||||
</td>
|
||||
<td style="white-space:nowrap;">[{$userInfo->send_name|oxescape}]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="white-space:nowrap;">
|
||||
<b style="white-space:nowrap;">[{oxmultilang ident="EMAIL"}]</b>
|
||||
</td>
|
||||
<td style="white-space:nowrap;">[{$userInfo->send_email|oxescape}]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="white-space:nowrap;">
|
||||
<b style="white-space:nowrap;">[{oxmultilang ident="TO"}]</b>
|
||||
</td>
|
||||
<td style="white-space:nowrap;">[{$userInfo->rec_name|oxescape}]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="white-space:nowrap;">
|
||||
<b style="white-space:nowrap;">[{oxmultilang ident="EMAIL"}]</b>
|
||||
</td>
|
||||
<td style="white-space:nowrap;">[{$userInfo->rec_email|oxescape}]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">[{$userInfo->send_message|oxescape|nl2br}]</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<p>[{oxmultilang ident="MANY_GREETINGS"}] [{$userInfo->send_name|oxescape}]</p>
|
||||
<br>
|
||||
|
||||
<p class="lead">
|
||||
<a href="[{$sArticleUrl}]"><b>[{$product->oxarticles__oxtitle->value}]</b></a>
|
||||
[{if $product->oxarticles__oxshortdesc->value}]
|
||||
<br>[{$product->oxarticles__oxshortdesc->value}]
|
||||
[{/if}]
|
||||
</p>
|
||||
<br>
|
||||
|
||||
<p>
|
||||
<a href="[{$sArticleUrl}]">
|
||||
<img src="[{$product->getThumbnailUrl()}]" border="0" hspace="0" vspace="0" alt="[{$product->oxarticles__oxtitle->value|strip_tags}]">
|
||||
</a>
|
||||
</p>
|
||||
<br>
|
||||
|
||||
[{include file="email/html/footer.tpl"}]
|
||||
@@ -0,0 +1,18 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="userInfo" value=$oEmailView->getUser()}]
|
||||
|
||||
[{include file="email/html/header.tpl" title="DD_WISHLIST_HEADING"|oxmultilangassign}]
|
||||
|
||||
<p>[{$userInfo->send_message|oxescape}]</p>
|
||||
<br/>
|
||||
|
||||
<p>[{oxmultilang ident="TO_MY_WISHLIST"}] <a href="[{$oViewConf->getBaseDir()}]index.php?cl=wishlist&wishid=[{$userInfo->send_id}]"><b>[{oxmultilang ident="CLICK_HERE"}]</b></a></p>
|
||||
<br/>
|
||||
|
||||
<p>[{oxmultilang ident="WITH_LOVE"}]</p>
|
||||
|
||||
<p>[{$userInfo->send_name|oxescape}]</p>
|
||||
<br/>
|
||||
|
||||
[{include file="email/html/footer.tpl"}]
|
||||
@@ -0,0 +1,3 @@
|
||||
[{oxcontent ident="oxupdatepassinfoplainemail"}]
|
||||
|
||||
[{oxcontent ident="oxemailfooterplain"}]
|
||||
@@ -0,0 +1,11 @@
|
||||
[{oxmultilang ident="INVITE_TO_SHOP"}] [{$userinfo->send_name}], [{oxmultilang ident="EMAIL_INVITE_HTML_INVITETOSHOP2"}] [{$shop->oxshops__oxname->getRawValue()}] [{oxmultilang ident="EMAIL_INVITE_HTML_INVITETOSHOP3"}]
|
||||
[{oxmultilang ident="FROM"}] [{$userinfo->send_name}]
|
||||
[{oxmultilang ident="EMAIL"}] [{$userinfo->send_email}]
|
||||
|
||||
[{$userinfo->send_message}]
|
||||
|
||||
[{$sHomeUrl}]
|
||||
|
||||
[{oxmultilang ident="MANY_GREETINGS"}] [{$userinfo->send_name}]
|
||||
|
||||
[{oxcontent ident="oxemailfooterplain"}]
|
||||
@@ -0,0 +1,7 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="user" value=$oEmailView->getUser()}]
|
||||
|
||||
[{oxcontent ident="oxnewsletterplainemail"}]
|
||||
|
||||
[{oxcontent ident="oxemailfooterplain"}]
|
||||
@@ -0,0 +1,256 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="currency" value=$oEmailView->getCurrency()}]
|
||||
[{assign var="user" value=$oEmailView->getUser()}]
|
||||
[{assign var="oDelSet" value=$order->getDelSet()}]
|
||||
[{assign var="basket" value=$order->getBasket()}]
|
||||
[{assign var="payment" value=$order->getPayment()}]
|
||||
[{assign var="sOrderId" value=$order->getId()}]
|
||||
[{assign var="oOrderFileList" value=$oEmailView->getOrderFileList($sOrderId)}]
|
||||
|
||||
[{block name="email_plain_order_cust_orderemail"}]
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value == "oxempty"}]
|
||||
[{oxcontent ident="oxuserordernpplainemail"}]
|
||||
[{else}]
|
||||
[{oxcontent ident="oxuserorderplainemail"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{oxmultilang ident="ORDER_NUMBER"}] [{$order->oxorder__oxordernr->value}]
|
||||
|
||||
[{block name="email_plain_order_cust_voucherdiscount_top"}]
|
||||
[{if $oViewConf->getShowVouchers()}]
|
||||
[{foreach from=$order->getVoucherList() item=voucher}]
|
||||
[{assign var="voucherseries" value=$voucher->getSerie()}]
|
||||
[{oxmultilang ident="USED_COUPONS"}] [{$voucher->oxvouchers__oxvouchernr->value}] - [{oxmultilang ident="DISCOUNT"}] [{$voucherseries->oxvoucherseries__oxdiscount->value}] [{if $voucherseries->oxvoucherseries__oxdiscounttype->value == "absolute"}][{$currency->sign}][{else}]%[{/if}]
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{assign var="basketitemlist" value=$basket->getBasketArticles()}]
|
||||
[{foreach key=basketindex from=$basket->getContents() item=basketitem}]
|
||||
[{block name="email_plain_order_cust_basketitem"}]
|
||||
[{assign var="basketproduct" value=$basketitemlist.$basketindex}]
|
||||
[{block name="email_plain_order_cust_title"}][{$basketproduct->oxarticles__oxtitle->getRawValue()|strip_tags}][{if $basketproduct->oxarticles__oxvarselect->value}], [{$basketproduct->oxarticles__oxvarselect->value}][{/if}][{/block}]
|
||||
[{block name="email_plain_order_cust_sellist"}][{if $basketitem->getChosenSelList()}][{foreach from=$basketitem->getChosenSelList() item=oList}]
|
||||
|
||||
[{$oList->name}] [{$oList->value}]
|
||||
|
||||
[{/foreach}][{/if}][{/block}]
|
||||
[{block name="email_plain_order_cust_persparams"}][{if $basketitem->getPersParams()}]
|
||||
[{foreach key=sVar from=$basketitem->getPersParams() item=aParam}]
|
||||
|
||||
[{$sVar}] : [{$aParam}]
|
||||
[{/foreach}]
|
||||
[{/if}][{/block}]
|
||||
[{if $oViewConf->getShowGiftWrapping()}]
|
||||
[{assign var="oWrapping" value=$basketitem->getWrapping()}]
|
||||
|
||||
[{oxmultilang ident="GIFT_WRAPPING"}] [{if !$basketitem->getWrappingId()}][{oxmultilang ident="NONE"}][{else}][{$oWrapping->oxwrapping__oxname->value}][{/if}]
|
||||
[{/if}]
|
||||
[{block name="email_plain_order_cust_orderinfo"}][{if $basketproduct->oxarticles__oxorderinfo->value}]
|
||||
[{$basketproduct->oxarticles__oxorderinfo->getRawValue()}]
|
||||
[{/if}][{/block}]
|
||||
|
||||
[{assign var=dRegUnitPrice value=$basketitem->getRegularUnitPrice()}]
|
||||
[{assign var=dUnitPrice value=$basketitem->getUnitPrice()}]
|
||||
[{block name="email_plain_order_cust_unitprice"}][{oxmultilang ident="UNIT_PRICE"}] [{$basketitem->getFUnitPrice()}] [{$currency->name}] [{if !$basketitem->isBundle()}][{if $dRegUnitPrice->getPrice() > $dUnitPrice->getPrice()}] ([{$basketitem->getFRegularUnitPrice()}] [{$currency->sign}]) [{/if}][{/if}][{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_amount"}][{oxmultilang ident="QUANTITY"}] [{$basketitem->getAmount()}][{/block}]
|
||||
[{block name="email_plain_order_cust_vat"}][{oxmultilang ident="VAT"}] [{$basketitem->getVatPercent()}]%[{/block}]
|
||||
[{block name="email_plain_order_cust_price"}][{oxmultilang ident="TOTAL"}] [{$basketitem->getFTotalPrice()}] [{$currency->name}][{/block}]
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
------------------------------------------------------------------
|
||||
[{if !$basket->getDiscounts()}]
|
||||
[{block name="email_plain_order_cust_nodiscounttotalnet"}]
|
||||
[{* netto price *}]
|
||||
[{oxmultilang ident="TOTAL_NET"}] [{$basket->getProductsNetPrice()}] [{$currency->name}]
|
||||
[{/block}]
|
||||
[{block name="email_plain_order_cust_nodiscountproductvats"}]
|
||||
[{* VATs *}]
|
||||
[{foreach from=$basket->getProductVats() item=VATitem key=key}]
|
||||
[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$key}] [{$VATitem}] [{$currency->name}]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
[{block name="email_plain_order_cust_nodiscounttotalgross"}]
|
||||
[{* brutto price *}]
|
||||
[{oxmultilang ident="TOTAL_GROSS"}] [{$basket->getFProductsPrice()}] [{$currency->name}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{* applied discounts *}]
|
||||
[{if $basket->getDiscounts()}]
|
||||
[{if $order->isNettoMode()}]
|
||||
[{block name="email_plain_order_ownerdiscounttotalnet"}]
|
||||
[{* netto price *}]
|
||||
[{oxmultilang ident="TOTAL_NET"}] [{$basket->getProductsNetPrice()}] [{$currency->name}]
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{block name="email_plain_order_discountownertotalgross"}]
|
||||
[{* brutto price *}]
|
||||
[{oxmultilang ident="TOTAL_GROSS"}] [{$basket->getFProductsPrice()}] [{$currency->name}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{block name="email_plain_order_cust_discounts"}]
|
||||
[{foreach from=$basket->getDiscounts() item=oDiscount}]
|
||||
[{if $oDiscount->dDiscount < 0}][{oxmultilang ident="SURCHARGE"}][{else}][{oxmultilang ident="DISCOUNT"}][{/if}] [{$oDiscount->sDiscount}]: [{if $oDiscount->dDiscount < 0}][{$oDiscount->fDiscount|replace:"-":""}][{else}]-[{$oDiscount->fDiscount}][{/if}] [{$currency->name}]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
[{if !$order->isNettoMode()}]
|
||||
[{block name="email_plain_order_cust_totalnet"}]
|
||||
[{* netto price *}]
|
||||
[{oxmultilang ident="TOTAL_NET"}] [{$basket->getProductsNetPrice()}] [{$currency->name}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{block name="email_plain_order_cust_productvats"}]
|
||||
[{* VATs *}]
|
||||
[{foreach from=$basket->getProductVats() item=VATitem key=key}]
|
||||
[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$key}] [{$VATitem}] [{$currency->name}]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{if $order->isNettoMode()}]
|
||||
[{block name="email_plain_order_ownertotalgross"}]
|
||||
[{* brutto price *}]
|
||||
[{oxmultilang ident="TOTAL_GROSS"}] [{$basket->getFProductsPrice()}] [{$currency->name}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{block name="email_plain_order_cust_voucherdiscount"}]
|
||||
[{* voucher discounts *}]
|
||||
[{if $oViewConf->getShowVouchers() && $basket->getVoucherDiscValue()}]
|
||||
[{oxmultilang ident="COUPON"}] [{if $basket->getFVoucherDiscountValue() > 0}]-[{/if}][{$basket->getFVoucherDiscountValue()|replace:"-":""}] [{$currency->name}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_delcosts"}]
|
||||
[{* delivery costs *}]
|
||||
[{if $basket->getDelCostNet()}]
|
||||
[{oxmultilang ident="SHIPPING_NET" suffix="COLON"}] [{$basket->getDelCostNet()}] [{$currency->sign}]
|
||||
[{if $basket->getDelCostVat()}] [{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT"}] [{else}] [{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$basket->getDelCostVatPercent()}][{/if}] [{$basket->getDelCostVat()}] [{$currency->sign}]
|
||||
[{elseif $basket->getFDeliveryCosts()}]
|
||||
[{oxmultilang ident="SHIPPING_COST"}] [{$basket->getFDeliveryCosts()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_paymentcosts"}]
|
||||
[{* payment sum *}]
|
||||
[{if $basket->getPayCostNet()}]
|
||||
[{if $basket->getPaymentCosts() >= 0}][{oxmultilang ident="SURCHARGE"}][{else}][{oxmultilang ident="DEDUCTION"}][{/if}] [{oxmultilang ident="PAYMENT_METHOD"}] [{$basket->getPayCostNet()}] [{$currency->sign}]
|
||||
[{if $basket->getPayCostVat()}]
|
||||
[{if $basket->isProportionalCalculationOn()}] [{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT"}][{else}] [{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$basket->getPayCostVatPercent()}][{/if}] [{$basket->getPayCostVat()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{elseif $basket->getFPaymentCosts()}]
|
||||
[{oxmultilang ident="SURCHARGE"}] [{$basket->getFPaymentCosts()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_wrappingcosts"}]
|
||||
[{* Gift wrapping *}]
|
||||
[{if $oViewConf->getShowGiftWrapping()}]
|
||||
[{if $basket->getWrappCostNet()}]
|
||||
[{oxmultilang ident="BASKET_TOTAL_WRAPPING_COSTS_NET"}] [{$basket->getWrappCostNet()}] [{$currency->sign}]
|
||||
[{if $basket->getWrappCostVat()}]
|
||||
[{oxmultilang ident="PLUS_VAT"}] [{$basket->getWrappCostVat()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{elseif $basket->getFWrappingCosts()}]
|
||||
[{oxmultilang ident="GIFT_WRAPPING"}] [{$basket->getFWrappingCosts()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_giftwrapping"}]
|
||||
[{* Greeting card *}]
|
||||
[{if $oViewConf->getShowGiftWrapping()}]
|
||||
[{if $basket->getGiftCardCostNet()}]
|
||||
[{oxmultilang ident="BASKET_TOTAL_GIFTCARD_COSTS_NET"}] [{$basket->getGiftCardCostNet()}] [{$currency->sign}]
|
||||
[{if $basket->getGiftCardCostVat()}]
|
||||
[{if $basket->isProportionalCalculationOn()}][{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT"}][{else}] [{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$basket->getGiftCardCostVatPercent()}][{/if}] [{$basket->getGiftCardCostVat()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{elseif $basket->getFGiftCardCosts()}]
|
||||
[{oxmultilang ident="GREETING_CARD"}] [{$basket->getFGiftCardCosts()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_grandtotal"}]
|
||||
[{* grand total price *}]
|
||||
[{oxmultilang ident="GRAND_TOTAL"}] [{$basket->getFPrice()}] [{$currency->name}]
|
||||
|
||||
[{if $basket->getCard()}]
|
||||
[{oxmultilang ident="YOUR_GREETING_CARD"}]
|
||||
[{$basket->getCardMessage()}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_userremark"}]
|
||||
[{if $order->oxorder__oxremark->value}]
|
||||
[{oxmultilang ident="WHAT_I_WANTED_TO_SAY"}] [{$order->oxorder__oxremark->getRawValue()}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_download_link"}]
|
||||
[{if $oOrderFileList}]
|
||||
[{oxmultilang ident="MY_DOWNLOADS_DESC"}]
|
||||
[{foreach from=$oOrderFileList item="oOrderFile"}]
|
||||
[{if $order->oxorder__oxpaid->value || !$oOrderFile->oxorderfiles__oxpurchasedonly->value}]
|
||||
[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=download" params="sorderfileid="|cat:$oOrderFile->getId()}]
|
||||
[{else}]
|
||||
[{$oOrderFile->oxorderfiles__oxfilename->value}] [{oxmultilang ident="DOWNLOADS_PAYMENT_PENDING"}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_paymentinfo"}]
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value != "oxempty"}]
|
||||
[{oxmultilang ident="PAYMENT_METHOD"}] [{$payment->oxpayments__oxdesc->getRawValue()}] [{if $basket->getPaymentCosts()}]([{$basket->getFPaymentCosts()}] [{$currency->sign}])[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_username"}]
|
||||
[{oxmultilang ident="EMAIL_ADDRESS"}] [{$user->oxuser__oxusername->value}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_address"}]
|
||||
[{oxmultilang ident="BILLING_ADDRESS"}]
|
||||
[{$order->oxorder__oxbillcompany->getRawValue()}]
|
||||
[{$order->oxorder__oxbillsal->value|oxmultilangsal}] [{$order->oxorder__oxbillfname->getRawValue()}] [{$order->oxorder__oxbilllname->getRawValue()}]
|
||||
[{if $order->oxorder__oxbilladdinfo->value}][{$order->oxorder__oxbilladdinfo->getRawValue()}][{/if}]
|
||||
[{$order->oxorder__oxbillstreet->getRawValue()}] [{$order->oxorder__oxbillstreetnr->value}]
|
||||
[{$order->oxorder__oxbillstateid->value}]
|
||||
[{$order->oxorder__oxbillzip->value}] [{$order->oxorder__oxbillcity->getRawValue()}]
|
||||
[{$order->oxorder__oxbillcountry->getRawValue()}]
|
||||
[{if $order->oxorder__oxbillustid->value}][{oxmultilang ident="VAT_ID_NUMBER"}] [{$order->oxorder__oxbillustid->value}][{/if}]
|
||||
[{oxmultilang ident="PHONE"}] [{$order->oxorder__oxbillfon->value}]
|
||||
|
||||
[{if $order->oxorder__oxdellname->value}][{oxmultilang ident="SHIPPING_ADDRESS"}]
|
||||
[{$order->oxorder__oxdelcompany->getRawValue()}]
|
||||
[{$order->oxorder__oxdelsal->value|oxmultilangsal}] [{$order->oxorder__oxdelfname->getRawValue()}] [{$order->oxorder__oxdellname->getRawValue()}]
|
||||
[{if $order->oxorder__oxdeladdinfo->value}][{$order->oxorder__oxdeladdinfo->getRawValue()}][{/if}]
|
||||
[{$order->oxorder__oxdelstreet->getRawValue()}] [{$order->oxorder__oxdelstreetnr->value}]
|
||||
[{$order->oxorder__oxdelstateid->getRawValue()}]
|
||||
[{$order->oxorder__oxdelzip->value}] [{$order->oxorder__oxdelcity->getRawValue()}]
|
||||
[{$order->oxorder__oxdelcountry->getRawValue()}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_deliveryinfo"}]
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value != "oxempty"}][{oxmultilang ident="SHIPPING_CARRIER" suffix="COLON"}] [{$order->oDelSet->oxdeliveryset__oxtitle->getRawValue()}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_paymentinfo"}]
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value == "oxidpayadvance"}]
|
||||
[{oxmultilang ident="BANK"}] [{$shop->oxshops__oxbankname->getRawValue()}]<br>
|
||||
[{oxmultilang ident="BANK_CODE"}] [{$shop->oxshops__oxbankcode->value}]<br>
|
||||
[{oxmultilang ident="BANK_ACCOUNT_NUMBER"}] [{$shop->oxshops__oxbanknumber->value}]<br>
|
||||
[{oxmultilang ident="BIC"}] [{$shop->oxshops__oxbiccode->value}]<br>
|
||||
[{oxmultilang ident="IBAN"}] [{$shop->oxshops__oxibannumber->value}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_orderemailend"}]
|
||||
[{oxcontent ident="oxuserorderemailendplain"}]
|
||||
[{/block}]
|
||||
|
||||
[{oxcontent ident="oxemailfooterplain"}]
|
||||
@@ -0,0 +1,213 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="currency" value=$oEmailView->getCurrency()}]
|
||||
[{assign var="user" value=$oEmailView->getUser()}]
|
||||
[{assign var="basket" value=$order->getBasket()}]
|
||||
[{assign var="oDelSet" value=$order->getDelSet()}]
|
||||
[{assign var="payment" value=$order->getPayment()}]
|
||||
|
||||
[{block name="email_plain_order_owner_orderemail"}]
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value == "oxempty"}]
|
||||
[{oxcontent ident="oxadminordernpplainemail"}]
|
||||
[{else}]
|
||||
[{oxcontent ident="oxadminorderplainemail"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{oxmultilang ident="ORDER_NUMBER"}] [{$order->oxorder__oxordernr->value}]
|
||||
|
||||
[{block name="email_plain_order_owner_voucherdiscount_top"}]
|
||||
[{if $oViewConf->getShowVouchers()}]
|
||||
[{foreach from=$order->getVoucherList() item=voucher}]
|
||||
[{assign var="voucherseries" value=$voucher->getSerie()}]
|
||||
[{oxmultilang ident="USED_COUPONS"}] [{$voucher->oxvouchers__oxvouchernr->value}] - [{oxmultilang ident="DISCOUNT"}] [{$voucherseries->oxvoucherseries__oxdiscount->value}] [{if $voucherseries->oxvoucherseries__oxdiscounttype->value == "absolute"}][{$currency->sign}][{else}]%[{/if}]
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{assign var="basketitemlist" value=$basket->getBasketArticles()}]
|
||||
[{foreach key=basketindex from=$basket->getContents() item=basketitem}]
|
||||
[{block name="email_plain_order_ownerbasketitem"}]
|
||||
[{assign var="basketproduct" value=$basketitemlist.$basketindex}]
|
||||
[{$basketproduct->oxarticles__oxtitle->getRawValue()|strip_tags}][{if $basketproduct->oxarticles__oxvarselect->value}], [{$basketproduct->oxarticles__oxvarselect->value}][{/if}]
|
||||
[{if $basketitem->getChosenSelList()}][{foreach from=$basketitem->getChosenSelList() item=oList}][{$oList->name}] [{$oList->value}][{/foreach}][{/if}]
|
||||
[{if $basketitem->getPersParams()}][{foreach key=sVar from=$basketitem->getPersParams() item=aParam}][{$sVar}] : [{$aParam}][{/foreach}][{/if}]
|
||||
[{if $oViewConf->getShowGiftWrapping()}]
|
||||
[{assign var="oWrapping" value=$basketitem->getWrapping()}]
|
||||
[{oxmultilang ident="GIFT_WRAPPING"}] [{if !$basketitem->getWrappingId()}][{oxmultilang ident="NONE"}][{else}][{$oWrapping->oxwrapping__oxname->getRawValue()}][{/if}]
|
||||
[{/if}]
|
||||
[{if $basketproduct->oxarticles__oxorderinfo->value}][{$basketproduct->oxarticles__oxorderinfo->getRawValue()}][{/if}]
|
||||
|
||||
[{assign var=dRegUnitPrice value=$basketitem->getRegularUnitPrice()}]
|
||||
[{assign var=dUnitPrice value=$basketitem->getUnitPrice()}]
|
||||
[{oxmultilang ident="UNIT_PRICE"}] [{$basketitem->getFUnitPrice()}] [{$currency->name}] [{if !$basketitem->isBundle()}] [{if $dRegUnitPrice->getPrice() > $dUnitPrice->getPrice()}] ([{$basketitem->getFRegularUnitPrice()}] [{$currency->sign}]) [{/if}][{/if}]
|
||||
[{oxmultilang ident="QUANTITY"}] [{$basketitem->getAmount()}]
|
||||
[{oxmultilang ident="VAT"}] [{$basketitem->getVatPercent()}]%
|
||||
[{oxmultilang ident="TOTAL"}] [{$basketitem->getFTotalPrice()}] [{$currency->name}]
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
------------------------------------------------------------------
|
||||
[{if !$basket->getDiscounts()}]
|
||||
[{block name="email_plain_order_ownernodiscounttotalnet"}]
|
||||
[{* netto price *}]
|
||||
[{oxmultilang ident="TOTAL_NET"}] [{$basket->getProductsNetPrice()}] [{$currency->name}]
|
||||
[{/block}]
|
||||
[{block name="email_plain_order_ownernodiscountproductvats"}]
|
||||
[{* VATs *}]
|
||||
[{foreach from=$basket->getProductVats() item=VATitem key=key}]
|
||||
[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$key}] [{$VATitem}] [{$currency->name}]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
[{block name="email_plain_order_nodiscountownertotalgross"}]
|
||||
[{* brutto price *}]
|
||||
[{oxmultilang ident="TOTAL_GROSS"}] [{$basket->getFProductsPrice()}] [{$currency->name}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{* applied discounts *}]
|
||||
[{if $basket->getDiscounts()}]
|
||||
[{if $order->isNettoMode()}]
|
||||
[{block name="email_plain_order_ownerdiscounttotalnet"}]
|
||||
[{* netto price *}]
|
||||
[{oxmultilang ident="TOTAL_NET"}] [{$basket->getProductsNetPrice()}] [{$currency->name}]
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{block name="email_plain_order_discountownertotalgross"}]
|
||||
[{* brutto price *}]
|
||||
[{oxmultilang ident="TOTAL_GROSS"}] [{$basket->getFProductsPrice()}] [{$currency->name}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{block name="email_plain_order_ownerdiscounts"}]
|
||||
[{foreach from=$basket->getDiscounts() item=oDiscount}]
|
||||
[{if $oDiscount->dDiscount < 0}][{oxmultilang ident="SURCHARGE"}][{else}][{oxmultilang ident="DISCOUNT"}][{/if}] [{$oDiscount->sDiscount}]: [{if $oDiscount->dDiscount < 0}][{$oDiscount->fDiscount|replace:"-":""}][{else}]-[{$oDiscount->fDiscount}][{/if}] [{$currency->name}]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
[{if !$order->isNettoMode()}]
|
||||
[{block name="email_plain_order_ownertotalnet"}]
|
||||
[{* netto price *}]
|
||||
[{oxmultilang ident="TOTAL_NET"}] [{$basket->getProductsNetPrice()}] [{$currency->name}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{block name="email_plain_order_ownerproductvats"}]
|
||||
[{* VATs *}]
|
||||
[{foreach from=$basket->getProductVats() item=VATitem key=key}]
|
||||
[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$key}] [{$VATitem}] [{$currency->name}]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{if $order->isNettoMode()}]
|
||||
[{block name="email_plain_order_ownertotalgross"}]
|
||||
[{* brutto price *}]
|
||||
[{oxmultilang ident="TOTAL_GROSS"}] [{$basket->getFProductsPrice()}] [{$currency->name}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{block name="email_plain_order_owner_voucherdiscount"}]
|
||||
[{* voucher discounts *}]
|
||||
[{if $oViewConf->getShowVouchers() && $basket->getVoucherDiscValue()}]
|
||||
[{oxmultilang ident="COUPON"}] [{if $basket->getFVoucherDiscountValue() > 0}]-[{/if}][{$basket->getFVoucherDiscountValue()|replace:"-":""}] [{$currency->name}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{block name="email_plain_order_ownerdelcosts"}]
|
||||
[{* delivery costs *}]
|
||||
[{if $basket->getDelCostNet()}]
|
||||
[{oxmultilang ident="SHIPPING_NET" suffix="COLON"}] [{$basket->getDelCostNet()}] [{$currency->sign}]
|
||||
[{if $basket->getDelCostVat()}] [{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT"}] [{else}] [{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$basket->getDelCostVatPercent()}][{/if}] [{$basket->getDelCostVat()}] [{$currency->sign}]
|
||||
[{elseif $basket->getFDeliveryCosts()}]
|
||||
[{oxmultilang ident="SHIPPING_COST"}] [{$basket->getFDeliveryCosts()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{block name="email_plain_order_ownerpaymentcosts"}]
|
||||
[{* payment sum *}]
|
||||
[{if $basket->getPayCostNet()}]
|
||||
[{if $basket->getPaymentCosts() >= 0}][{oxmultilang ident="SURCHARGE"}][{else}][{oxmultilang ident="DEDUCTION"}][{/if}] [{oxmultilang ident="PAYMENT_METHOD"}] [{$basket->getPayCostNet()}] [{$currency->sign}]
|
||||
[{if $basket->getPayCostVat()}]
|
||||
[{if $basket->isProportionalCalculationOn()}] [{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT"}][{else}] [{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$basket->getPayCostVatPercent()}][{/if}] [{$basket->getPayCostVat()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{elseif $basket->getFPaymentCosts()}]
|
||||
[{oxmultilang ident="SURCHARGE"}] [{$basket->getFPaymentCosts()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_giftwrapping"}]
|
||||
[{* Gift wrapping *}]
|
||||
[{if $oViewConf->getShowGiftWrapping()}]
|
||||
[{if $basket->getWrappCostNet()}]
|
||||
[{oxmultilang ident="BASKET_TOTAL_WRAPPING_COSTS_NET"}] [{$basket->getWrappCostNet()}] [{$currency->sign}]
|
||||
[{if $basket->getWrappCostVat()}]
|
||||
[{oxmultilang ident="PLUS_VAT"}] [{$basket->getWrappCostVat()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{elseif $basket->getFWrappingCosts()}]
|
||||
[{oxmultilang ident="GIFT_WRAPPING"}] [{$basket->getFWrappingCosts()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_cust_greetingcard"}]
|
||||
[{* Greeting card *}]
|
||||
[{if $oViewConf->getShowGiftWrapping()}]
|
||||
[{if $basket->getGiftCardCostNet()}]
|
||||
[{oxmultilang ident="BASKET_TOTAL_GIFTCARD_COSTS_NET"}] [{$basket->getGiftCardCostNet()}] [{$currency->sign}]
|
||||
[{if $basket->getGiftCardCostVat()}]
|
||||
[{if $basket->isProportionalCalculationOn()}][{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT"}][{else}] [{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$basket->getGiftCardCostVatPercent()}][{/if}] [{$basket->getGiftCardCostVat()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{elseif $basket->getFGiftCardCosts()}]
|
||||
[{oxmultilang ident="GREETING_CARD"}] [{$basket->getFGiftCardCosts()}] [{$currency->sign}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_ownergrandtotal"}]
|
||||
[{* grand total price *}]
|
||||
[{oxmultilang ident="GRAND_TOTAL"}] [{$basket->getFPrice()}] [{$currency->name}]
|
||||
[{if $basket->oCard}]
|
||||
[{oxmultilang ident="ATENTION_GREETING_CARD"}]
|
||||
[{oxmultilang ident="WHAT_I_WANTED_TO_SAY"}]
|
||||
[{$basket->getCardMessage()}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_owneruserremark"}]
|
||||
[{if $order->oxorder__oxremark->value}]
|
||||
[{oxmultilang ident="MESSAGE"}] [{$order->oxorder__oxremark->getRawValue()}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_ownerpaymentinfo"}]
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value != "oxempty"}][{oxmultilang ident="PAYMENT_INFORMATION"}]
|
||||
[{oxmultilang ident="PAYMENT_METHOD"}][{$payment->oxpayments__oxdesc->getRawValue()}] [{if $basket->getPaymentCosts()}]([{$basket->getFPaymentCosts()}] [{$currency->sign}])[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_ownerusername"}]
|
||||
[{oxmultilang ident="EMAIL_ADDRESS"}] [{$user->oxuser__oxusername->value}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_owneraddress"}]
|
||||
[{oxmultilang ident="BILLING_ADDRESS"}]
|
||||
[{$order->oxorder__oxbillcompany->getRawValue()}]
|
||||
[{$order->oxorder__oxbillsal->value|oxmultilangsal}] [{$order->oxorder__oxbillfname->getRawValue()}] [{$order->oxorder__oxbilllname->getRawValue()}]
|
||||
[{if $order->oxorder__oxbilladdinfo->value}][{$order->oxorder__oxbilladdinfo->getRawValue()}][{/if}]
|
||||
[{$order->oxorder__oxbillstreet->getRawValue()}] [{$order->oxorder__oxbillstreetnr->value}]
|
||||
[{$order->oxorder__oxbillstateid->value}]
|
||||
[{$order->oxorder__oxbillzip->value}] [{$order->oxorder__oxbillcity->getRawValue()}]
|
||||
[{$order->oxorder__oxbillcountry->getRawValue()}]
|
||||
[{if $order->oxorder__oxbillustid->value}][{oxmultilang ident="VAT_ID_NUMBER"}] [{$order->oxorder__oxbillustid->value}][{/if}]
|
||||
[{oxmultilang ident="PHONE"}] [{$order->oxorder__oxbillfon->value}]
|
||||
|
||||
[{if $order->oxorder__oxdellname->value}][{oxmultilang ident="SHIPPING_ADDRESS"}]
|
||||
[{$order->oxorder__oxdelcompany->getRawValue()}]
|
||||
[{$order->oxorder__oxdelsal->value|oxmultilangsal}] [{$order->oxorder__oxdelfname->getRawValue()}] [{$order->oxorder__oxdellname->getRawValue()}]
|
||||
[{if $order->oxorder__oxdeladdinfo->value}][{$order->oxorder__oxdeladdinfo->getRawValue()}][{/if}]
|
||||
[{$order->oxorder__oxdelstreet->getRawValue()}] [{$order->oxorder__oxdelstreetnr->value}]
|
||||
[{$order->oxorder__oxdelstateid->getRawValue()}]
|
||||
[{$order->oxorder__oxdelzip->value}] [{$order->oxorder__oxdelcity->getRawValue()}]
|
||||
[{$order->oxorder__oxdelcountry->getRawValue()}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_order_ownerdeliveryinfo"}]
|
||||
[{if $payment->oxuserpayments__oxpaymentsid->value != "oxempty"}][{oxmultilang ident="SHIPPING_CARRIER" suffix="COLON"}] [{$order->oDelSet->oxdeliveryset__oxtitle->getRawValue()}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{oxcontent ident="oxemailfooterplain"}]
|
||||
@@ -0,0 +1,46 @@
|
||||
[{ assign var="shop" value=$oEmailView->getShop() }]
|
||||
[{ assign var="oViewConf" value=$oEmailView->getViewConfig() }]
|
||||
|
||||
[{block name="email_plain_ordershipped_sendemail"}]
|
||||
[{ oxcontent ident="oxordersendplainemail" }]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_ordershipped_infoheader"}]
|
||||
[{ oxmultilang ident="ORDER_SHIPPED_TO" suffix="COLON" }]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_ordershipped_address"}]
|
||||
[{if $order->oxorder__oxdellname->value }]
|
||||
[{ $order->oxorder__oxdelcompany->getRawValue() }]
|
||||
[{ $order->oxorder__oxdelfname->getRawValue() }] [{ $order->oxorder__oxdellname->getRawValue() }]
|
||||
[{ $order->oxorder__oxdelstreet->getRawValue() }] [{ $order->oxorder__oxdelstreetnr->value }]
|
||||
[{ $order->oxorder__oxdelstateid->value }]
|
||||
[{ $order->oxorder__oxdelzip->value }] [{ $order->oxorder__oxdelcity->getRawValue() }]
|
||||
[{else}]
|
||||
[{ $order->oxorder__oxbillcompany->getRawValue() }]
|
||||
[{ $order->oxorder__oxbillfname->getRawValue() }] [{ $order->oxorder__oxbilllname->getRawValue() }]
|
||||
[{ $order->oxorder__oxbillstreet->getRawValue() }] [{ $order->oxorder__oxbillstreetnr->value }]
|
||||
[{ $order->oxorder__oxbillstateid->value }]
|
||||
[{ $order->oxorder__oxbillzip->value }] [{ $order->oxorder__oxbillcity->getRawValue() }]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_ordershipped_oxordernr"}]
|
||||
[{ oxmultilang ident="ORDER_NUMBER" suffix="COLON" }] [{ $order->oxorder__oxordernr->value }]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_ordershipped_orderarticles"}]
|
||||
[{foreach from=$order->getOrderArticles(true) item=oOrderArticle}]
|
||||
[{ $oOrderArticle->oxorderarticles__oxamount->value }] [{ $oOrderArticle->oxorderarticles__oxtitle->getRawValue() }] [{ $oOrderArticle->oxorderarticles__oxselvariant->getRawValue() }]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_plain_ordershipped_infofooter"}]
|
||||
[{ oxmultilang ident="YOUR_TEAM" args=$shop->oxshops__oxname->getRawValue()}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_ordershipped_shipmenttrackingurl"}]
|
||||
[{if $order->getShipmentTrackingUrl()}][{ oxmultilang ident="SHIPMENT_TRACKING" suffix="COLON" }] [{ $order->getShipmentTrackingUrl()}][{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{ oxcontent ident="oxemailfooterplain" }]
|
||||
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>[{oxmultilang ident="PRICE_ALERT_AT"}] [{$shop->oxshops__oxname->value}]</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=[{$charset}]">
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF" link="#355222" alink="#355222" vlink="#355222" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px;">
|
||||
<br>
|
||||
<img src="[{$oViewConf->getImageUrl('logo_white.gif')}]" border="0" hspace="0" vspace="0" alt="[{$shop->oxshops__oxname->value}]" align="texttop"><br><br>
|
||||
[{oxcontent ident="oxpricealarmemail"}]
|
||||
<br><br>
|
||||
[{oxcontent ident="oxemailfooter"}]
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,3 @@
|
||||
[{oxcontent ident=$contentplainident|default:"oxregisterplainemail"}]
|
||||
|
||||
[{oxcontent ident="oxemailfooterplain"}]
|
||||
@@ -0,0 +1,32 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="sOrderId" value=$order->getId()}]
|
||||
[{assign var="oOrderFileList" value=$oEmailView->getOrderFileList($sOrderId)}]
|
||||
|
||||
[{include file="email/html/header.tpl" title=$shop->oxshops__oxname->value}]
|
||||
[{block name="email_html_senddownloadlinks_infoheader"}]
|
||||
[{oxmultilang ident="EMAIL_SENDDOWNLOADS_GREETING"}], [{$order->oxorder__oxbillsal->value|oxmultilangsal}] [{$order->oxorder__oxbillfname->value}] [{$order->oxorder__oxbilllname->value}],
|
||||
[{/block}]
|
||||
|
||||
[{block name="email_html_sendednow_oxordernr"}]
|
||||
[{oxmultilang ident="ORDER_NUMBER" suffix="COLON"}] [{$order->oxorder__oxordernr->value}]
|
||||
[{/block}]
|
||||
|
||||
[{if $oOrderFileList}]
|
||||
[{block name="email_html_senddownloadlinks_download_header"}]
|
||||
[{oxmultilang ident="MY_DOWNLOADS_DESC"}]
|
||||
[{/block}]
|
||||
[{block name="email_html_senddownloadlinks_download_link"}]
|
||||
[{foreach from=$oOrderFileList item="oOrderFile"}]
|
||||
[{if $order->oxorder__oxpaid->value || !$oOrderFile->oxorderfiles__oxpurchasedonly->value}]
|
||||
[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=download" params="sorderfileid="|cat:$oOrderFile->getId()}] [{$oOrderFile->oxorderfiles__oxfilename->value}]
|
||||
[{else}]
|
||||
[{$oOrderFile->oxorderfiles__oxfilename->value}] [{oxmultilang ident="DOWNLOADS_PAYMENT_PENDING"}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="email_html_senddownloadlinks_infofooter"}]
|
||||
[{oxcontent ident="oxemailfooterplain"}]
|
||||
[{/block}]
|
||||
@@ -0,0 +1,24 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="user" value=$oEmailView->getUser()}]
|
||||
|
||||
[{oxmultilang ident="PRODUCT_POST_CARD_FROM"}] [{$shop->oxshops__oxname->getRawValue()}]
|
||||
|
||||
[{oxmultilang ident="FROM"}] [{$userinfo->send_name}]
|
||||
[{oxmultilang ident="EMAIL"}] [{$userinfo->send_email}]
|
||||
|
||||
[{oxmultilang ident="TO"}] [{$userinfo->rec_name}]
|
||||
[{oxmultilang ident="EMAIL"}] [{$userinfo->rec_email}]
|
||||
|
||||
[{$userinfo->send_message}]
|
||||
|
||||
[{oxmultilang ident="MANY_GREETINGS"}] [{$userinfo->send_name}]
|
||||
|
||||
[{oxmultilang ident="RECOMMENDED_PRODUCTS"}]
|
||||
|
||||
[{$product->oxarticles__oxtitle->getRawValue()|strip_tags}]
|
||||
[{$product->oxarticles__oxshortdesc->getRawValue()}]
|
||||
|
||||
[{oxmultilang ident="CHECK"}] [{$sArticleUrl}]
|
||||
|
||||
[{oxcontent ident="oxemailfooterplain"}]
|
||||
@@ -0,0 +1,18 @@
|
||||
[{assign var="shop" value=$oEmailView->getShop()}]
|
||||
[{assign var="oViewConf" value=$oEmailView->getViewConfig()}]
|
||||
[{assign var="user" value=$oEmailView->getUser()}]
|
||||
|
||||
|
||||
[{oxmultilang ident="GIFT_REGISTRY_OF"}] [{$shop->oxshops__oxname->getRawValue()}]
|
||||
|
||||
[{$userinfo->send_message}]
|
||||
|
||||
[{oxmultilang ident="TO_MY_WISHLIST"}] [{oxmultilang ident="CLICK_HERE"}]
|
||||
|
||||
[{$oViewConf->getBaseDir()}]index.php?cl=wishlist&wishid=[{$userinfo->send_id}]
|
||||
|
||||
[{oxmultilang ident="WITH_LOVE"}]
|
||||
|
||||
[{$userinfo->send_name}]
|
||||
|
||||
[{oxcontent ident="oxemailfooterplain"}]
|
||||
@@ -0,0 +1,25 @@
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" name="newsletter" class="form-horizontal" method="post">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="fnc" value="subscribe">
|
||||
<input type="hidden" name="cl" value="account_newsletter">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3" for="status">[{oxmultilang ident="NEWSLETTER_SUBSCRIPTION"}]</label>
|
||||
<div class="col-lg-4">
|
||||
<select name="status" id="status" class="form-control ">
|
||||
<option value="1"[{if $oView->isNewsletter()}] selected[{/if}] >[{oxmultilang ident="YES"}]</option>
|
||||
<option value="0"[{if !$oView->isNewsletter()}] selected[{/if}] >[{oxmultilang ident="NO"}]</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="offset-lg-3 col-lg-7">
|
||||
<p>[{oxmultilang ident="MESSAGE_NEWSLETTER_SUBSCRIPTION"}]</p>
|
||||
<button id="newsletterSettingsSave" type="submit" class="btn btn-primary">[{oxmultilang ident="SAVE"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
124
shop/source/Application/views/wave/tpl/form/contact.tpl
Normal file
124
shop/source/Application/views/wave/tpl/form/contact.tpl
Normal file
@@ -0,0 +1,124 @@
|
||||
[{oxscript add="$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"}]
|
||||
|
||||
[{assign var="editval" value=$oView->getUserData()}]
|
||||
<form class="form-horizontal" action="[{$oViewConf->getSslSelfLink()}]" method="post" role="form" novalidate="novalidate">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="fnc" value="send"/>
|
||||
<input type="hidden" name="cl" value="contact"/>
|
||||
</div>
|
||||
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxfname}]
|
||||
|
||||
[{block name="contact_form_fields"}]
|
||||
<div class="form-group">
|
||||
<label class="[{if $contactFormFields.salutation.isRequired}]req[{/if}] control-label col-lg-2">
|
||||
[{oxmultilang ident="TITLE"}]
|
||||
</label>
|
||||
<div class="col-lg-10 controls">
|
||||
[{include
|
||||
file="form/fieldset/salutation.tpl"
|
||||
name="editval[oxuser__oxsal]"
|
||||
value=$editval.oxuser__oxsal
|
||||
class="form-control show-tick "
|
||||
required=$contactFormFields.salutation.isRequired
|
||||
}]
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors.oxuser__oxfname}] oxInValid[{/if}]">
|
||||
<label class="[{if $contactFormFields.firstName.isRequired}]req[{/if}] control-label col-lg-2"
|
||||
for="editval[oxuser__oxfname]">
|
||||
[{oxmultilang ident="FIRST_NAME"}]
|
||||
</label>
|
||||
<div class="col-lg-10 controls">
|
||||
<input type="text"
|
||||
name="editval[oxuser__oxfname]"
|
||||
id="editval[oxuser__oxfname]"
|
||||
size="70"
|
||||
maxlength="255"
|
||||
value="[{$editval.oxuser__oxfname}]"
|
||||
class="form-control"
|
||||
autocomplete="given-name"
|
||||
[{if $contactFormFields.firstName.isRequired}]required="required"[{/if}] >
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors.oxuser__oxlname}] oxInValid[{/if}]">
|
||||
<label class="[{if $contactFormFields.lastName.isRequired}]req[{/if}] control-label col-lg-2"
|
||||
for="editval[oxuser__oxlname]">
|
||||
[{oxmultilang ident="LAST_NAME"}]
|
||||
</label>
|
||||
<div class="col-lg-10 controls">
|
||||
<input type="text"
|
||||
name="editval[oxuser__oxlname]"
|
||||
id="editval[oxuser__oxlname]"
|
||||
size=70
|
||||
maxlength=255
|
||||
value="[{$editval.oxuser__oxlname}]"
|
||||
class="form-control"
|
||||
autocomplete="family-name"
|
||||
[{if $contactFormFields.lastName.isRequired}]required="required"[{/if}]>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors.oxuser__oxusername}] oxInValid[{/if}]">
|
||||
<label class="[{if $contactFormFields.email.isRequired}]req[{/if}] control-label col-lg-2"
|
||||
for="contactEmail">
|
||||
[{oxmultilang ident="EMAIL"}]
|
||||
</label>
|
||||
<div class="col-lg-10 controls">
|
||||
<input id="contactEmail"
|
||||
type="email"
|
||||
name="editval[oxuser__oxusername]"
|
||||
size=70
|
||||
maxlength=255
|
||||
value="[{$editval.oxuser__oxusername}]"
|
||||
class="form-control"
|
||||
autocomplete="email"
|
||||
[{if $contactFormFields.email.isRequired}]required="required"[{/if}]>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors && !$oView->getContactSubject()}] oxInValid[{/if}]">
|
||||
<label class="[{if $contactFormFields.subject.isRequired}]req[{/if}] control-label col-lg-2"
|
||||
for="c_subject">
|
||||
[{oxmultilang ident="SUBJECT"}]
|
||||
</label>
|
||||
<div class="col-lg-10 controls">
|
||||
<input type="text"
|
||||
name="c_subject"
|
||||
id="c_subject"
|
||||
size="70"
|
||||
maxlength=80
|
||||
value="[{$oView->getContactSubject()}]"
|
||||
class="form-control"
|
||||
[{if $contactFormFields.subject.isRequired}]required="required"[{/if}]>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="[{if $contactFormFields.message.isRequired}]req[{/if}] control-label col-lg-2"
|
||||
for="c_message">
|
||||
[{oxmultilang ident="MESSAGE"}]
|
||||
</label>
|
||||
<div class="col-lg-10 controls">
|
||||
<textarea rows="15"
|
||||
cols="70"
|
||||
name="c_message"
|
||||
id="c_message"
|
||||
class="form-control"
|
||||
[{if $contactFormFields.message.isRequired}]required="required"[{/if}]
|
||||
>[{$oView->getContactMessage()}]</textarea>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="captcha_form"}][{/block}]
|
||||
|
||||
[{block name="contact_form_buttons"}]
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-2 col-lg-10">
|
||||
<p class="alert alert-info">[{oxmultilang ident="COMPLETE_MARKED_FIELDS"}]</p>
|
||||
<button class="btn btn-primary" type="submit">
|
||||
<i class="fa fa-envelope"></i> [{oxmultilang ident="SEND"}]
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
</form>
|
||||
@@ -0,0 +1,59 @@
|
||||
[{block name="delete_shipping_address_modal"}]
|
||||
[{if $oxcmp_user}]
|
||||
[{assign var="userAddresses" value=$oxcmp_user->getUserAddresses()}]
|
||||
[{/if}]
|
||||
[{foreach from=$userAddresses item=shippingAddress name="shippingAdresses"}]
|
||||
[{assign var="shippingAddressNumber" value=$smarty.foreach.shippingAdresses.iteration}]
|
||||
<div class="modal fade"
|
||||
id="delete_shipping_address_[{$shippingAddressNumber}]"
|
||||
tabindex="-1"
|
||||
role="dialog"
|
||||
aria-labelledby="delete_shipping_address_modal_label_[{$shippingAddressNumber}]"
|
||||
aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
[{block name="delete_shipping_address_modal_header"}]
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<span class="h4 modal-title" id="delete_shipping_address_modal_label_[{$shippingAddressNumber}]">[{oxmultilang ident="DD_DELETE_SHIPPING_ADDRESS"}]</span>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
[{block name="delete_shipping_address_modal_contents"}]
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<form name="delete_shipping_address_modal_form_[{$shippingAddressNumber}]"
|
||||
action="[{$oViewConf->getSelfActionLink()}]"
|
||||
method="post">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="deleteShippingAddress">
|
||||
<input type="hidden" name="oxaddressid"
|
||||
value="[{$shippingAddress->oxaddress__oxid->value}]">
|
||||
</div>
|
||||
[{include file="widget/address/shipping_address.tpl" delivadr=$shippingAddress}]
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
[{block name="delete_shipping_address_modal_footer"}]
|
||||
<button type="button" class="btn btn-outline-dark" data-dismiss="modal">[{oxmultilang ident="CANCEL"}]
|
||||
</button>
|
||||
<button type="button"
|
||||
class="btn btn-danger"
|
||||
onclick="window.delete_shipping_address_modal_form_[{$shippingAddressNumber}].submit();return false;">
|
||||
[{oxmultilang ident="DD_DELETE"}]
|
||||
</button>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
[{if $blSubscribeNews}]
|
||||
<div class="form-group">
|
||||
[{block name="user_billing_newsletter"}]
|
||||
<div class="col-lg-9 offset-lg-3">
|
||||
<input type="hidden" name="blnewssubscribed" value="0">
|
||||
<div class="checkbox">
|
||||
<label for="subscribeNewsletter">
|
||||
<input type="checkbox" name="blnewssubscribed" id="subscribeNewsletter" [{if $oView->isNewsSubscribed()}]checked[{/if}] value="1"> [{oxmultilang ident="NEWSLETTER_SUBSCRIPTION"}]
|
||||
</label>
|
||||
</div>
|
||||
<span class="help-block">[{oxmultilang ident="MESSAGE_NEWSLETTER_SUBSCRIPTION"}]</span>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/if}]
|
||||
@@ -0,0 +1,8 @@
|
||||
[{if $blOrderRemark}]
|
||||
<div class="form-group">
|
||||
<label for="orderRemark" class="control-label col-lg-3">[{oxmultilang ident="WHAT_I_WANTED_TO_SAY"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<textarea id="orderRemark" rows="7" name="order_remark" class="form-control" placeholder="[{oxmultilang ident="HERE_YOU_CAN_ENETER_MESSAGE"}]">[{$oView->getOrderRemark()}]</textarea>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
@@ -0,0 +1,10 @@
|
||||
<select name="[{$name}]"
|
||||
[{if $class}]class="[{$class}]"[{/if}]
|
||||
[{if $id}]id="[{$id}]"[{/if}]
|
||||
[{if $required}]required="required"[{/if}]>
|
||||
[{block name="salutation_options"}]
|
||||
<option value="" [{if empty($value)}]SELECTED[{/if}]>[{oxmultilang ident="DD_SELECT_SALUTATION" suffix="ELLIPSIS"}]</option>
|
||||
<option value="MRS" [{if $value|lower == "mrs" or $value2|lower == "mrs"}]SELECTED[{/if}]>[{oxmultilang ident="MRS"}]</option>
|
||||
<option value="MR" [{if $value|lower == "mr" or $value2|lower == "mr"}]SELECTED[{/if}]>[{oxmultilang ident="MR" }]</option>
|
||||
[{/block}]
|
||||
</select>
|
||||
@@ -0,0 +1,41 @@
|
||||
[{if $selectedStateIdPrim}]
|
||||
[{assign var="selectedStateId" value=$selectedStateIdPrim}]
|
||||
[{/if}]
|
||||
|
||||
[{assign var="divId" value=oxStateDiv_$stateSelectName}]
|
||||
[{assign var="stateSelectId" value=oxStateSelect_$stateSelectName}]
|
||||
|
||||
[{if $currCountry}]
|
||||
[{assign var=showDiv value='true'}]
|
||||
[{else}]
|
||||
[{assign var=showDiv value='false'}]
|
||||
[{/if}]
|
||||
|
||||
[{oxscript include="js/widgets/oxcountrystateselect.min.js" priority=10}]
|
||||
[{oxscript add="$( '#`$countrySelectId`' ).oxCountryStateSelect({selectedStateId:'`$selectedStateId`', listItem: '.form-group', span: 'div'});"}]
|
||||
|
||||
<script type="text/javascript"><!--
|
||||
var allStates = new Array();
|
||||
var allStateIds = new Array();
|
||||
var allCountryIds = new Object();
|
||||
var cCount = 0;
|
||||
[{foreach from=$oViewConf->getCountryList() item=country key=country_id}]
|
||||
|
||||
var states = new Array();
|
||||
var ids = new Array();
|
||||
var i = 0;
|
||||
|
||||
[{assign var=countryStates value=$country->getStates()}]
|
||||
[{foreach from=$countryStates item=state key=state_id}]
|
||||
states[i] = '[{$state->oxstates__oxtitle->value}]';
|
||||
ids[i] = '[{$state->oxstates__oxid->value}]';
|
||||
i++;
|
||||
[{/foreach}]
|
||||
allStates[++cCount] = states;
|
||||
allStateIds[cCount] = ids;
|
||||
allCountryIds['[{$country->getId()}]'] = cCount;
|
||||
[{/foreach}]
|
||||
--></script>
|
||||
<select name="[{$stateSelectName}]" id="[{$stateSelectId}]" [{if $class}]class="[{$class}]"[{/if}]>
|
||||
<option value="">[{oxmultilang ident="PLEASE_SELECT_STATE"}]</option>
|
||||
</select>
|
||||
@@ -0,0 +1,41 @@
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxusername}] oxInValid[{/if}]">
|
||||
[{block name="user_account_username"}]
|
||||
<label class="col-lg-3 req" for="userLoginName">[{oxmultilang ident="EMAIL_ADDRESS"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input id="userLoginName" class="form-control js-oxValidate js-oxValidate_notEmpty js-oxValidate_email" type="email" name="lgn_usr" value="[{$oView->getActiveUsername()}]" required="required" autocomplete="username">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxpassword}] oxInValid[{/if}]">
|
||||
[{block name="user_account_password"}]
|
||||
<label class="col-lg-3 req" for="userPassword">[{oxmultilang ident="PASSWORD"}]</label>
|
||||
<input type="hidden" id="passwordLength" value="[{$oViewConf->getPasswordLength()}]">
|
||||
<div class="col-lg-9">
|
||||
<input id="userPassword" class="form-control textbox js-oxValidate js-oxValidate_notEmpty js-oxValidate_length js-oxValidate_match" type="password" name="lgn_pwd" value="[{$lgn_pwd}]" required="required" autocomplete="new-password">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxpassword}] oxInValid[{/if}]">
|
||||
[{block name="user_account_confirmpwd"}]
|
||||
<label class="col-lg-3 req" for="userPasswordConfirm">[{oxmultilang ident="CONFIRM_PASSWORD"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input id="userPasswordConfirm" class="form-control textbox js-oxValidate js-oxValidate_notEmpty js-oxValidate_length js-oxValidate_match" type="password" name="lgn_pwd2" value="[{$lgn_pwd2}]" required="required" autocomplete="new-password">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
[{block name="user_account_newsletter"}]
|
||||
<div class="form-group row">
|
||||
<div class="col-lg-9 offset-lg-3">
|
||||
<input type="hidden" name="blnewssubscribed" value="0">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" name="blnewssubscribed" value="1" [{if $oView->isNewsSubscribed()}]checked[{/if}]> [{oxmultilang ident="NEWSLETTER_SUBSCRIPTION"}]
|
||||
</label>
|
||||
</div>
|
||||
<span class="help-block">[{oxmultilang ident="MESSAGE_NEWSLETTER_SUBSCRIPTION"}]</span>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
@@ -0,0 +1,235 @@
|
||||
[{assign var="invadr" value=$oView->getInvoiceAddress()}]
|
||||
[{assign var="blBirthdayRequired" value=$oView->isFieldRequired(oxuser__oxbirthdate)}]
|
||||
|
||||
[{if isset( $invadr.oxuser__oxbirthdate.month )}]
|
||||
[{assign var="iBirthdayMonth" value=$invadr.oxuser__oxbirthdate.month}]
|
||||
[{elseif $oxcmp_user->oxuser__oxbirthdate->value && $oxcmp_user->oxuser__oxbirthdate->value != "0000-00-00"}]
|
||||
[{assign var="iBirthdayMonth" value=$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:"/^([0-9]{4})[-]/":""|regex_replace:"/[-]([0-9]{1,2})$/":""}]
|
||||
[{else}]
|
||||
[{assign var="iBirthdayMonth" value=0}]
|
||||
[{/if}]
|
||||
|
||||
[{if isset( $invadr.oxuser__oxbirthdate.day )}]
|
||||
[{assign var="iBirthdayDay" value=$invadr.oxuser__oxbirthdate.day}]
|
||||
[{elseif $oxcmp_user->oxuser__oxbirthdate->value && $oxcmp_user->oxuser__oxbirthdate->value != "0000-00-00"}]
|
||||
[{assign var="iBirthdayDay" value=$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:"/^([0-9]{4})[-]([0-9]{1,2})[-]/":""}]
|
||||
[{else}]
|
||||
[{assign var="iBirthdayDay" value=0}]
|
||||
[{/if}]
|
||||
|
||||
[{if isset( $invadr.oxuser__oxbirthdate.year )}]
|
||||
[{assign var="iBirthdayYear" value=$invadr.oxuser__oxbirthdate.year}]
|
||||
[{elseif $oxcmp_user->oxuser__oxbirthdate->value && $oxcmp_user->oxuser__oxbirthdate->value != "0000-00-00"}]
|
||||
[{assign var="iBirthdayYear" value=$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:"/[-]([0-9]{1,2})[-]([0-9]{1,2})$/":""}]
|
||||
[{else}]
|
||||
[{assign var="iBirthdayYear" value=0}]
|
||||
[{/if}]
|
||||
[{if isset( $invadr.oxuser__oxsal )}]
|
||||
[{assign var="oxuser__oxsal" value=$invadr.oxuser__oxsal}]
|
||||
[{else}]
|
||||
[{assign var="oxuser__oxsal" value=$oxcmp_user->oxuser__oxsal->value}]
|
||||
[{/if}]
|
||||
<div class="form-group row">
|
||||
[{assign var="salutationRequired" value=$oView->isFieldRequired(oxuser__oxsal)}]
|
||||
<label class="col-lg-3[{if $salutationRequired}] req[{/if}]" for="invadr_oxuser__oxsal">[{oxmultilang ident="TITLE"}]</label>
|
||||
<div class="col-lg-9">
|
||||
[{include file="form/fieldset/salutation.tpl" name="invadr[oxuser__oxsal]" value=$oxuser__oxsal class="form-control" id="invadr_oxuser__oxsal" required=$salutationRequired}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxfname}] text-danger[{/if}]">
|
||||
<label class="col-lg-3[{if $oView->isFieldRequired(oxuser__oxfname)}] req[{/if}]" for="invadr_oxuser__oxfname">[{oxmultilang ident="FIRST_NAME"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="text" maxlength="255" name="invadr[oxuser__oxfname]" id="invadr_oxuser__oxfname" autocomplete="billing given-name" value="[{if isset( $invadr.oxuser__oxfname )}][{$invadr.oxuser__oxfname}][{else}][{$oxcmp_user->oxuser__oxfname->value}][{/if}]"[{if $oView->isFieldRequired(oxuser__oxfname)}] required=""[{/if}]>
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxfname}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxlname}] text-danger[{/if}]">
|
||||
<label class="col-lg-3[{if $oView->isFieldRequired(oxuser__oxlname)}] req[{/if}]" for="invadr_oxuser__oxlname">[{oxmultilang ident="LAST_NAME"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="text" maxlength="255" name="invadr[oxuser__oxlname]" id="invadr_oxuser__oxlname" autocomplete="billing family-name" value="[{if isset( $invadr.oxuser__oxlname )}][{$invadr.oxuser__oxlname}][{else}][{$oxcmp_user->oxuser__oxlname->value}][{/if}]"[{if $oView->isFieldRequired(oxuser__oxlname)}] required=""[{/if}]>
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxlname}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxcompany}] text-danger[{/if}]">
|
||||
<label class="col-lg-3[{if $oView->isFieldRequired(oxuser__oxcompany)}] req[{/if}]" for="invadr_oxuser__oxcompany">[{oxmultilang ident="COMPANY"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="text" maxlength="255" name="invadr[oxuser__oxcompany]" id="invadr_oxuser__oxcompany" autocomplete="billing organization" value="[{if isset( $invadr.oxuser__oxcompany )}][{$invadr.oxuser__oxcompany}][{else}][{$oxcmp_user->oxuser__oxcompany->value}][{/if}]"[{if $oView->isFieldRequired(oxuser__oxcompany)}] required=""[{/if}]>
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxcompany}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxaddinfo}] text-danger[{/if}]">
|
||||
[{assign var="_address_addinfo_tooltip" value="FORM_FIELDSET_USER_BILLING_ADDITIONALINFO_TOOLTIP"|oxmultilangassign}]
|
||||
<label [{if $_address_addinfo_tooltip}]title="[{$_address_addinfo_tooltip}]"[{/if}] class="col-lg-3[{if $oView->isFieldRequired(oxuser__oxaddinfo)}] req[{/if}][{if $_address_addinfo_tooltip}] tooltip[{/if}]" for="invadr_oxuser__oxaddinfo">[{oxmultilang ident="ADDITIONAL_INFO"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="text" maxlength="255" name="invadr[oxuser__oxaddinfo]" id="invadr_oxuser__oxaddinfo" value="[{if isset( $invadr.oxuser__oxaddinfo )}][{$invadr.oxuser__oxaddinfo}][{else}][{$oxcmp_user->oxuser__oxaddinfo->value}][{/if}]"[{if $oView->isFieldRequired(oxuser__oxaddinfo)}] required=""[{/if}]>
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxaddinfo}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxstreet}] text-danger[{/if}]">
|
||||
<label class="col-12 col-lg-3[{if $oView->isFieldRequired(oxuser__oxstreet) || $oView->isFieldRequired(oxuser__oxstreetnr)}] req[{/if}]" for="invadr_oxuser__oxstreet">[{oxmultilang ident="STREET_AND_STREETNO"}]</label>
|
||||
<div class="col-8 col-lg-6">
|
||||
<input class="form-control" type="text" maxlength="255" name="invadr[oxuser__oxstreet]" id="invadr_oxuser__oxstreet" autocomplete="billing street-address" value="[{if isset( $invadr.oxuser__oxstreet )}][{$invadr.oxuser__oxstreet}][{else}][{$oxcmp_user->oxuser__oxstreet->value}][{/if}]"[{if $oView->isFieldRequired(oxuser__oxstreet)}] required=""[{/if}]>
|
||||
</div>
|
||||
<div class="col-4 col-lg-3">
|
||||
<input class="form-control" type="text" maxlength="16" name="invadr[oxuser__oxstreetnr]" id="invadr_oxuser__oxstreetnr" value="[{if isset( $invadr.oxuser__oxstreetnr )}][{$invadr.oxuser__oxstreetnr}][{else}][{$oxcmp_user->oxuser__oxstreetnr->value}][{/if}]"[{if $oView->isFieldRequired(oxuser__oxstreetnr)}] required=""[{/if}]>
|
||||
</div>
|
||||
<div class="offset-lg-3 col-lg-9 col-12">
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxstreet}]
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxstreetnr}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxzip}] text-danger[{/if}]">
|
||||
<label class="col-12 col-lg-3[{if $oView->isFieldRequired(oxuser__oxzip) || $oView->isFieldRequired(oxuser__oxcity)}] req[{/if}]" for="invadr_oxuser__oxzip">[{oxmultilang ident="POSTAL_CODE_AND_CITY"}]</label>
|
||||
<div class="col-5 col-lg-3">
|
||||
<input class="form-control" type="text" maxlength="16" name="invadr[oxuser__oxzip]" id="invadr_oxuser__oxzip" autocomplete="billing postal-code" value="[{if isset( $invadr.oxuser__oxzip )}][{$invadr.oxuser__oxzip}][{else}][{$oxcmp_user->oxuser__oxzip->value}][{/if}]"[{if $oView->isFieldRequired(oxuser__oxzip)}] required=""[{/if}]>
|
||||
</div>
|
||||
<div class="col-7 col-lg-6">
|
||||
<input class="form-control" type="text" maxlength="255" name="invadr[oxuser__oxcity]" id="invadr_oxuser__oxcity" autocomplete="billing locality" value="[{if isset( $invadr.oxuser__oxcity )}][{$invadr.oxuser__oxcity}][{else}][{$oxcmp_user->oxuser__oxcity->value}][{/if}]"[{if $oView->isFieldRequired(oxuser__oxcity)}] required=""[{/if}]>
|
||||
</div>
|
||||
<div class="offset-lg-3 col-md-9 col-12">
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxzip}]
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxcity}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxustid}] text-danger[{/if}]">
|
||||
<label class="col-lg-3[{if $oView->isFieldRequired(oxuser__oxustid)}] req[{/if}]" for="invadr_oxuser__oxustid">[{oxmultilang ident="VAT_ID_NUMBER"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="text" maxlength="255" name="invadr[oxuser__oxustid]" id="invadr_oxuser__oxustid" value="[{if isset( $invadr.oxuser__oxustid )}][{$invadr.oxuser__oxustid}][{else}][{$oxcmp_user->oxuser__oxustid->value}][{/if}]"[{if $oView->isFieldRequired(oxuser__oxustid)}] required=""[{/if}]>
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxustid}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{block name="form_user_billing_country"}]
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxcountryid}] text-danger[{/if}]">
|
||||
<label class="col-lg-3[{if $oView->isFieldRequired(oxuser__oxcountryid)}] req[{/if}]" for="invCountrySelect">[{oxmultilang ident="COUNTRY"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<select class="form-control" id="invCountrySelect" name="invadr[oxuser__oxcountryid]"[{if $oView->isFieldRequired(oxuser__oxcountryid)}] required=""[{/if}] autocomplete="billing country">
|
||||
<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>
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxcountryid}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-lg-3" for="[{$oxcmp_user->oxuser__oxstateid->value}]">[{oxmultilang ident="DD_USER_LABEL_STATE" suffix="COLON"}]</label>
|
||||
<div class="col-lg-9">
|
||||
[{include file="form/fieldset/state.tpl"
|
||||
countrySelectId="invCountrySelect"
|
||||
stateSelectName="invadr[oxuser__oxstateid]"
|
||||
selectedStateIdPrim=$invadr.oxuser__oxstateid
|
||||
selectedStateId=$oxcmp_user->oxuser__oxstateid->value
|
||||
class="form-control"
|
||||
id="invadr_oxuser__oxstateid"
|
||||
}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxfon}] text-danger"[{/if}]">
|
||||
<label class="col-lg-3[{if $oView->isFieldRequired(oxuser__oxfon)}] req[{/if}]" for="invadr_oxuser__oxfon">[{oxmultilang ident="PHONE"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="text" maxlength="128" name="invadr[oxuser__oxfon]" id="invadr_oxuser__oxfon" value="[{if isset( $invadr.oxuser__oxfon )}][{$invadr.oxuser__oxfon}][{else}][{$oxcmp_user->oxuser__oxfon->value}][{/if}]"[{if $oView->isFieldRequired(oxuser__oxfon)}] required=""[{/if}] autocomplete="billing tel">
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxfon}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxfax}] text-danger[{/if}]">
|
||||
<label class="col-lg-3[{if $oView->isFieldRequired(oxuser__oxfax)}] req[{/if}]" for="invadr_oxuser__oxfax">[{oxmultilang ident="FAX"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="text" maxlength="128" name="invadr[oxuser__oxfax]" id="invadr_oxuser__oxfax" value="[{if isset( $invadr.oxuser__oxfax )}][{$invadr.oxuser__oxfax}][{else}][{$oxcmp_user->oxuser__oxfax->value}][{/if}]"[{if $oView->isFieldRequired(oxuser__oxfax)}] required=""[{/if}]>
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxfax}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxmobfon}] text-danger[{/if}]">
|
||||
<label class="col-lg-3[{if $oView->isFieldRequired(oxuser__oxmobfon)}] req[{/if}]" for="invadr_oxuser__oxmobfon">[{oxmultilang ident="CELLUAR_PHONE"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="text" maxlength="64" name="invadr[oxuser__oxmobfon]" id="invadr_oxuser__oxmobfon" value="[{if isset( $invadr.oxuser__oxmobfon )}][{$invadr.oxuser__oxmobfon}][{else}][{$oxcmp_user->oxuser__oxmobfon->value}][{/if}]"[{if $oView->isFieldRequired(oxuser__oxmobfon)}] required=""[{/if}]>
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxmobfon}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxprivfon}] text-danger[{/if}]">
|
||||
<label class="col-lg-3[{if $oView->isFieldRequired(oxuser__oxprivfon)}] req[{/if}]" for="invadr_oxuser__oxprivfon">[{oxmultilang ident="PERSONAL_PHONE"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="text" maxlength="64" name="invadr[oxuser__oxprivfon]" id="invadr_oxuser__oxprivfon" value="[{if isset( $invadr.oxuser__oxprivfon )}][{$invadr.oxuser__oxprivfon}][{else}][{$oxcmp_user->oxuser__oxprivfon->value}][{/if}]"[{if $oView->isFieldRequired(oxuser__oxprivfon)}] required=""[{/if}]>
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxprivfon}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{block name="form_user_billing_birthdate"}]
|
||||
[{if $oViewConf->showBirthdayFields()}]
|
||||
<div class="form-group row oxDate[{if $aErrors.oxuser__oxbirthdate}] text-danger[{/if}]">
|
||||
<label class="col-12 col-lg-3[{if $oView->isFieldRequired(oxuser__oxbirthdate)}] req[{/if}]" for="oxDay">[{oxmultilang ident="BIRTHDATE"}]</label>
|
||||
<div class="col-3 col-lg-3">
|
||||
<input id="oxDay" class="oxDay form-control" name="invadr[oxuser__oxbirthdate][day]" type="text" maxlength="2" value="[{if $iBirthdayDay > 0}][{$iBirthdayDay}][{/if}]" placeholder="[{oxmultilang ident="DAY"}]"[{if $oView->isFieldRequired(oxuser__oxbirthdate)}] required=""[{/if}] autocomplete="bday-day">
|
||||
</div>
|
||||
<div class="col-6 col-lg-3">
|
||||
<select class="oxMonth form-control" name="invadr[oxuser__oxbirthdate][month]"[{if $oView->isFieldRequired(oxuser__oxbirthdate)}] required=""[{/if}] autocomplete="bday-month">
|
||||
<option value="" label="-">-</option>
|
||||
[{section name="month" start=1 loop=13}]
|
||||
<option value="[{$smarty.section.month.index}]" label="[{$smarty.section.month.index}]" [{if $iBirthdayMonth == $smarty.section.month.index}] selected="selected" [{/if}]>
|
||||
[{oxmultilang ident="MONTH_NAME_"|cat:$smarty.section.month.index}]
|
||||
</option>
|
||||
[{/section}]
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-3 col-lg-3">
|
||||
<input id="oxYear" class="oxYear form-control" name="invadr[oxuser__oxbirthdate][year]" type="text" maxlength="4" value="[{if $iBirthdayYear}][{$iBirthdayYear}][{/if}]" placeholder="[{oxmultilang ident="YEAR"}]"[{if $oView->isFieldRequired(oxuser__oxbirthdate)}] required=""[{/if}] autocomplete="bday-year">
|
||||
</div>
|
||||
<div class="offset-lg-3 col-lg-9 col-12">
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxbirthdate}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="captcha_form"}]
|
||||
[{/block}]
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="offset-lg-3 col-lg-9 col-12">
|
||||
<p class="alert alert-info">[{oxmultilang ident="COMPLETE_MARKED_FIELDS"}]</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{if !$noFormSubmit}]
|
||||
<div class="form-group row">
|
||||
<div class="offset-lg-3 col-lg-9 col-12">
|
||||
<button id="accUserSaveTop" type="submit" name="save" class="btn btn-primary">[{oxmultilang ident="SAVE"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
@@ -0,0 +1,19 @@
|
||||
<div class="form-group[{if $aErrors.oxuser__oxusername}] oxInValid[{/if}]">
|
||||
<label class="req control-label col-lg-3">[{oxmultilang ident="EMAIL_ADDRESS"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="js-oxValidate js-oxValidate_notEmpty js-oxValidate_email oxValidate_enterPass oxValidate_enterPassTarget[oxValidate_pwd] form-control" type="text" name="invadr[oxuser__oxusername]" value="[{if isset( $invadr.oxuser__oxusername )}][{$invadr.oxuser__oxusername}][{else}][{$oxcmp_user->oxuser__oxusername->value}][{/if}]" size="37" autocomplete="username">
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxusername}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{if $oxcmp_user->oxuser__oxpassword->value}]
|
||||
<div class="oxValidate_pwd form-group[{if $aErrors.oxuser__oxpassword}] oxInValid[{/if}]" [{if !$aErrors.oxuser__oxpassword}]style="display:none;"[{/if}]>
|
||||
<label class="req control-label col-lg-3">[{oxmultilang ident="PASSWORD"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="js-oxValidate js-oxValidate_notEmpty form-control" type="password" size="37" name="user_password" autocomplete="new-password">
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxpassword}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
@@ -0,0 +1,24 @@
|
||||
<div class="form-group [{if $aErrors.oxuser__oxusername}]oxInValid[{/if}]">
|
||||
[{block name="user_noaccount_email"}]
|
||||
<label class="control-label col-lg-3 req" for="userLoginName">[{oxmultilang ident="EMAIL_ADDRESS"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input id="userLoginName" class="form-control js-oxValidate js-oxValidate_notEmpty js-oxValidate_email" type="email" name="lgn_usr" value="[{$oView->getActiveUsername()}]">
|
||||
<div class="help-block">
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxusername}]
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="form-group">
|
||||
[{block name="user_noaccount_newsletter"}]
|
||||
<div class="col-lg-9 offset-lg-3">
|
||||
<input type="hidden" name="blnewssubscribed" value="0">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" name="blnewssubscribed" value="1" [{if $oView->isNewsSubscribed()}]checked[{/if}]> [{oxmultilang ident="NEWSLETTER_SUBSCRIPTION"}]
|
||||
</label>
|
||||
</div>
|
||||
<span class="help-block">[{oxmultilang ident="MESSAGE_NEWSLETTER_SUBSCRIPTION"}]</span>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
@@ -0,0 +1,234 @@
|
||||
[{if $oxcmp_user}]
|
||||
[{assign var="delivadr" value=$oxcmp_user->getSelectedAddress()}]
|
||||
[{/if}]
|
||||
|
||||
[{if !$deladr}]
|
||||
[{assign var="oConfig" value=$oView->getConfig()}]
|
||||
[{assign var="deladr" value=$oConfig->getRequestParameter('deladr')}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oxcmp_user}]
|
||||
[{assign var="aUserAddresses" value=$oxcmp_user->getUserAddresses()}]
|
||||
|
||||
[{if $aUserAddresses|@count > 0}]
|
||||
[{if $onChangeClass == 'user'}]
|
||||
<div class="col-lg-9 offset-lg-3">
|
||||
[{/if}]
|
||||
|
||||
<input type="hidden" class="hidden" name="changeClass" value="[{$onChangeClass|default:'account_user'}]">
|
||||
|
||||
[{oxscript include="js/widgets/oxusershipingaddressselect.min.js" priority=10}]
|
||||
[{oxscript include="js/widgets/oxequalizer.min.js" priority=10}]
|
||||
[{oxscript add="$( '.dd-add-delivery-address' ).click( function() { $('.dd-available-addresses .dd-action').remove(); $( this ).find( 'label.btn' ).button('toggle'); } );"}]
|
||||
[{oxscript add="$( 'input[name=\"oxaddressid\"]' ).oxUserShipingAddressSelect();"}]
|
||||
[{oxscript add="$( window ).load( function() { if( !isMobileDevice() ) { oxEqualizer.equalHeight( $( '.dd-available-addresses .panel .card-body' ) ); } } );"}]
|
||||
[{oxscript add="$( '.dd-edit-shipping-address' ).click(function(){ $( '#shippingAddressForm' ).show(); $( 'html, body' ).animate( { scrollTop: $( '#shippingAddressForm' ).offset().top - 80 }, 600 ); } );"}]
|
||||
|
||||
[{block name="form_user_shipping_address_select"}]
|
||||
<div class="row dd-available-addresses" data-toggle="buttons">
|
||||
[{foreach from=$aUserAddresses item=address name="shippingAdresses"}]
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
[{block name="form_user_shipping_address_actions"}]
|
||||
[{if $address->isSelected()}]
|
||||
[{block name="form_user_shipping_address_edit_action"}]
|
||||
<button class="btn btn-warning btn-sm hasTooltip float-right dd-action dd-edit-shipping-address edit-button"
|
||||
title="[{oxmultilang ident="CHANGE"}]">
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
</button>
|
||||
[{/block}]
|
||||
[{block name="form_user_shipping_address_delete_action"}]
|
||||
<button class="btn btn-danger btn-sm hasTooltip float-right dd-action dd-delete-shipping-address edit-button"
|
||||
title="[{oxmultilang ident="DD_DELETE"}]"
|
||||
data-toggle="modal"
|
||||
data-target="#delete_shipping_address_[{$smarty.foreach.shippingAdresses.iteration}]">
|
||||
<i class="fa fa-trash"></i>
|
||||
</button>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{include file="widget/address/shipping_address.tpl" delivadr=$address}]
|
||||
</div>
|
||||
<div class="card-footer" >
|
||||
<label class="btn btn-outline-dark btn-block[{if $address->isSelected()}] active[{/if}]">
|
||||
<input type="radio" name="oxaddressid" value="[{$address->oxaddress__oxid->value}]" class="hidden" autocomplete="off" [{if $address->isSelected()}]checked[{/if}]><i class="fa fa-check"></i> [{oxmultilang ident="DD_USER_SHIPPING_SELECT_ADDRESS"}]
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<div class="card dd-add-delivery-address">
|
||||
<div class="card-body text-center">
|
||||
<i class="fa fa-plus-circle"></i><br/>
|
||||
[{oxmultilang ident="DD_USER_SHIPPING_ADD_DELIVERY_ADDRESS"}]
|
||||
</div>
|
||||
<div class="card-footer" >
|
||||
<label class="btn btn-outline-dark btn-block">
|
||||
<input type="radio" name="oxaddressid" value="-1" class="hidden" autocomplete="off"><i class="fa fa-check"></i> [{oxmultilang ident="DD_USER_SHIPPING_SELECT_ADDRESS"}]
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{if $onChangeClass == 'user'}]
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
<div class="clearfix"></div>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
<div id="shippingAddressForm" [{if $delivadr}]style="display: none;"[{/if}]>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3[{if $oView->isFieldRequired(oxaddress__oxsal)}] req[{/if}]" for="deladr_oxaddress__oxsal">[{oxmultilang ident="TITLE"}]</label>
|
||||
<div class="col-lg-2">
|
||||
[{include file="form/fieldset/salutation.tpl" name="deladr[oxaddress__oxsal]" value=$delivadr->oxaddress__oxsal->value value2=$deladr.oxaddress__oxsal class="form-control" id="deladr_oxaddress__oxsal"}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors.oxaddress__oxfname}] oxInValid[{/if}]">
|
||||
<label class="control-label col-lg-3[{if $oView->isFieldRequired(oxaddress__oxfname)}] req[{/if}]" for="deladr_oxaddress__oxfname">[{oxmultilang ident="FIRST_NAME"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control[{if $oView->isFieldRequired(oxaddress__oxfname)}] js-oxValidate js-oxValidate_notEmpty[{/if}]" type="text" maxlength="255" name="deladr[oxaddress__oxfname]" id="deladr_oxaddress__oxfname" autocomplete="shipping given-name" value="[{if isset( $deladr.oxaddress__oxfname )}][{$deladr.oxaddress__oxfname}][{else}][{$delivadr->oxaddress__oxfname->value}][{/if}]"[{if $oView->isFieldRequired(oxaddress__oxfname)}] required=""[{/if}]>
|
||||
[{if $oView->isFieldRequired(oxaddress__oxfname)}]
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxaddress__oxfname}]
|
||||
<div class="help-block"></div>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors.oxaddress__oxlname}] oxInValid[{/if}]">
|
||||
<label class="control-label col-lg-3[{if $oView->isFieldRequired(oxaddress__oxlname)}] req[{/if}]" for="deladr_oxaddress__oxlname">[{oxmultilang ident="LAST_NAME"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control[{if $oView->isFieldRequired(oxaddress__oxlname)}] js-oxValidate js-oxValidate_notEmpty[{/if}]" type="text" maxlength="255" name="deladr[oxaddress__oxlname]" id="deladr_oxaddress__oxlname" autocomplete="shipping family-name" value="[{if isset( $deladr.oxaddress__oxlname )}][{$deladr.oxaddress__oxlname}][{else}][{$delivadr->oxaddress__oxlname->value}][{/if}]"[{if $oView->isFieldRequired(oxaddress__oxlname)}] required=""[{/if}]>
|
||||
[{if $oView->isFieldRequired(oxaddress__oxlname)}]
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxaddress__oxlname}]
|
||||
<div class="help-block"></div>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors.oxaddress__oxcompany}] oxInValid[{/if}]">
|
||||
<label class="control-label col-lg-3[{if $oView->isFieldRequired(oxaddress__oxcompany)}] req[{/if}]" for="deladr_oxaddress__oxcompany">[{oxmultilang ident="COMPANY"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control[{if $oView->isFieldRequired(oxaddress__oxcompany)}] js-oxValidate js-oxValidate_notEmpty[{/if}]" type="text" size="37" maxlength="255" name="deladr[oxaddress__oxcompany]" id="deladr_oxaddress__oxcompany" autocomplete="shipping organization" value="[{if isset( $deladr.oxaddress__oxcompany )}][{$deladr.oxaddress__oxcompany}][{else}][{$delivadr->oxaddress__oxcompany->value}][{/if}]"[{if $oView->isFieldRequired(oxaddress__oxcompany)}] required=""[{/if}]>
|
||||
[{if $oView->isFieldRequired(oxaddress__oxcompany)}]
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxaddress__oxcompany}]
|
||||
[{/if}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors.oxaddress__oxaddinfo}] oxInValid[{/if}]">
|
||||
[{assign var="_address_addinfo_tooltip" value="FORM_FIELDSET_USER_SHIPPING_ADDITIONALINFO2_TOOLTIP"|oxmultilangassign}]
|
||||
<label [{if $_address_addinfo_tooltip}]title="[{$_address_addinfo_tooltip}]"[{/if}] class="control-label col-lg-3[{if $oView->isFieldRequired(oxaddress__oxaddinfo)}] req[{/if}][{if $_address_addinfo_tooltip}] tooltip[{/if}]" for="deladr_oxaddress__oxaddinfo">[{oxmultilang ident="ADDITIONAL_INFO"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control[{if $oView->isFieldRequired(oxaddress__oxaddinfo)}] js-oxValidate js-oxValidate_notEmpty[{/if}]" type="text" size="37" maxlength="255" name="deladr[oxaddress__oxaddinfo]" id="deladr_oxaddress__oxaddinfo" value="[{if isset( $deladr.oxaddress__oxaddinfo )}][{$deladr.oxaddress__oxaddinfo}][{else}][{$delivadr->oxaddress__oxaddinfo->value}][{/if}]"[{if $oView->isFieldRequired(oxaddress__oxaddinfo)}] required=""[{/if}]>
|
||||
[{if $oView->isFieldRequired(oxaddress__oxaddinfo)}]
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxaddress__oxaddinfo}]
|
||||
[{/if}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors.oxaddress__oxstreet}] oxInValid[{/if}]">
|
||||
<label class="control-label col-12 col-lg-3[{if $oView->isFieldRequired(oxaddress__oxstreet) || $oView->isFieldRequired(oxaddress__oxstreetnr)}] req[{/if}]" for="deladr_oxaddress__oxstreet">[{oxmultilang ident="STREET_AND_STREETNO"}]</label>
|
||||
<div class="col-8 col-lg-6">
|
||||
<input class="form-control[{if $oView->isFieldRequired(oxaddress__oxstreet)}] js-oxValidate js-oxValidate_notEmpty[{/if}]" type="text" data-fieldsize="pair-xsmall" maxlength="255" name="deladr[oxaddress__oxstreet]" autocomplete="shipping street-address" id="deladr_oxaddress__oxstreet" value="[{if isset( $deladr.oxaddress__oxstreet )}][{$deladr.oxaddress__oxstreet}][{else}][{$delivadr->oxaddress__oxstreet->value}][{/if}]"[{if $oView->isFieldRequired(oxaddress__oxstreet)}] required=""[{/if}]>
|
||||
</div>
|
||||
<div class="col-4 col-lg-3">
|
||||
<input class="form-control[{if $oView->isFieldRequired(oxaddress__oxstreetnr)}] js-oxValidate js-oxValidate_notEmpty[{/if}]" type="text" data-fieldsize="xsmall" maxlength="16" name="deladr[oxaddress__oxstreetnr]" id="deladr_oxaddress__oxstreetnr" value="[{if isset( $deladr.oxaddress__oxstreetnr )}][{$deladr.oxaddress__oxstreetnr}][{else}][{$delivadr->oxaddress__oxstreetnr->value}][{/if}]"[{if $oView->isFieldRequired(oxaddress__oxstreetnr)}] required=""[{/if}]>
|
||||
</div>
|
||||
<div class="col-12 col-lg-9 ml-lg-auto">
|
||||
[{if $oView->isFieldRequired(oxaddress__oxstreet) || $oView->isFieldRequired(oxaddress__oxstreetnr)}]
|
||||
<div class="help-block"></div>
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxaddress__oxstreet}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors.oxaddress__oxzip || $aErrors.oxaddress__oxcity}] oxInValid[{/if}]">
|
||||
<label class="control-label col-12 col-lg-3[{if $oView->isFieldRequired(oxaddress__oxzip) || $oView->isFieldRequired(oxaddress__oxcity)}] req[{/if}]" for="deladr_oxaddress__oxzip">[{oxmultilang ident="POSTAL_CODE_AND_CITY"}]</label>
|
||||
<div class="col-5 col-lg-3">
|
||||
<input class="form-control[{if $oView->isFieldRequired(oxaddress__oxzip)}] js-oxValidate js-oxValidate_notEmpty[{/if}]" type="text" data-fieldsize="small" maxlength="50" name="deladr[oxaddress__oxzip]" id="deladr_oxaddress__oxzip" autocomplete="shipping postal-code" value="[{if isset( $deladr.oxaddress__oxzip )}][{$deladr.oxaddress__oxzip}][{else}][{$delivadr->oxaddress__oxzip->value}][{/if}]"[{if $oView->isFieldRequired(oxaddress__oxzip)}] required=""[{/if}]>
|
||||
</div>
|
||||
<div class="col-7 col-lg-6">
|
||||
<input class="form-control[{if $oView->isFieldRequired(oxaddress__oxcity)}] js-oxValidate js-oxValidate_notEmpty[{/if}]" type="text" data-fieldsize="pair-small" maxlength="255" name="deladr[oxaddress__oxcity]" id="deladr_oxaddress__oxcity" autocomplete="shipping locality" value="[{if isset( $deladr.oxaddress__oxcity )}][{$deladr.oxaddress__oxcity}][{else}][{$delivadr->oxaddress__oxcity->value}][{/if}]"[{if $oView->isFieldRequired(oxaddress__oxcity)}] required=""[{/if}]>
|
||||
</div>
|
||||
<div class="col-12 col-md-9 ml-md-auto">
|
||||
[{if $oView->isFieldRequired(oxaddress__oxzip) || $oView->isFieldRequired(oxaddress__oxcity)}]
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxaddress__oxzip}]
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxaddress__oxcity}]
|
||||
<div class="help-block"></div>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{block name="form_user_shipping_country"}]
|
||||
<div class="form-group[{if $aErrors.oxaddress__oxcountryid}] oxInValid[{/if}]">
|
||||
<label class="control-label col-lg-3[{if $oView->isFieldRequired(oxaddress__oxcountryid)}] req[{/if}]" for="delCountrySelect">[{oxmultilang ident="COUNTRY"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<select class="form-control[{if $oView->isFieldRequired(oxaddress__oxcountryid)}] js-oxValidate js-oxValidate_notEmpty[{/if}]" id="delCountrySelect" name="deladr[oxaddress__oxcountryid]"[{if $oView->isFieldRequired(oxaddress__oxcountryid)}] required=""[{/if}] autocomplete="shipping country">
|
||||
<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($deladr.oxaddress__oxcountryid) && $deladr.oxaddress__oxcountryid == $country->oxcountry__oxid->value) ||
|
||||
(!isset($deladr.oxaddress__oxcountryid) && ($delivadr->oxaddress__oxcountry->value == $country->oxcountry__oxtitle->value or
|
||||
$delivadr->oxaddress__oxcountry->value == $country->oxcountry__oxid->value or
|
||||
$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)}]
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxaddress__oxcountryid}]
|
||||
<div class="help-block"></div>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3" for="[{$countrySelectId}]">[{oxmultilang ident="DD_USER_LABEL_STATE" suffix="COLON"}]</label>
|
||||
<div class="col-lg-9">
|
||||
[{include file="form/fieldset/state.tpl"
|
||||
countrySelectId="delCountrySelect"
|
||||
stateSelectName="deladr[oxaddress__oxstateid]"
|
||||
selectedStateIdPrim=$deladr.oxaddress__oxstateid
|
||||
selectedStateId=$delivadr->oxaddress__oxstateid->value
|
||||
class="form-control"}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
<div class="form-group[{if $aErrors.oxaddress__oxfon}] oxInValid[{/if}]">
|
||||
<label class="control-label col-lg-3[{if $oView->isFieldRequired(oxaddress__oxfon)}] req[{/if}]" for="deladr_oxaddress__oxfon">[{oxmultilang ident="PHONE"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control[{if $oView->isFieldRequired(oxaddress__oxfon)}] js-oxValidate js-oxValidate_notEmpty[{/if}]" type="text" size="37" maxlength="128" name="deladr[oxaddress__oxfon]" id="deladr_oxaddress__oxfon" autocomplete="shipping tel" value="[{if isset( $deladr.oxaddress__oxfon )}][{$deladr.oxaddress__oxfon}][{else}][{$delivadr->oxaddress__oxfon->value}][{/if}]"[{if $oView->isFieldRequired(oxaddress__oxfon)}] required=""[{/if}]>
|
||||
[{if $oView->isFieldRequired(oxaddress__oxfon)}]
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxaddress__oxfon}]
|
||||
[{/if}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors.oxaddress__oxfax}] oxInValid[{/if}]">
|
||||
<label class="control-label col-lg-3[{if $oView->isFieldRequired(oxaddress__oxfax)}] req[{/if}]" for="deladr_oxaddress__oxfax">[{oxmultilang ident="FAX"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control[{if $oView->isFieldRequired(oxaddress__oxfax)}] js-oxValidate js-oxValidate_notEmpty[{/if}]" type="text" size="37" maxlength="128" name="deladr[oxaddress__oxfax]" id="deladr_oxaddress__oxfax" value="[{if isset( $deladr.oxaddress__oxfax )}][{$deladr.oxaddress__oxfax}][{else}][{$delivadr->oxaddress__oxfax->value}][{/if}]"[{if $oView->isFieldRequired(oxaddress__oxfax)}] required=""[{/if}]>
|
||||
[{if $oView->isFieldRequired(oxaddress__oxfax)}]
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxaddress__oxfax}]
|
||||
[{/if}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{if !$noFormSubmit}]
|
||||
<div class="form-group">
|
||||
<div class="col-12 col-lg-9 ml-lg-auto">
|
||||
<p class="alert alert-info">[{oxmultilang ident="COMPLETE_MARKED_FIELDS"}]</p>
|
||||
<button id="accUserSaveBottom" type="submit" class="submitButton" name="save">[{oxmultilang ident="SAVE"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
@@ -0,0 +1,35 @@
|
||||
[{oxscript add="$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"}]
|
||||
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" name="forgotpwd" method="post" role="form" novalidate="novalidate">
|
||||
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="fnc" value="updatePassword">
|
||||
<input type="hidden" name="uid" value="[{$oView->getUpdateId()}]">
|
||||
<input type="hidden" name="cl" value="forgotpwd">
|
||||
<input type="hidden" id="passwordLength" value="[{$oViewConf->getPasswordLength()}]">
|
||||
</div>
|
||||
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxpassword}] oxInValid[{/if}]">
|
||||
[{block name="user_account_password"}]
|
||||
<label class="col-sm-3">[{oxmultilang ident="NEW_PASSWORD"}]</label>
|
||||
<div class="col-md-9">
|
||||
<input type="password" name="password_new" class="form-control js-oxValidate js-oxValidate_notEmpty js-oxValidate_length js-oxValidate_match textbox" autocomplete="new-password">
|
||||
</div>
|
||||
<p class="help-block"></p>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="form-group row[{if $aErrors.oxuser__oxpassword}] oxInValid[{/if}]">
|
||||
<label class="col-md-3">[{oxmultilang ident="CONFIRM_PASSWORD"}]</label>
|
||||
<div class="col-md-9">
|
||||
<input type="password" name="password_new_confirm" class="form-control js-oxValidate js-oxValidate_notEmpty js-oxValidate_length js-oxValidate_match textbox" autocomplete="new-password">
|
||||
</div>
|
||||
<p class="help-block"></p>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-md-9 offset-md-3">
|
||||
<button class="btn btn-primary submitButton" type="submit" name="save" value="[{oxmultilang ident="CHANGE_PASSWORD"}]">[{oxmultilang ident="CHANGE_PASSWORD"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -0,0 +1,39 @@
|
||||
[{oxscript add="$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"}]
|
||||
|
||||
<p>
|
||||
[{oxmultilang ident="HAVE_YOU_FORGOTTEN_PASSWORD"}]<br>
|
||||
[{oxmultilang ident="HERE_YOU_SET_UP_NEW_PASSWORD"}]
|
||||
</p>
|
||||
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" name="forgotpwd" method="post" novalidate="novalidate">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="fnc" value="forgotpassword">
|
||||
<input type="hidden" name="cl" value="forgotpwd">
|
||||
<input type="hidden" name="actcontrol" value="forgotpwd">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="req">[{oxmultilang ident="YOUR_EMAIL_ADDRESS"}]</label>
|
||||
|
||||
<input id="forgotPasswordUserLoginName[{$idPrefix}]" type="email" name="lgn_usr"
|
||||
value="[{$oView->getActiveUsername()}]" class="form-control" required="required">
|
||||
<p class="help-block"></p>
|
||||
</div>
|
||||
|
||||
[{block name="captcha_form"}][{/block}]
|
||||
|
||||
<div class="form-group">
|
||||
<button class="btn btn-primary submitButton" type="submit">[{oxmultilang ident="REQUEST_PASSWORD"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
[{oxmultilang ident="REQUEST_PASSWORD_AFTERCLICK"}]<br><br>
|
||||
[{oxifcontent ident="oxforgotpwd" object="oCont"}]
|
||||
[{$oCont->oxcontents__oxcontent->value}]
|
||||
[{/oxifcontent}]
|
||||
@@ -0,0 +1 @@
|
||||
<input type="hidden" name="uformid" value="[{$oView->getFormId()}]">
|
||||
39
shop/source/Application/views/wave/tpl/form/login.tpl
Normal file
39
shop/source/Application/views/wave/tpl/form/login.tpl
Normal file
@@ -0,0 +1,39 @@
|
||||
[{oxscript add="$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"}]
|
||||
<div class="card">
|
||||
<form class="js-oxValidate" id="optionLogin" name="login" action="[{$oViewConf->getSslSelfLink()}]" method="post" role="form" novalidate="novalidate">
|
||||
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">[{oxmultilang ident="ALREADY_CUSTOMER"}]</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="fnc" value="login_noredirect">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
</div>
|
||||
[{block name="checkout_options_login_text"}]
|
||||
<p>[{oxmultilang ident="LOGIN_DESCRIPTION"}]</p>
|
||||
[{/block}]
|
||||
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
|
||||
<div class="form-group [{if $aErrors}]oxInValid[{/if}]">
|
||||
<label for="lgn_usr">[{oxmultilang ident="EMAIL_ADDRESS"}]</label>
|
||||
<input type="text" id="lgn_usr" name="lgn_usr" autocomplete="username" class="form-control textbox js-oxValidate js-oxValidate_notEmpty" placeholder="[{oxmultilang ident="EMAIL_ADDRESS"}]" required="required">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
<div class="form-group [{if $aErrors}]oxInValid[{/if}]">
|
||||
<label for="lgn_pwd">[{oxmultilang ident="PASSWORD"}]</label>
|
||||
<div class="input-group">
|
||||
<input type="password" id="lgn_pwd" name="lgn_pwd" autocomplete="current-password" class="form-control js-oxValidate js-oxValidate_notEmpty textbox stepsPasswordbox" placeholder="[{oxmultilang ident="PASSWORD"}]" required="required">
|
||||
<div class="input-group-append">
|
||||
<a class="btn btn-outline-dark forgotPasswordOpener" id="step2PswdOpener" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=forgotpwd"}]" title="[{oxmultilang ident="FORGOT_PASSWORD"}]">?</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer text-right">
|
||||
<button type="submit" class="btn btn-primary submitButton">[{oxmultilang ident="LOGIN"}] <i class="fa fa-caret-right"></i></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,68 @@
|
||||
[{oxscript add="$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"}]
|
||||
|
||||
[{if $oView->getAccountDeletionStatus() == true}]
|
||||
[{assign var="statusMessage" value="DD_DELETE_MY_ACCOUNT_SUCCESS"|oxmultilangassign}]
|
||||
[{include file="message/success.tpl" statusMessage=$statusMessage}]
|
||||
[{/if}]
|
||||
|
||||
<div class="card-deck">
|
||||
<div class="card">
|
||||
<div class="card-header">[{oxmultilang ident="LOGIN"}]</div>
|
||||
<div class="card-body">
|
||||
<form name="login" class="js-oxValidate" action="[{$oViewConf->getSslSelfLink()}]" method="post" novalidate="novalidate">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="fnc" value="login_noredirect">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="tpl" value="[{$oViewConf->getActTplName()}]">
|
||||
<input type="hidden" name="oxloadid" value="[{$oViewConf->getActContentLoadId()}]">
|
||||
[{if $oView->getArticleId()}]
|
||||
<input type="hidden" name="aid" value="[{$oView->getArticleId()}]">
|
||||
[{/if}]
|
||||
[{if $oView->getProduct()}]
|
||||
[{assign var="product" value=$oView->getProduct()}]
|
||||
<input type="hidden" name="anid" value="[{$product->oxarticles__oxnid->value}]">
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
<p>[{oxmultilang ident="LOGIN_ALREADY_CUSTOMER"}]</p>
|
||||
|
||||
<div class="form-group[{if $aErrors}] oxInValid[{/if}]">
|
||||
<label class="req">[{oxmultilang ident="EMAIL"}]</label>
|
||||
<input id="loginUser" class="js-oxValidate js-oxValidate_notEmpty form-control" type="text" name="lgn_usr" role="loginUser" required="required" autocomplete="username">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors}] oxInValid[{/if}]">
|
||||
<label class="req">[{oxmultilang ident="PASSWORD"}]</label>
|
||||
<input id="loginPwd" class="js-oxValidate js-oxValidate_notEmpty form-control" type="password" name="lgn_pwd" role="loginPwd" required="required" autocomplete="current-password">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
[{if $oView->showRememberMe()}]
|
||||
<div class="form-group">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" class="checkbox" name="lgn_cook" value="1"> [{oxmultilang ident="KEEP_LOGGED_IN"}]
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
<div class="form-group">
|
||||
<button id="loginButton" type="submit" class="btn btn-primary" role="loginButton">[{oxmultilang ident="LOGIN"}]</button>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<a id="forgotPasswordLink" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=forgotpwd"}]" class="textLink">[{oxmultilang ident="FORGOT_PASSWORD"}]</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">[{oxmultilang ident="OPEN_ACCOUNT"}]</div>
|
||||
<div class="card-body">
|
||||
<p>[{oxmultilang ident="DD_LOGIN_ACCOUNT_PANEL_CREATE_BODY"}]</p>
|
||||
<a id="openAccountLink" href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=register"}]" class="btn btn-primary" role="button">[{oxmultilang ident="OPEN_ACCOUNT"}]</a><br />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
64
shop/source/Application/views/wave/tpl/form/newsletter.tpl
Normal file
64
shop/source/Application/views/wave/tpl/form/newsletter.tpl
Normal file
@@ -0,0 +1,64 @@
|
||||
[{oxscript add="$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"}]
|
||||
|
||||
[{assign var="aRegParams" value=$oView->getRegParams()}]
|
||||
<form class="form-horizontal" action="[{$oViewConf->getSslSelfLink()}]" method="post" role="form" novalidate="novalidate">
|
||||
[{block name="newsletter_form_fields"}]
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="fnc" value="send">
|
||||
<input type="hidden" name="cl" value="newsletter">
|
||||
<input type="hidden" name="editval[oxuser__oxcountryid]" value="[{$oView->getHomeCountryId()}]">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-2" for="newsletterSal">[{oxmultilang ident="TITLE"}]</label>
|
||||
<div class="col-lg-5">
|
||||
[{include file="form/fieldset/salutation.tpl" name="editval[oxuser__oxsal]" value=$aRegParams.oxuser__oxsal class="form-control show-tick" id="newsletterSal"}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-2" for="newsletterFname">[{oxmultilang ident="FIRST_NAME"}]</label>
|
||||
<div class="col-lg-5">
|
||||
<input class="form-control" id="newsletterFname" type="text" name="editval[oxuser__oxfname]" maxlength="40" value="[{if $aRegParams.oxuser__oxfname}][{$aRegParams.oxuser__oxfname}][{/if}]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-2" for="newsletterLname">[{oxmultilang ident="LAST_NAME"}]</label>
|
||||
<div class="col-lg-5">
|
||||
<input class="form-control" id="newsletterLname" type="text" name="editval[oxuser__oxlname]" maxlength="40" value="[{if $aRegParams.oxuser__oxlname}][{$aRegParams.oxuser__oxlname}][{/if}]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group[{if $aErrors}] oxInValid[{/if}]">
|
||||
<label class="req control-label col-lg-2" for="newsletterUserName">[{oxmultilang ident="EMAIL"}]</label>
|
||||
<div class="col-lg-5">
|
||||
<input id="newsletterUserName" type="email" class="form-control" name="editval[oxuser__oxusername]" maxlength="40" value="[{if $aRegParams.oxuser__oxusername}][{$aRegParams.oxuser__oxusername}][{/if}]" required="required">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="offset-lg-2 col-lg-5">
|
||||
<label for="newsletterSubscribeOn" class="checkbox-inline">
|
||||
<input id="newsletterSubscribeOn" type="radio" name="subscribeStatus" value="1" checked> [{oxmultilang ident="SUBSCRIBE"}]
|
||||
</label>
|
||||
<label for="newsletterSubscribeOff" class="checkbox-inline">
|
||||
<input id="newsletterSubscribeOff" type="radio" name="subscribeStatus" value="0"> [{oxmultilang ident="UNSUBSCRIBE"}]
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="captcha_form"}][{/block}]
|
||||
|
||||
[{block name="newsletter_form_button"}]
|
||||
<div class="form-group">
|
||||
<div class="offset-lg-2 col-lg-5">
|
||||
<p class="alert alert-info">[{oxmultilang ident="COMPLETE_MARKED_FIELDS"}]</p>
|
||||
<button id="newsLetterSubmit" class="btn btn-primary" type="submit">[{oxmultilang ident="SUBMIT"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
</form>
|
||||
37
shop/source/Application/views/wave/tpl/form/pricealarm.tpl
Normal file
37
shop/source/Application/views/wave/tpl/form/pricealarm.tpl
Normal file
@@ -0,0 +1,37 @@
|
||||
[{oxscript add="$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"}]
|
||||
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
<p class="alert alert-info">[{oxmultilang ident="MESSAGE_PRICE_ALARM_PRICE_CHANGE"}]</p>
|
||||
<form class="js-oxValidate form-horizontal" name="pricealarm" action="[{$oViewConf->getSelfActionLink()}]" method="post" novalidate="novalidate">
|
||||
<div>
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getTopActiveClassName()}]">
|
||||
[{if $oDetailsProduct}]
|
||||
<input type="hidden" name="anid" value="[{$oDetailsProduct->oxarticles__oxid->value}]">
|
||||
[{/if}]
|
||||
<input type="hidden" name="fnc" value="addme">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="req control-label col-lg-3">[{oxmultilang ident="YOUR_PRICE"}] ([{$currency->sign}]):</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="text" name="pa[price]" value="[{oxhasrights ident="SHOWARTICLEPRICE"}][{if $product}][{$product->getFPrice()}][{/if}][{/oxhasrights}]" maxlength="32" required="required">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="req control-label col-lg-3">[{oxmultilang ident="EMAIL"}]:</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="email" name="pa[email]" value="[{if $oxcmp_user}][{$oxcmp_user->oxuser__oxusername->value}][{/if}]" maxlength="128" required="required">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{block name="captcha_form"}][{/block}]
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-lg-9 offset-lg-3">
|
||||
<button class="submitButton btn btn-primary" type="submit">[{oxmultilang ident="SEND"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -0,0 +1,31 @@
|
||||
<div class="well">
|
||||
<form name="login" class="js-oxValidate" action="[{$oViewConf->getSslSelfLink()}]" method="post" id="private-sales-login">
|
||||
|
||||
<div>
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="fnc" value="login_noredirect">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="tpl" value="[{$oViewConf->getActTplName()}]">
|
||||
<input type="hidden" name="oxloadid" value="[{$oViewConf->getActContentLoadId()}]">
|
||||
[{if $oView->getArticleId()}]
|
||||
<input type="hidden" name="aid" value="[{$oView->getArticleId()}]">
|
||||
[{/if}]
|
||||
[{if $oView->getProduct()}]
|
||||
[{assign var="product" value=$oView->getProduct()}]
|
||||
<input type="hidden" name="anid" value="[{$product->oxarticles__oxnid->value}]">
|
||||
[{/if}]
|
||||
<input type="hidden" name="ord_agb" value="0">
|
||||
</div>
|
||||
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" name="ord_agb" value="1" class="agb-check"> [{oxifcontent ident="oxrighttocancellegend" object="oContent"}]
|
||||
[{$oContent->oxcontents__oxcontent->value}]
|
||||
[{/oxifcontent}]
|
||||
</label>
|
||||
</div>
|
||||
<button type="submit" class="submitButton btn btn-outline-dark" disabled="disabled">[{oxmultilang ident="LOGIN"}]</button>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,27 @@
|
||||
<h3>[{oxmultilang ident="ROOT_CATEGORY_CHANGED"}]</h3>
|
||||
[{oxmultilang ident="MESSAGE_DENIED_BY_SHOP_RULES"}]<br><br>
|
||||
<div class="introtext">
|
||||
[{oxmultilang ident="MESSAGE_BASKET_EXCLUDE_INFO"}]<br><br>
|
||||
</div>
|
||||
<form action="[{$oViewConf->getCurrentHomeDir()}]index.php" method="post">
|
||||
<div>
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="executeuserchoice">
|
||||
<input type="hidden" name="tpl" value="[{$oViewConf->getActTplName()}]">
|
||||
<input type="hidden" name="oxloadid" value="[{$oViewConf->getActContentLoadId()}]">
|
||||
[{if $oView->getArticleId()}]
|
||||
<input type="hidden" name="aid" value="[{$oView->getArticleId()}]">
|
||||
[{/if}]
|
||||
[{if $oView->getProduct()}]
|
||||
[{assign var="product" value=$oView->getProduct()}]
|
||||
<input type="hidden" name="anid" value="[{$product->oxarticles__oxnid->value}]">
|
||||
[{/if}]
|
||||
[{oxhasrights ident="TOBASKET"}]
|
||||
<button name="tobasket" value="1" class="submitButton" type="submit">[{oxmultilang ident="CHECKOUT"}]</button>
|
||||
[{/oxhasrights}]
|
||||
<button class="submitButton" type="submit">[{oxmultilang ident="CONTINUE_SHOPPING"}]</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
[{assign var="_oProduct" value=$oView->getProduct()}]
|
||||
[{assign var="editval" value=$oView->getInviteData()}]
|
||||
<form class="js-oxValidate" action="[{$oViewConf->getSslSelfLink()}]" method="post">
|
||||
<div>
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="fnc" value="send">
|
||||
<input type="hidden" name="cl" value="invite">
|
||||
<input type="hidden" name="anid" value="[{$_oProduct->oxarticles__oxnid->value}]">
|
||||
<input type="hidden" name="CustomError" value='invite'>
|
||||
<h3 class="blockHead">[{oxmultilang ident="SEND_INVITE_TO" suffix="COLON"}]</h3>
|
||||
<ul class="form">
|
||||
<li>
|
||||
<label class="req">[{oxmultilang ident="EMAIL"}] #1:</label>
|
||||
<input type="text" class="js-oxValidate js-oxValidate_notEmpty js-oxValidate_email" name="editval[rec_email][1]" size="73" maxlength="73" value="[{$editval->rec_email.1}]">
|
||||
<p class="oxValidateError">
|
||||
<span class="js-oxError_notEmpty">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS"}]</span>
|
||||
<span class="js-oxError_email">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOVALIDEMAIL"}]</span>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<label>[{oxmultilang ident="EMAIL"}] #2:</label>
|
||||
<input type="text" name="editval[rec_email][2]" size="73" maxlength="73" value="[{$editval->rec_email.2}]">
|
||||
<p class="oxValidateError">
|
||||
<span class="js-oxError_email">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOVALIDEMAIL"}]</span>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<label>[{oxmultilang ident="EMAIL"}] #3:</label>
|
||||
<input type="text" name="editval[rec_email][3]" size="73" maxlength="73" value="[{$editval->rec_email.3}]">
|
||||
<p class="oxValidateError">
|
||||
<span class="js-oxError_email">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOVALIDEMAIL"}]</span>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<label>[{oxmultilang ident="EMAIL"}] #4:</label>
|
||||
<input type="text" name="editval[rec_email][4]" size="73" maxlength="73" value="[{$editval->rec_email.4}]">
|
||||
<p class="oxValidateError">
|
||||
<span class="js-oxError_email">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOVALIDEMAIL"}]</span>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<label>[{oxmultilang ident="EMAIL"}] #5:</label>
|
||||
<input type="text" name="editval[rec_email][5]" size="73" maxlength="73" value="[{$editval->rec_email.5}]">
|
||||
<p class="oxValidateError">
|
||||
<span class="js-oxError_email">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOVALIDEMAIL"}]</span>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3 class="blockHead">[{oxmultilang ident="FROM" suffix="COLON"}]</h3>
|
||||
<ul class="form">
|
||||
<li>
|
||||
<label class="req">[{oxmultilang ident="SENDER_NAME"}]</label>
|
||||
<input type="text" class="js-oxValidate js-oxValidate_notEmpty" name="editval[send_name]" size=73 maxlength=73 value="[{$editval->send_name}]">
|
||||
<p class="oxValidateError">
|
||||
<span class="js-oxError_notEmpty">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS"}]</span>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<label class="req">[{oxmultilang ident="SENDER_EMAIL" suffix="COLON"}]</label>
|
||||
<input type="text" class="js-oxValidate js-oxValidate_notEmpty js-oxValidate_email" name="editval[send_email]" size=73 maxlength=73 value="[{$editval->send_email}]" >
|
||||
<p class="oxValidateError">
|
||||
<span class="js-oxError_notEmpty">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS"}]</span>
|
||||
<span class="js-oxError_email">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOVALIDEMAIL"}]</span>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<label class="req">[{oxmultilang ident="SUBJECT" suffix="COLON"}]</label>
|
||||
<input type="text" class="js-oxValidate js-oxValidate_notEmpty" name="editval[send_subject]" size=73 maxlength=73 value="[{if $editval->send_subject}][{$editval->send_subject}][{else}][{oxmultilang ident="HAVE_A_LOOK"}] [{$_oProduct->oxarticles__oxtitle->value|strip_tags}][{/if}]">
|
||||
<p class="oxValidateError">
|
||||
<span class="js-oxError_notEmpty">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS"}]</span>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<label class="req">[{oxmultilang ident="MESSAGE" suffix="COLON"}]</label>
|
||||
<textarea cols="70" rows="8" name="editval[send_message]" class="js-oxValidate js-oxValidate_notEmpty areabox">[{if $editval->send_message}][{$editval->send_message}][{else}][{oxmultilang ident="FORM_SUGGEST_MESSAGE1"}] [{$oxcmp_shop->oxshops__oxname->value}] [{oxmultilang ident="FORM_SUGGEST_MESSAGE2"}][{/if}]</textarea>
|
||||
<p class="oxValidateError">
|
||||
<span class="js-oxError_notEmpty">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS"}]</span>
|
||||
</p>
|
||||
</li>
|
||||
|
||||
[{block name="captcha_form"}][{/block}]
|
||||
|
||||
<li class="formSubmit">
|
||||
<button class="submitButton largeButton" type="submit">[{oxmultilang ident="SEND"}]</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</form>
|
||||
@@ -0,0 +1,35 @@
|
||||
[{if !$oxcmp_user->oxuser__oxusername->value}]
|
||||
[{include file="page/account/login.tpl"}]
|
||||
[{else}]
|
||||
[{assign var="product" value=$oView->getProduct()}]
|
||||
[{if $oxcmp_user->getRecommListsCount()}]
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post">
|
||||
<div>
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="fnc" value="addToRecomm">
|
||||
<input type="hidden" name="cl" value="details">
|
||||
<input type="hidden" name="anid" value="[{$product->oxarticles__oxid->value}]">
|
||||
</div>
|
||||
<ul class="form listmania-add list-unstyled">
|
||||
<li class="listmania-select-list">
|
||||
<label>[{oxmultilang ident="SELECT_LISTMANIA_LIST"}]:</label>
|
||||
<select name="recomm">
|
||||
[{foreach from=$oView->getRecommLists() item=oList}]
|
||||
<option value="[{$oList->oxrecommlists__oxid->value}]">[{$oList->oxrecommlists__oxtitle->value}]</option>
|
||||
[{/foreach}]
|
||||
</select>
|
||||
</li>
|
||||
<li class="listmania-desc-add">
|
||||
<label>Description:</label>
|
||||
<textarea cols="102" rows="7" name="recomm_txt" class="areabox"></textarea><br>
|
||||
</li>
|
||||
<li class="formSubmit listmania-submit">
|
||||
<button class="btn btn-primary submitButton largeButton" type="submit">[{oxmultilang ident="ADD_TO_LISTMANIA_LIST"}]</button>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
[{else}]
|
||||
[{oxmultilang ident="NO_LISTMANIA_LIST"}] <a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_recommlist"}]">[{oxmultilang ident="CLICK_HERE"}]</a>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
@@ -0,0 +1,40 @@
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" name="saverecommlist" method="post" class="form-horizontal">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="fnc" value="saveRecommList">
|
||||
<input type="hidden" name="cl" value="account_recommlist">
|
||||
[{if $actvrecommlist}]
|
||||
<input type="hidden" name="recommid" value="[{$actvrecommlist->getId()}]">
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3 req">[{oxmultilang ident="TITLE"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input type="text" name="recomm_title" class="form-control" maxlength="73" value="[{$actvrecommlist->oxrecommlists__oxtitle->value}]">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3">[{oxmultilang ident="AUTHOR"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input type="text" name="recomm_author" class="form-control" maxlength="73" value="[{if $actvrecommlist->oxrecommlists__oxauthor->value}][{$actvrecommlist->oxrecommlists__oxauthor->value}][{elseif !$actvrecommlist}][{$oxcmp_user->oxuser__oxfname->value}] [{$oxcmp_user->oxuser__oxlname->value}][{/if}]">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3">[{oxmultilang ident="INTRODUCTION"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<textarea class="form-control" rows="8" name="recomm_desc">[{$actvrecommlist->oxrecommlists__oxdesc->value}]</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="offset-lg-3 col-lg-9">
|
||||
<button class="btn btn-primary" type="submit">[{oxmultilang ident="SAVE"}]</button>
|
||||
[{if $_actvrecommlist}]
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_recommlist"}]" class="btn btn-outline-dark" title="[{oxmultilang ident="DD_RECOMMENDATION_EDIT_BACK_TO_LIST"}]">
|
||||
<i class="fa fa-list"></i> [{oxmultilang ident="DD_RECOMMENDATION_EDIT_BACK_TO_LIST"}]
|
||||
</a>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
78
shop/source/Application/views/wave/tpl/form/register.tpl
Normal file
78
shop/source/Application/views/wave/tpl/form/register.tpl
Normal file
@@ -0,0 +1,78 @@
|
||||
[{oxscript add="$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"}]
|
||||
<form class="form-horizontal" action="[{$oViewConf->getSslSelfLink()}]" name="order" method="post" novalidate="novalidate">
|
||||
<div class="hidden">
|
||||
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="fnc" value="registeruser">
|
||||
<input type="hidden" name="cl" value="register">
|
||||
<input type="hidden" name="lgn_cook" value="0">
|
||||
<input type="hidden" id="reloadAddress" name="reloadaddress" value="">
|
||||
<input type="hidden" name="option" value="3">
|
||||
</div>
|
||||
|
||||
<h3 class="blockHead">[{oxmultilang ident="ACCOUNT_INFORMATION"}]</h3>
|
||||
[{include file="form/fieldset/user_account.tpl"}]
|
||||
|
||||
[{if $oView->isActive('PsLogin')}]
|
||||
<div class="form-group row">
|
||||
<label class="col-lg-3">[{oxmultilang ident="TERMS_AND_CONDITIONS"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input type="hidden" name="ord_agb" value="0">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input id="orderConfirmAgbBottom" type="checkbox" class="checkbox" name="ord_agb" value="1">
|
||||
[{oxifcontent ident="oxagb" object="oCont"}]
|
||||
[{oxmultilang ident="FORM_REGISTER_IAGREETOTERMS1"}]
|
||||
<a href="#" data-toggle="modal" data-target="#popup1">[{oxmultilang ident="TERMS_AND_CONDITIONS"}]</a>
|
||||
[{oxmultilang ident="FORM_REGISTER_IAGREETOTERMS3"}],
|
||||
[{/oxifcontent}]
|
||||
[{oxifcontent ident="oxrightofwithdrawal" object="oCont"}]
|
||||
[{oxmultilang ident="FORM_REGISTER_IAGREETORIGHTOFWITHDRAWAL1"}]
|
||||
<a href="#" data-toggle="modal" data-target="#popup2">[{$oCont->oxcontents__oxtitle->value}]</a>
|
||||
[{oxmultilang ident="FORM_REGISTER_IAGREETORIGHTOFWITHDRAWAL3"}]
|
||||
[{/oxifcontent}]
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
<h3 class="blockHead">[{oxmultilang ident="BILLING_ADDRESS"}]</h3>
|
||||
[{include file="form/fieldset/user_billing.tpl"}]
|
||||
</form>
|
||||
[{if $oView->isActive('PsLogin')}]
|
||||
[{oxifcontent ident="oxagb" object="oContent"}]
|
||||
<div class="modal fade" id="popup1" tabindex="-1" role="dialog" aria-labelledby="popup1Label" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<span class="h4 modal-title" id="popup1Label">[{$oContent->oxcontents__oxtitle->value}]</span>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
</div>
|
||||
<div class="modal-body">[{$oContent->oxcontents__oxcontent->value}]</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-outline-dark" data-dismiss="modal">[{oxmultilang ident="CLOSE"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/oxifcontent}]
|
||||
|
||||
[{oxifcontent ident="oxrightofwithdrawal" object="oContent"}]
|
||||
<div class="modal fade" id="popup2" tabindex="-1" role="dialog" aria-labelledby="popup2Label" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<span class="h4 modal-title" id="popup2Label">[{$oContent->oxcontents__oxtitle->value}]</span>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
</div>
|
||||
<div class="modal-body">[{$oContent->oxcontents__oxcontent->value}]</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-outline-dark" data-dismiss="modal">[{oxmultilang ident="CLOSE"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/oxifcontent}]
|
||||
[{/if}]
|
||||
71
shop/source/Application/views/wave/tpl/form/suggest.tpl
Normal file
71
shop/source/Application/views/wave/tpl/form/suggest.tpl
Normal file
@@ -0,0 +1,71 @@
|
||||
[{assign var="_oProduct" value=$oView->getProduct()}]
|
||||
[{assign var="editval" value=$oView->getSuggestData()}]
|
||||
[{oxscript add="$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"}]
|
||||
|
||||
<form class="form-horizontal" action="[{$oViewConf->getSslSelfLink()}]" method="post" novalidate="novalidate">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="fnc" value="send">
|
||||
<input type="hidden" name="cl" value="suggest">
|
||||
<input type="hidden" name="anid" value="[{$_oProduct->oxarticles__oxnid->value}]">
|
||||
<input type="hidden" name="CustomError" value='suggest'>
|
||||
</div>
|
||||
|
||||
<h3 class="page-header">[{oxmultilang ident="CARD_TO" suffix="COLON"}]</h3>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3 req">[{oxmultilang ident="RECIPIENT_NAME" suffix="COLON"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="text" name="editval[rec_name]" size="73" maxlength="73" value="[{$editval->rec_name}]" required="required">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3 req">[{oxmultilang ident="RECIPIENT_EMAIL" suffix="COLON"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="email" name="editval[rec_email]" size="73" maxlength="73" value="[{$editval->rec_email}]" required="required">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 class="page-header">[{oxmultilang ident="FROM" suffix="COLON"}]</h3>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3 req">[{oxmultilang ident="SENDER_NAME" suffix="COLON"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="text" name="editval[send_name]" size=73 maxlength=73 value="[{$editval->send_name}]" required="required">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3 req">[{oxmultilang ident="SENDER_EMAIL" suffix="COLON"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="email" name="editval[send_email]" size=73 maxlength=73 value="[{$editval->send_email}]" required="required">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3 req">[{oxmultilang ident="SUBJECT" suffix="COLON"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control" type="text" name="editval[send_subject]" size=73 maxlength=73 value="[{if $editval->send_subject}][{$editval->send_subject}][{else}][{oxmultilang ident="HAVE_A_LOOK" suffix="COLON"}] [{$_oProduct->oxarticles__oxtitle->value|strip_tags}][{/if}]" required="required">
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3 req">[{oxmultilang ident="MESSAGE" suffix="COLON"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<textarea cols="70" rows="8" name="editval[send_message]" class="areabox form-control" required="required">[{if $editval->send_message}][{$editval->send_message}][{else}][{oxmultilang ident="SHOP_SUGGEST_MESSAGE" args=$oxcmp_shop->oxshops__oxname->value}][{/if}]</textarea>
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{block name="captcha_form"}][{/block}]
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-2 col-lg-10">
|
||||
<p class="alert alert-info">[{oxmultilang ident="COMPLETE_MARKED_FIELDS"}]</p>
|
||||
<button class="btn btn-primary" type="submit">
|
||||
<i class="fa fa-envelope"></i> [{oxmultilang ident="SEND"}]
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
93
shop/source/Application/views/wave/tpl/form/user.tpl
Normal file
93
shop/source/Application/views/wave/tpl/form/user.tpl
Normal file
@@ -0,0 +1,93 @@
|
||||
|
||||
[{capture assign="sValidationJS"}]
|
||||
[{strip}]
|
||||
$('input,select,textarea').not('[type=submit]').jqBootstrapValidation(
|
||||
{
|
||||
filter: function()
|
||||
{
|
||||
return $(this).is(':visible');
|
||||
}
|
||||
}
|
||||
);
|
||||
[{/strip}]
|
||||
[{/capture}]
|
||||
|
||||
[{oxscript add=$sValidationJS}]
|
||||
[{block name="user"}]
|
||||
<form class="js-oxValidate form-horizontal" action="[{$oViewConf->getSelfActionLink()}]" name="order" method="post" novalidate="novalidate">
|
||||
[{block name="user_form"}]
|
||||
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
|
||||
<div class="addressCollumns">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="fnc" value="changeuser_testvalues">
|
||||
<input type="hidden" name="cl" value="account_user">
|
||||
<input type="hidden" name="CustomError" value='user'>
|
||||
<input type="hidden" name="blshowshipaddress" value="1">
|
||||
</div>
|
||||
|
||||
[{* Rechnungsadresse *}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
[{block name="user_billing_address_head"}]
|
||||
[{oxmultilang ident="BILLING_ADDRESS"}]
|
||||
<button id="userChangeAddress" class="btn btn-warning btn-sm hasTooltip float-right edit-button" name="changeBillAddress" type="button" title="[{oxmultilang ident="CHANGE"}]">
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
</button>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{block name="user_billing_address"}]
|
||||
[{block name="user_billing_address_text"}]
|
||||
<div id="addressText">
|
||||
[{include file="widget/address/billing_address.tpl"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{block name="user_billing_address_form"}]
|
||||
<div style="display: none;" id="addressForm">
|
||||
[{include file="form/fieldset/user_email.tpl"}]
|
||||
[{include file="form/fieldset/user_billing.tpl" noFormSubmit=true}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{oxscript add="$('#userChangeAddress').click( function() { $('#addressForm, #addressText').toggle();return false;});"}]
|
||||
|
||||
[{* Lieferadresse *}]
|
||||
[{block name="user_shipping_address"}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
[{block name="user_shipping_address_head"}]
|
||||
[{oxmultilang ident="SHIPPING_ADDRESSES"}]
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="checkbox">
|
||||
[{block name="user_shipping_address_choice"}]
|
||||
<label>
|
||||
<input type="checkbox" name="blshowshipaddress" id="showShipAddress" [{if !$oView->showShipAddress()}]checked[{/if}] value="0"> [{oxmultilang ident="USE_BILLINGADDRESS_FOR_SHIPPINGADDRESS"}]
|
||||
</label>
|
||||
[{/block}]
|
||||
</div>
|
||||
[{block name="user_shipping_address_form"}]
|
||||
<div id="shippingAddress" [{if !$oView->showShipAddress()}] style="display: none;" [{/if}]>
|
||||
[{include file="form/fieldset/user_shipping.tpl" noFormSubmit=true}]
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
[{oxscript add="$('#showShipAddress').change( function() { $('#shippingAddress').toggle($(this).is(':not(:checked)')); });"}]
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-lg-12">
|
||||
<button id="accUserSaveTop" class="btn btn-primary" name="userform" type="submit">[{oxmultilang ident="SAVE"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
</form>
|
||||
[{include file="form/fieldset/delete_shipping_address_modal.tpl"}]
|
||||
[{/block}]
|
||||
@@ -0,0 +1,135 @@
|
||||
|
||||
[{capture assign="sValidationJS"}]
|
||||
[{strip}]
|
||||
$('input,select,textarea').not('[type=submit]').jqBootstrapValidation(
|
||||
{
|
||||
filter: function()
|
||||
{
|
||||
return $(this).is(':visible');
|
||||
}
|
||||
}
|
||||
);
|
||||
[{/strip}]
|
||||
[{/capture}]
|
||||
|
||||
[{oxscript add=$sValidationJS}]
|
||||
|
||||
[{block name="user_checkout_change"}]
|
||||
<form class="form-horizontal" action="[{$oViewConf->getSslSelfLink()}]" name="order" method="post" novalidate="novalidate">
|
||||
[{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">
|
||||
|
||||
[{block name="user_checkout_change_next_step_top"}]
|
||||
<div class="card bg-light cart-buttons">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getBasketLink()}]" class="btn btn-outline-dark float-left prevStep submitButton largeButton" id="userBackStepTop"><i class="fa fa-caret-left"></i> [{oxmultilang ident="PREVIOUS_STEP"}]</a>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 text-right">
|
||||
<button id="userNextStepTop" class="btn btn-primary pull-right submitButton largeButton nextStep" name="userform" type="submit">[{oxmultilang ident="CONTINUE_TO_NEXT_STEP"}] <i class="fa fa-caret-right"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
<div class="checkoutCollumns clear">
|
||||
<div class="card">
|
||||
[{block name="user_checkout_billing"}]
|
||||
<div class="card-header">
|
||||
[{block name="user_checkout_billing_head"}]
|
||||
<h3 class="card-title">
|
||||
[{oxmultilang ident="BILLING_ADDRESS"}]
|
||||
<button id="userChangeAddress" class="btn btn-sm btn-warning float-right submitButton largeButton edit-button" name="changeBillAddress" type="submit" title="[{oxmultilang ident="CHANGE"}]">
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
</button>
|
||||
</h3>
|
||||
[{oxscript add="$('#userChangeAddress').click( function() { $('#addressForm').show();$('#addressText').hide();$('#userChangeAddress').hide();return false;});"}]
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/block}]
|
||||
<div class="card-body">
|
||||
[{block name="user_checkout_billing_form"}]
|
||||
<div [{if !$aErrors|@count }]style="display: none;"[{/if}] id="addressForm">
|
||||
[{if not $oxcmp_user->oxuser__oxpassword->value}]
|
||||
[{include file="form/fieldset/user_email.tpl"}]
|
||||
[{/if}]
|
||||
[{include file="form/fieldset/user_billing.tpl" noFormSubmit=true blSubscribeNews=true blOrderRemark=true}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{block name="user_checkout_billing_feedback"}]
|
||||
<div class="col-lg-9 offset-lg-3" id="addressText">
|
||||
[{include file="widget/address/billing_address.tpl" noFormSubmit=true blSubscribeNews=true blOrderRemark=true}]
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
[{block name="user_checkout_shipping"}]
|
||||
<div class="card-header">
|
||||
[{block name="user_checkout_shipping_head"}]
|
||||
<h3 class="card-title">
|
||||
[{oxmultilang ident="SHIPPING_ADDRESS"}]
|
||||
[{if $oView->showShipAddress() and $oxcmp_user->getSelectedAddress()}]
|
||||
<button id="userChangeShippingAddress" class="btn btn-sm btn-warning float-right submitButton largeButton edit-button" name="changeShippingAddress" type="submit" [{if !$oView->showShipAddress() and $oxcmp_user->getSelectedAddress()}] style="display: none;" [{/if}] title="[{oxmultilang ident="CHANGE"}]">
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
</button>
|
||||
[{/if}]
|
||||
</h3>
|
||||
[{oxscript add="$('#userChangeShippingAddress').toggle($(this).is(':not(:checked)'));"}]
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/block}]
|
||||
<div class="card-body">
|
||||
[{block name="user_checkout_shipping_change"}]
|
||||
<div class="form-group">
|
||||
<div class="col-lg-9 offset-lg-3">
|
||||
<div class="checkbox">
|
||||
<label for="showShipAddress">
|
||||
<input type="checkbox" name="blshowshipaddress" id="showShipAddress" [{if !$oView->showShipAddress()}]checked[{/if}] value="0"> [{oxmultilang ident="USE_BILLINGADDRESS_FOR_SHIPPINGADDRESS"}]
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{oxscript add="$('#showShipAddress').change( function() { $('#shippingAddress').toggle($(this).is(':not(:checked)'));});"}]
|
||||
[{/block}]
|
||||
[{block name="user_checkout_shipping_form"}]
|
||||
<div id="shippingAddress" [{if !$oView->showShipAddress()}]style="display: none;"[{/if}]>
|
||||
[{include file="form/fieldset/user_shipping.tpl" noFormSubmit=true onChangeClass='user'}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{block name="user_checkout_shipping_feedback"}]
|
||||
[{include file="form/fieldset/order_newsletter.tpl" blSubscribeNews=true}]
|
||||
[{include file="form/fieldset/order_remark.tpl" blOrderRemark=true}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{block name="user_checkout_change_next_step_bottom"}]
|
||||
<div class="card bg-light cart-buttons">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getBasketLink()}]" class="btn btn-outline-dark float-left prevStep submitButton largeButton" id="userBackStepBottom"><i class="fa fa-caret-left"></i> [{oxmultilang ident="PREVIOUS_STEP"}]</a>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 text-right">
|
||||
<button id="userNextStepBottom" class="btn btn-primary pull-right submitButton largeButton nextStep" name="userform" type="submit">[{oxmultilang ident="CONTINUE_TO_NEXT_STEP"}] <i class="fa fa-caret-right"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
</form>
|
||||
[{include file="form/fieldset/delete_shipping_address_modal.tpl"}]
|
||||
[{/block}]
|
||||
@@ -0,0 +1,107 @@
|
||||
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
|
||||
|
||||
[{block name="user_checkout_noregistration"}]
|
||||
|
||||
[{capture assign="sValidationJS"}]
|
||||
[{strip}]
|
||||
$('input,select,textarea').not('[type=submit]').jqBootstrapValidation(
|
||||
{
|
||||
filter: function()
|
||||
{
|
||||
return $(this).is(':visible');
|
||||
}
|
||||
}
|
||||
);
|
||||
[{/strip}]
|
||||
[{/capture}]
|
||||
|
||||
[{oxscript add=$sValidationJS}]
|
||||
|
||||
<form class="form-horizontal js-oxValidate" action="[{$oViewConf->getSslSelfLink()}]" name="order" method="post" role="form" novalidate="novalidate">
|
||||
[{block name="user_checkout_noregistration_form"}]
|
||||
<div class="hidden">
|
||||
[{$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>
|
||||
|
||||
[{block name="user_checkout_noregistration_next_step_top"}]
|
||||
<div class="card bg-light cart-buttons">
|
||||
<div class="card-body">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getBasketLink()}]" class="btn btn-outline-dark prevStep submitButton largeButton" id="userBackStepTop">[{oxmultilang ident="PREVIOUS_STEP"}]</a>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
<div class="checkoutCollumns">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">[{oxmultilang ident="NOTREGISTERED_ACCOUNTINFO"}]</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{include file="form/fieldset/user_noaccount.tpl"}]
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">[{oxmultilang ident="BILLING_ADDRESS"}]</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{include file="form/fieldset/user_billing.tpl" noFormSubmit=true blOrderRemark=true}]
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">[{oxmultilang ident="SHIPPING_ADDRESS"}]</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{block name="user_checkout_noregistration_shipping_address_body"}]
|
||||
<div class="form-group">
|
||||
<div class="col-lg-9 offset-lg-3">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" name="blshowshipaddress" id="showShipAddress" [{if !$oView->showShipAddress()}]checked[{/if}] value="0"> [{oxmultilang ident="USE_BILLINGADDRESS_FOR_SHIPPINGADDRESS"}]
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="shippingAddress"[{if !$oView->showShipAddress()}] style="display: none;"[{/if}]>
|
||||
[{include file="form/fieldset/user_shipping.tpl" noFormSubmit=true}]
|
||||
</div>
|
||||
|
||||
[{include file="form/fieldset/order_remark.tpl" blOrderRemark=true}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{oxscript add="$('#showShipAddress').change( function() { $('#shippingAddress').toggle($(this).is(':not(:checked)'));});"}]
|
||||
|
||||
[{block name="user_checkout_noregistration_next_step_bottom"}]
|
||||
<div class="card bg-light cart-buttons">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getBasketLink()}]" class="btn btn-outline-dark float-left prevStep submitButton largeButton" id="userBackStepBottom">[{oxmultilang ident="PREVIOUS_STEP"}]</a>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 text-right">
|
||||
<button id="userNextStepBottom" class="btn btn-primary pull-right submitButton largeButton nextStep" name="userform" type="submit">[{oxmultilang ident="CONTINUE_TO_NEXT_STEP"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
</form>
|
||||
[{include file="form/fieldset/delete_shipping_address_modal.tpl"}]
|
||||
[{/block}]
|
||||
@@ -0,0 +1,108 @@
|
||||
[{block name="user_checkout_registration"}]
|
||||
|
||||
[{capture assign="sValidationJS"}]
|
||||
[{strip}]
|
||||
$('input,select,textarea').not('[type=submit]').jqBootstrapValidation(
|
||||
{
|
||||
filter: function()
|
||||
{
|
||||
return $(this).is(':visible');
|
||||
}
|
||||
}
|
||||
);
|
||||
[{/strip}]
|
||||
[{/capture}]
|
||||
|
||||
[{oxscript add=$sValidationJS}]
|
||||
|
||||
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
|
||||
|
||||
<form class="form-horizontal js-oxValidate" action="[{$oViewConf->getSslSelfLink()}]" name="order" method="post" role="form" novalidate="novalidate">
|
||||
[{block name="user_checkout_registration_form"}]
|
||||
<div class="hidden">
|
||||
[{$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>
|
||||
|
||||
[{block name="user_checkout_registration_next_step_top"}]
|
||||
<div class="card bg-light cart-buttons">
|
||||
<div class="card-body">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getBasketLink()}]" class="btn btn-outline-dark prevStep submitButton largeButton" id="userBackStepTop">[{oxmultilang ident="PREVIOUS_STEP"}]</a>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
<div class="checkoutCollumns clear">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">[{oxmultilang ident="ACCOUNT_INFORMATION"}]</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{include file="form/fieldset/user_account.tpl"}]
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">[{oxmultilang ident="BILLING_ADDRESS"}]</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{include file="form/fieldset/user_billing.tpl" noFormSubmit=true blSubscribeNews=false blOrderRemark=true}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">[{oxmultilang ident="SHIPPING_ADDRESS"}]</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{block name="user_checkout_registration_shipping_address_body"}]
|
||||
<div class="form-group">
|
||||
<div class="col-lg-9 offset-lg-3">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" name="blshowshipaddress" id="showShipAddress" [{if !$oView->showShipAddress()}]checked[{/if}] value="0"> [{oxmultilang ident="USE_BILLINGADDRESS_FOR_SHIPPINGADDRESS"}]
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="shippingAddress" [{if !$oView->showShipAddress()}]style="display: none;"[{/if}]>
|
||||
[{include file="form/fieldset/user_shipping.tpl" noFormSubmit=true}]
|
||||
</div>
|
||||
|
||||
[{include file="form/fieldset/order_remark.tpl" blOrderRemark=true}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{oxscript add="$('#showShipAddress').change( function() { $('#shippingAddress').toggle($(this).is(':not(:checked)'));});"}]
|
||||
|
||||
[{block name="user_checkout_registration_next_step_bottom"}]
|
||||
<div class="card bg-light cart-buttons">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getBasketLink()}]" class="btn btn-outline-dark float-left prevStep submitButton largeButton" id="userBackStepBottom">[{oxmultilang ident="PREVIOUS_STEP"}]</a>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 text-right">
|
||||
<button id="userNextStepBottom" class="btn btn-primary pull-right submitButton largeButton nextStep" name="userform" type="submit">[{oxmultilang ident="CONTINUE_TO_NEXT_STEP"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
</form>
|
||||
[{include file="form/fieldset/delete_shipping_address_modal.tpl"}]
|
||||
[{/block}]
|
||||
@@ -0,0 +1,46 @@
|
||||
[{oxscript add="$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"}]
|
||||
|
||||
<form class="js-oxValidate form-horizontal" action="[{$oViewConf->getSelfActionLink()}]" name="changepassword" method="post" novalidate="novalidate">
|
||||
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
|
||||
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="fnc" value="changePassword">
|
||||
<input type="hidden" name="cl" value="account_password">
|
||||
<input type="hidden" name="CustomError" value='user'>
|
||||
<input type="hidden" id="passwordLength" value="[{$oViewConf->getPasswordLength()}]">
|
||||
</div>
|
||||
|
||||
<div class="form-group[{if $aErrors.oxuser__oxpassword}] oxInValid[{/if}]">
|
||||
<label class="control-label col-lg-3" for="passwordOld">[{oxmultilang ident="OLD_PASSWORD"}]</label>
|
||||
<div class="col-lg-5">
|
||||
<input type="password" id="passwordOld" name="password_old" class="js-oxValidate js-oxValidate_notEmpty form-control" required="" autocomplete="current-password">
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxpassword}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors.oxuser__oxpassword}] oxInValid[{/if}]">
|
||||
[{block name="user_account_password"}]
|
||||
<label class="control-label col-lg-3" for="passwordNew">[{oxmultilang ident="NEW_PASSWORD"}]</label>
|
||||
<div class="col-lg-5">
|
||||
<input type="password" id="passwordNew" name="password_new" class="js-oxValidate js-oxValidate_notEmpty js-oxValidate_length js-oxValidate_match form-control" required="" autocomplete="new-password">
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxpassword}]
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="form-group[{if $aErrors.oxuser__oxpassword}] oxInValid[{/if}]">
|
||||
<label class="control-label col-lg-3" for="passwordNewConfirm">[{oxmultilang ident="CONFIRM_PASSWORD"}]</label>
|
||||
<div class="col-lg-5">
|
||||
<input type="password" id="passwordNewConfirm" name="password_new_confirm" class="js-oxValidate js-oxValidate_notEmpty js-oxValidate_length js-oxValidate_match form-control" required="" data-validation-matches-match="password_new" data-validation-matches-message="[{oxmultilang ident="ERROR_MESSAGE_PASSWORD_DO_NOT_MATCH"}]" autocomplete="new-password">
|
||||
<div class="help-block"></div>
|
||||
[{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxpassword}]
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="offset-lg-3 col-lg-5">
|
||||
<button id="savePass" type="submit" class="btn btn-primary" role="button">[{oxmultilang ident="SAVE"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -0,0 +1,30 @@
|
||||
[{if $oView->getWishList()}]
|
||||
<form name="wishlist_wishlist_status" action="[{$oViewConf->getSelfActionLink()}]" method="post" class="form-horizontal">
|
||||
<div class="wishlistPublish clear">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="fnc" value="togglepublic">
|
||||
<input type="hidden" name="cl" value="account_wishlist">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3" for="wishlist_blpublic">[{oxmultilang ident="MESSAGE_MAKE_GIFT_REGISTRY_PUBLISH"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<select name="blpublic" id="wishlist_blpublic" class="form-control">
|
||||
<option value="0">[{oxmultilang ident="NO"}]</option>
|
||||
[{assign var="wishlist" value=$oView->getWishList()}]
|
||||
<option value="1"[{if $wishlist->oxuserbaskets__oxpublic->value}] selected="selected"[{/if}]>[{oxmultilang ident="YES"}]</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="offset-lg-3 col-lg-9 publish-list">
|
||||
<button class="btn btn-primary" type="submit">[{oxmultilang ident="SAVE"}]</button>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_wishlist" params="blshowsuggest=1"}]" class="btn btn-outline-dark">
|
||||
<i class="fa fa-share"></i> [{oxmultilang ident="MESSAGE_SEND_GIFT_REGISTRY"}]
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
[{/if}]
|
||||
@@ -0,0 +1,34 @@
|
||||
<form name="wishlist_searchbox" action="[{$oViewConf->getSelfActionLink()}]" method="post" class="form-horizontal">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$searchClass}]">
|
||||
<input type="hidden" name="fnc" value="searchforwishlist">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3" for="input_[{$searchClass}]">[{oxmultilang ident="SEARCH_GIFT_REGISTRY"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<div class="input-group">
|
||||
<input type="text" name="search" id="input_[{$searchClass}]" value="[{$oView->getWishListSearchParam()}]" class="form-control" placeholder="[{oxmultilang ident="ENTER_EMAIL_OR_NAME"}]">
|
||||
<span class="input-group-append">
|
||||
<button class="btn btn-primary" type="submit">[{oxmultilang ident="SEARCH"}]</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
[{if $oView->getWishListUsers()}]
|
||||
<hr>
|
||||
|
||||
<p class="lead">[{oxmultilang ident="GIFT_REGISTRY_SEARCH_RESULTS"}]</p>
|
||||
<ul class="wishlistResults">
|
||||
[{foreach from=$oView->getWishListUsers() item=wishres}]
|
||||
<li>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=wishlist" params="wishid=`$wishres->oxuser__oxid->value`"}]">
|
||||
[{oxmultilang ident="GIFT_REGISTRY_OF"}] [{$wishres->oxuser__oxfname->value}] [{$wishres->oxuser__oxlname->value}]
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
[{/if}]
|
||||
@@ -0,0 +1,46 @@
|
||||
<div class="wishlistSuggest clear">
|
||||
[{if $oView->getWishList() && $oView->showSuggest()}]
|
||||
[{if $Errors.account_whishlist|is_array && !empty($Errors.account_whishlist)}]
|
||||
[{foreach from=$Errors.account_whishlist item=oEr key=key}]
|
||||
<p class="alert alert-danger">[{$oEr->getOxMessage()}]</p>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{assign var="editval" value=$oView->getEnteredData()}]
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" class="form-horizontal">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="fnc" value="sendwishlist">
|
||||
<input type="hidden" name="cl" value="account_wishlist">
|
||||
<input type="hidden" name="blshowsuggest" value="1">
|
||||
<input type="hidden" name="editval[send_subject]" value="[{oxmultilang ident="GIFT_REGISTRY_OF"}] [{$oxcmp_shop->oxshops__oxname->value}]">
|
||||
<input type="hidden" name="CustomError" value='account_whishlist'>
|
||||
</div>
|
||||
<span class="lead">[{oxmultilang ident="SEND_GIFT_REGISTRY"}]</span>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3">[{oxmultilang ident="RECIPIENT_NAME"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input type="text" name="editval[rec_name]" class="form-control" maxlength="70" value="[{$editval->rec_name}]">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3">[{oxmultilang ident="RECIPIENT_EMAIL"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input type="email" name="editval[rec_email]" class="form-control" maxlength="70" value="[{$editval->rec_email}]">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3">[{oxmultilang ident="MESSAGE"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<textarea rows="6" class="form-control" name="editval[send_message]">[{if $editval->send_message}][{$editval->send_message}][{else}][{oxmultilang ident="SHOP_SUGGEST_BUY_FOR_ME" args=$oxcmp_shop->oxshops__oxname->value}][{/if}]</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="offset-lg-3 col-lg-9">
|
||||
<button class="btn btn-primary" type="submit">[{oxmultilang ident="SUBMIT"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<hr>
|
||||
[{/if}]
|
||||
</div>
|
||||
15
shop/source/Application/views/wave/tpl/i18n/js_vars.tpl
Normal file
15
shop/source/Application/views/wave/tpl/i18n/js_vars.tpl
Normal file
@@ -0,0 +1,15 @@
|
||||
<script>
|
||||
var oWave = oWave || [];
|
||||
oWave.i18n =
|
||||
{
|
||||
DD_FORM_VALIDATION_VALIDEMAIL: "[{oxmultilang ident="DD_FORM_VALIDATION_VALIDEMAIL"}]",
|
||||
DD_FORM_VALIDATION_PASSWORDAGAIN: "[{oxmultilang ident="DD_FORM_VALIDATION_PASSWORDAGAIN"}]",
|
||||
DD_FORM_VALIDATION_NUMBER: "[{oxmultilang ident="DD_FORM_VALIDATION_NUMBER"}]",
|
||||
DD_FORM_VALIDATION_INTEGER: "[{oxmultilang ident="DD_FORM_VALIDATION_INTEGER"}]",
|
||||
DD_FORM_VALIDATION_POSITIVENUMBER: "[{oxmultilang ident="DD_FORM_VALIDATION_POSITIVENUMBER"}]",
|
||||
DD_FORM_VALIDATION_NEGATIVENUMBER: "[{oxmultilang ident="DD_FORM_VALIDATION_NEGATIVENUMBER"}]",
|
||||
DD_FORM_VALIDATION_REQUIRED: "[{oxmultilang ident="DD_FORM_VALIDATION_REQUIRED"}]",
|
||||
DD_FORM_VALIDATION_CHECKONE: "[{oxmultilang ident="DD_FORM_VALIDATION_CHECKONE"}]",
|
||||
NAV_MORE: "[{oxmultilang ident="MORE"}]"
|
||||
};
|
||||
</script>
|
||||
247
shop/source/Application/views/wave/tpl/layout/base.tpl
Normal file
247
shop/source/Application/views/wave/tpl/layout/base.tpl
Normal file
@@ -0,0 +1,247 @@
|
||||
[{* Important ! render page head and body to collect scripts and styles *}]
|
||||
[{capture append="oxidBlock_pageHead"}]
|
||||
[{strip}]
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" id="Viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=[{$oView->getCharSet()}]">
|
||||
|
||||
[{assign var=sPageTitle value=$oView->getPageTitle()}]
|
||||
<title>[{block name="head_title"}][{$sPageTitle}][{/block}]</title>
|
||||
|
||||
[{block name="head_meta_robots"}]
|
||||
[{if $oView->noIndex() == 1}]
|
||||
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
|
||||
[{elseif $oView->noIndex() == 2}]
|
||||
<meta name="ROBOTS" content="NOINDEX, FOLLOW">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="head_meta_description"}]
|
||||
[{if $oView->getMetaDescription()}]
|
||||
<meta name="description" content="[{$oView->getMetaDescription()}]">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="head_meta_keywords"}]
|
||||
[{if $oView->getMetaKeywords()}]
|
||||
<meta name="keywords" content="[{$oView->getMetaKeywords()}]">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="head_meta_open_graph"}]
|
||||
<meta property="og:site_name" content="[{$oViewConf->getBaseDir()}]">
|
||||
<meta property="og:title" content="[{$sPageTitle}]">
|
||||
<meta property="og:description" content="[{$oView->getMetaDescription()}]">
|
||||
[{if $oViewConf->getActiveClassName() == 'details'}]
|
||||
<meta property="og:type" content="product">
|
||||
<meta property="og:image" content="[{$oView->getActPicture()}]">
|
||||
<meta property="og:url" content="[{$oView->getCanonicalUrl()}]">
|
||||
[{else}]
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:image" content="[{$oViewConf->getImageUrl('basket.png')}]">
|
||||
<meta property="og:url" content="[{$oViewConf->getCurrentHomeDir()}]">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{assign var="canonical_url" value=$oView->getCanonicalUrl()}]
|
||||
[{block name="head_link_canonical"}]
|
||||
[{if $canonical_url}]
|
||||
<link rel="canonical" href="[{$canonical_url}]">
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="head_link_hreflang"}]
|
||||
[{if $oView->isLanguageLoaded()}]
|
||||
[{assign var="oConfig" value=$oViewConf->getConfig()}]
|
||||
[{foreach from=$oxcmp_lang item=_lng}]
|
||||
[{if $_lng->id == $oConfig->getConfigParam('sDefaultLang')}]
|
||||
<link rel="alternate" hreflang="x-default" href="[{$_lng->link}]"/>
|
||||
[{/if}]
|
||||
<link rel="alternate" hreflang="[{$_lng->abbr}]" href="[{$_lng->link|oxaddparams:$oView->getDynUrlParams()}]"/>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{assign var="oPageNavigation" value=$oView->getPageNavigation()}]
|
||||
[{if $oPageNavigation}]
|
||||
[{if $oPageNavigation->previousPage}]
|
||||
<link rel="prev" href="[{$oPageNavigation->previousPage}]">
|
||||
[{/if}]
|
||||
[{if $oPageNavigation->nextPage}]
|
||||
<link rel="next" href="[{$oPageNavigation->nextPage}]">
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="head_link_favicon"}]
|
||||
[{assign var="sFavicon512File" value=$oViewConf->getViewThemeParam('sFavicon512File')}]
|
||||
[{if $sFavicon512File}]
|
||||
<!-- iOS Homescreen Icon (version < 4.2)-->
|
||||
<link rel="apple-touch-icon-precomposed" media="screen and (resolution: 163dpi)" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
<!-- iOS Homescreen Icon -->
|
||||
<link rel="apple-touch-icon-precomposed" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
|
||||
<!-- iPad Homescreen Icon (version < 4.2) -->
|
||||
<link rel="apple-touch-icon-precomposed" media="screen and (resolution: 132dpi)" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
<!-- iPad Homescreen Icon -->
|
||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
|
||||
<!-- iPhone 4 Homescreen Icon (version < 4.2) -->
|
||||
<link rel="apple-touch-icon-precomposed" media="screen and (resolution: 326dpi)" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
<!-- iPhone 4 Homescreen Icon -->
|
||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
|
||||
<!-- new iPad Homescreen Icon and iOS Version > 4.2 -->
|
||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" />
|
||||
|
||||
<!-- Windows 8 -->
|
||||
[{assign var="sFaviconMSTileColor" value=$oViewConf->getViewThemeParam('sFaviconMSTileColor')}]
|
||||
[{if $sFaviconMSTileColor}]
|
||||
<meta name="msapplication-TileColor" content="[{$sFaviconMSTileColor}]"> <!-- Kachel-Farbe -->
|
||||
<meta name="theme-color" content="[{$sFaviconMSTileColor}]"/>
|
||||
[{/if}]
|
||||
<meta name="msapplication-TileImage" content="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]">
|
||||
|
||||
<!-- Fluid -->
|
||||
<link rel="fluid-icon" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon512File`")}]" title="[{$sPageTitle}]" />
|
||||
[{/if}]
|
||||
|
||||
<!-- Shortcut Icons -->
|
||||
[{assign var="sFaviconFile" value=$oViewConf->getViewThemeParam('sFaviconFile')}]
|
||||
[{assign var="sFavicon16File" value=$oViewConf->getViewThemeParam('sFavicon16File')}]
|
||||
[{assign var="sFavicon32File" value=$oViewConf->getViewThemeParam('sFavicon32File')}]
|
||||
[{assign var="sFavicon48File" value=$oViewConf->getViewThemeParam('sFavicon48File')}]
|
||||
[{assign var="sFavicon64File" value=$oViewConf->getViewThemeParam('sFavicon64File')}]
|
||||
[{assign var="sFavicon128File" value=$oViewConf->getViewThemeParam('sFavicon128File')}]
|
||||
|
||||
[{if $sFaviconFile}]
|
||||
<link rel="shortcut icon" href="[{$oViewConf->getImageUrl("favicons/`$sFaviconFile`")}]?rand=1" type="image/x-icon" />
|
||||
[{/if}]
|
||||
[{if $sFavicon16File}]
|
||||
<link rel="icon" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon16File`")}]" sizes="16x16" />
|
||||
[{/if}]
|
||||
[{if $sFavicon32File}]
|
||||
<link rel="icon" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon32File`")}]" sizes="32x32" />
|
||||
[{/if}]
|
||||
[{if $sFavicon48File}]
|
||||
<link rel="icon" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon48File`")}]" sizes="48x48" />
|
||||
[{/if}]
|
||||
[{if $sFavicon64File}]
|
||||
<link rel="icon" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon64File`")}]" sizes="64x64" />
|
||||
[{/if}]
|
||||
[{if $sFavicon128File}]
|
||||
<link rel="icon" href="[{$oViewConf->getImageUrl("favicons/`$sFavicon128File`")}]" sizes="128x128" />
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="base_style"}]
|
||||
[{oxstyle include="css/styles.min.css"}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="base_fonts"}]
|
||||
[{/block}]
|
||||
|
||||
[{assign var='rsslinks' value=$oView->getRssLinks()}]
|
||||
[{block name="head_link_rss"}]
|
||||
[{if $rsslinks}]
|
||||
[{foreach from=$rsslinks item='rssentry'}]
|
||||
<link rel="alternate" type="application/rss+xml" title="[{$rssentry.title|strip_tags}]" href="[{$rssentry.link}]">
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="head_css"}]
|
||||
[{foreach from=$oxidBlock_head item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
[{/strip}]
|
||||
[{/capture}]
|
||||
|
||||
[{assign var="blIsCheckout" value=$oView->getIsOrderStep()}]
|
||||
[{assign var="blFullwidth" value=$oViewConf->getViewThemeParam('blFullwidthLayout')}]
|
||||
[{assign var="sBackgroundColor" value=$oViewConf->getViewThemeParam('sBackgroundColor')}]
|
||||
|
||||
[{* Fullpage Background *}]
|
||||
[{if $oViewConf->getViewThemeParam('blUseBackground')}]
|
||||
[{assign var="sBackgroundPath" value=$oViewConf->getViewThemeParam('sBackgroundPath')}]
|
||||
[{assign var="sBackgroundUrl" value=$oViewConf->getImageUrl("backgrounds/`$sBackgroundPath`")}]
|
||||
[{assign var="sBackgroundRepeat" value=$oViewConf->getViewThemeParam('sBackgroundRepeat')}]
|
||||
[{assign var="sBackgroundPosHorizontal" value=$oViewConf->getViewThemeParam('sBackgroundPosHorizontal')}]
|
||||
[{assign var="sBackgroundPosVertical" value=$oViewConf->getViewThemeParam('sBackgroundPosVertical')}]
|
||||
[{assign var="sBackgroundSize" value=$oViewConf->getViewThemeParam('sBackgroundSize')}]
|
||||
[{assign var="blBackgroundAttachment" value=$oViewConf->getViewThemeParam('blBackgroundAttachment')}]
|
||||
|
||||
[{if $sBackgroundUrl}]
|
||||
[{assign var="sStyle" value="background:`$sBackgroundColor` url(`$sBackgroundUrl`) `$sBackgroundRepeat` `$sBackgroundPosHorizontal` `$sBackgroundPosVertical`;"}]
|
||||
|
||||
[{if $sBackgroundSize}]
|
||||
[{assign var="sStyle" value=$sStyle|cat:"background-size:`$sBackgroundSize`;"}]
|
||||
[{/if}]
|
||||
|
||||
[{if $blBackgroundAttachment}]
|
||||
[{assign var="sStyle" value=$sStyle|cat:"background-attachment:fixed;"}]
|
||||
[{/if}]
|
||||
[{else}]
|
||||
[{assign var="sStyle" value="background:`$sBackgroundColor`;"}]
|
||||
[{/if}]
|
||||
[{elseif $sBackgroundColor}]
|
||||
[{assign var="sStyle" value="background:`$sBackgroundColor`;"}]
|
||||
[{/if}]
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="[{$oView->getActiveLangAbbr()}]" [{block name="head_html_namespace"}][{/block}]>
|
||||
<head>
|
||||
[{foreach from=$oxidBlock_pageHead item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
[{oxstyle}]
|
||||
|
||||
[{if $sStyle}]
|
||||
<style>
|
||||
body {
|
||||
[{$sStyle}]
|
||||
}
|
||||
</style>
|
||||
[{/if}]
|
||||
</head>
|
||||
|
||||
<body class="cl-[{$oView->getClassName()}][{if $smarty.get.plain == '1'}] popup[{/if}][{if $blIsCheckout}] is-checkout[{/if}][{if $oxcmp_user && $oxcmp_user->oxuser__oxpassword->value}] is-logged-in[{/if}]">
|
||||
|
||||
[{* Theme SVG icons block *}]
|
||||
[{block name="theme_svg_icons"}][{/block}]
|
||||
|
||||
|
||||
<div class="[{if $blFullwidth}]container-fluid[{else}]container[{/if}]">
|
||||
<div class="main-row">
|
||||
[{foreach from=$oxidBlock_pageBody item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
[{if $oViewConf->getTopActiveClassName() == 'details' && $oView->showZoomPics()}]
|
||||
[{include file="page/details/inc/photoswipe.tpl"}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="base_js"}]
|
||||
[{include file="i18n/js_vars.tpl"}]
|
||||
[{oxscript include="js/script.min.js" priority=1}]
|
||||
[{/block}]
|
||||
|
||||
[{if $oViewConf->isTplBlocksDebugMode()}]
|
||||
[{oxscript include="js/widgets/oxblockdebug.min.js"}]
|
||||
[{oxscript add="$( 'body' ).oxBlockDebug();"}]
|
||||
[{/if}]
|
||||
|
||||
[{oxscript}]
|
||||
|
||||
[{if !$oView->isDemoShop()}]
|
||||
[{oxid_include_dynamic file="widget/dynscript.tpl"}]
|
||||
[{/if}]
|
||||
|
||||
[{foreach from=$oxidBlock_pageScript item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
</body>
|
||||
</html>
|
||||
183
shop/source/Application/views/wave/tpl/layout/footer.tpl
Normal file
183
shop/source/Application/views/wave/tpl/layout/footer.tpl
Normal file
@@ -0,0 +1,183 @@
|
||||
[{block name="footer_main"}]
|
||||
[{assign var="blShowFullFooter" value=$oView->showSearch()}]
|
||||
[{assign var="blFullwidth" value=$oViewConf->getViewThemeParam('blFullwidthLayout')}]
|
||||
[{$oView->setShowNewsletter($oViewConf->getViewThemeParam('blFooterShowNewsletterForm'))}]
|
||||
|
||||
[{if $oxcmp_user}]
|
||||
[{assign var="force_sid" value=$oView->getSidForWidget()}]
|
||||
[{/if}]
|
||||
|
||||
<footer class="footer" id="footer">
|
||||
<div class="[{if $blFullwidth}]container[{else}]container-fluid[{/if}]">
|
||||
<div class="row mb-4">
|
||||
<div class="col-12 col-lg-8">
|
||||
<div class="row">
|
||||
[{block name="dd_footer_servicelist"}]
|
||||
<section
|
||||
class="col-12 [{if $blShowFullFooter}]col-md-6 col-lg-3[{else}]col-lg-6[{/if}] footer-box footer-box-service">
|
||||
<div class="h4 footer-box-title">[{oxmultilang ident="SERVICES"}]</div>
|
||||
<div class="footer-box-content">
|
||||
[{block name="dd_footer_servicelist_inner"}]
|
||||
[{oxid_include_widget cl="oxwServiceList" noscript=1 nocookie=1 force_sid=$force_sid}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</section>
|
||||
[{/block}]
|
||||
[{block name="dd_footer_information"}]
|
||||
<section
|
||||
class="col-12 [{if $blShowFullFooter}]col-md-6 col-lg-3[{else}]col-lg-6[{/if}] footer-box footer-box-information">
|
||||
<div class="h4 footer-box-title">[{oxmultilang ident="INFORMATION"}]</div>
|
||||
<div class="footer-box-content">
|
||||
[{block name="dd_footer_information_inner"}]
|
||||
[{oxid_include_widget cl="oxwInformation" noscript=1 nocookie=1 force_sid=$force_sid}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</section>
|
||||
[{/block}]
|
||||
[{if $blShowFullFooter}]
|
||||
[{block name="dd_footer_manufacturerlist"}]
|
||||
<section class="col-12 col-md-6 col-lg-3 footer-box footer-box-manufacturers">
|
||||
<div class="h4 footer-box-title">[{oxmultilang ident="OUR_BRANDS"}]</div>
|
||||
<div class="footer-box-content">
|
||||
[{block name="dd_footer_manufacturerlist_inner"}]
|
||||
[{oxid_include_widget cl="oxwManufacturerList" _parent=$oView->getClassName() noscript=1 nocookie=1}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</section>
|
||||
[{/block}]
|
||||
[{block name="dd_footer_categorytree"}]
|
||||
<section class="col-12 col-md-6 col-lg-3 footer-box footer-box-categories">
|
||||
<div class="h4 footer-box-title">[{oxmultilang ident="CATEGORIES"}]</div>
|
||||
<div class="footer-box-content">
|
||||
[{block name="dd_footer_categorytree_inner"}]
|
||||
[{oxid_include_widget cl="oxwCategoryTree" _parent=$oView->getClassName() sWidgetType="footer" noscript=1 nocookie=1}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</section>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-4">
|
||||
<div class="row">
|
||||
<div class="col-12 mx-auto mx-lg-0">
|
||||
[{if $oView->showNewsletter()}]
|
||||
<section class="footer-box footer-box-newsletter">
|
||||
<div class="h4 footer-box-title">[{oxmultilang ident="NEWSLETTER"}]</div>
|
||||
<div class="footer-box-content">
|
||||
[{block name="dd_footer_newsletter"}]
|
||||
<p class="small">[{oxmultilang ident="FOOTER_NEWSLETTER_INFO"}]</p>
|
||||
[{include file="widget/footer/newsletter.tpl"}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</section>
|
||||
[{/if}]
|
||||
|
||||
[{block name="footer_social"}][{/block}]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{* <<START>> Social Links *}]
|
||||
[{block name="dd_footer_social_links"}]
|
||||
[{if $oViewConf->getViewThemeParam('sFacebookUrl') || $oViewConf->getViewThemeParam('sGooglePlusUrl') || $oViewConf->getViewThemeParam('sTwitterUrl') || $oViewConf->getViewThemeParam('sYouTubeUrl') || $oViewConf->getViewThemeParam('sBlogUrl')}]
|
||||
<div class="social-links">
|
||||
[{block name="dd_footer_social_links_inner"}]
|
||||
<ul class="social-links-list ">
|
||||
[{block name="dd_footer_social_links_list"}]
|
||||
[{if $oViewConf->getViewThemeParam('sFacebookUrl')}]
|
||||
<li class="social-links-item">
|
||||
<a target="_blank" class="social-links-link"
|
||||
rel="noopener"
|
||||
href="[{$oViewConf->getViewThemeParam('sFacebookUrl')}]">
|
||||
<i class="fab fa-facebook-f"></i> <span>Facebook</span>
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getViewThemeParam('sGooglePlusUrl')}]
|
||||
<li class="social-links-item">
|
||||
<a target="_blank" class="social-links-link"
|
||||
rel="noopener"
|
||||
href="[{$oViewConf->getViewThemeParam('sGooglePlusUrl')}]">
|
||||
<i class="fab fa-google-plus-square"></i> <span>Google+</span>
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getViewThemeParam('sTwitterUrl')}]
|
||||
<li class="social-links-item">
|
||||
<a target="_blank" class="social-links-link"
|
||||
rel="noopener"
|
||||
href="[{$oViewConf->getViewThemeParam('sTwitterUrl')}]">
|
||||
<i class="fab fa-twitter"></i> <span>Twitter</span>
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getViewThemeParam('sYouTubeUrl')}]
|
||||
<li class="social-links-item">
|
||||
<a target="_blank" class="social-links-link"
|
||||
rel="noopener"
|
||||
href="[{$oViewConf->getViewThemeParam('sYouTubeUrl')}]">
|
||||
<i class="fab fa-youtube"></i> <span>YouTube</span>
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getViewThemeParam('sBlogUrl')}]
|
||||
<li class="social-links-item">
|
||||
<a target="_blank" class="social-links-link"
|
||||
rel="noopener"
|
||||
href="[{$oViewConf->getViewThemeParam('sBlogUrl')}]">
|
||||
<i class="fab fa-wordpress"></i> <span>Blog</span>
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</ul>
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{* <<ENDE>> Social Links *}]
|
||||
</div>
|
||||
|
||||
[{if $oView->isPriceCalculated()}]
|
||||
[{block name="layout_page_vatinclude"}]
|
||||
[{block name="footer_deliveryinfo"}]
|
||||
[{oxifcontent ident="oxdeliveryinfo" object="oCont"}]
|
||||
<div class="[{if $blFullwidth}]container[{else}]container-fluid[{/if}]">
|
||||
<div class="vat-info">
|
||||
[{if $oView->isVatIncluded()}]
|
||||
<span class="vat-info-text">* [{oxmultilang ident="PLUS_SHIPPING"}]<a
|
||||
href="[{$oCont->getLink()}]">[{oxmultilang ident="PLUS_SHIPPING2"}]</a></span>
|
||||
[{else}]
|
||||
<span class="vat-info-text">* [{oxmultilang ident="PLUS"}]<a
|
||||
href="[{$oCont->getLink()}]">[{oxmultilang ident="PLUS_SHIPPING2"}]</a></span>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{/oxifcontent}]
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</footer>
|
||||
|
||||
[{oxifcontent ident="oxstdfooter" object="oCont"}]
|
||||
<div class="legal">
|
||||
<div class="[{if $blFullwidth}]container[{else}]container-fluid[{/if}]">
|
||||
<section class="legal-box">
|
||||
[{block name="dd_footer_copyright"}]
|
||||
[{$oCont->oxcontents__oxcontent->value}]
|
||||
[{/block}]
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
[{/oxifcontent}]
|
||||
[{/block}]
|
||||
|
||||
[{if $oView->isRootCatChanged()}]
|
||||
<div id="scRootCatChanged" class="popupBox corners FXgradGreyLight glowShadow" style="display: none;">
|
||||
[{include file="form/privatesales/basketexcl.tpl"}]
|
||||
</div>
|
||||
[{/if}]
|
||||
73
shop/source/Application/views/wave/tpl/layout/header.tpl
Normal file
73
shop/source/Application/views/wave/tpl/layout/header.tpl
Normal file
@@ -0,0 +1,73 @@
|
||||
[{if $oViewConf->getTopActionClassName() != 'clearcookies' && $oViewConf->getTopActionClassName() != 'mallstart'}]
|
||||
[{oxid_include_widget cl="oxwCookieNote" _parent=$oView->getClassName() nocookie=1}]
|
||||
[{/if}]
|
||||
[{block name="header_main"}]
|
||||
[{assign var="blFullwidth" value=$oViewConf->getViewThemeParam('blFullwidthLayout')}]
|
||||
<div class="[{if $blFullwidth}]container-fluid[{else}]container[{/if}]">
|
||||
<header id="header" class="header">
|
||||
<div class="header-box">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6 col-lg-4 order-lg-0 logo-col">
|
||||
[{block name="layout_header_logo"}]
|
||||
[{assign var="slogoImg" value=$oViewConf->getViewThemeParam('sLogoFile')}]
|
||||
[{assign var="sLogoWidth" value=$oViewConf->getViewThemeParam('sLogoWidth')}]
|
||||
[{assign var="sLogoHeight" value=$oViewConf->getViewThemeParam('sLogoHeight')}]
|
||||
<a href="[{$oViewConf->getHomeLink()}]" title="[{$oxcmp_shop->oxshops__oxtitleprefix->value}]" class="logo-link">
|
||||
<img src="[{$oViewConf->getImageUrl($slogoImg)}]" alt="[{$oxcmp_shop->oxshops__oxtitleprefix->value}]" style="[{if $sLogoWidth}]width:auto;max-width:[{$sLogoWidth}]px;[{/if}][{if $sLogoHeight}]height:auto;max-height:[{$sLogoHeight}]px;[{/if}]" class="logo-img">
|
||||
</a>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="col-12 col-md-6 col-lg-4 order-lg-3 menus-col">
|
||||
[{block name="layout_header_top"}]
|
||||
<div class="menu-dropdowns">
|
||||
[{block name="dd_layout_page_header_icon_menu_languages"}]
|
||||
[{* Language Dropdown*}]
|
||||
[{oxid_include_widget cl="oxwLanguageList" lang=$oViewConf->getActLanguageId() _parent=$oView->getClassName() nocookie=1 _navurlparams=$oViewConf->getNavUrlParams() anid=$oViewConf->getActArticleId()}]
|
||||
[{/block}]
|
||||
[{block name="dd_layout_page_header_icon_menu_currencies"}]
|
||||
[{* Currency Dropdown*}]
|
||||
[{oxid_include_widget cl="oxwCurrencyList" cur=$oViewConf->getActCurrency() _parent=$oView->getClassName() nocookie=1 _navurlparams=$oViewConf->getNavUrlParams() anid=$oViewConf->getActArticleId()}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="dd_layout_page_header_icon_menu_account"}]
|
||||
[{if $oxcmp_user || $oView->getCompareItemCount() || $Errors.loginBoxErrors}]
|
||||
[{assign var="blAnon" value=0}]
|
||||
[{assign var="force_sid" value=$oViewConf->getSessionId()}]
|
||||
[{else}]
|
||||
[{assign var="blAnon" value=1}]
|
||||
[{/if}]
|
||||
[{* Account Dropdown *}]
|
||||
[{oxid_include_widget cl="oxwServiceMenu" _parent=$oView->getClassName() force_sid=$force_sid nocookie=$blAnon _navurlparams=$oViewConf->getNavUrlParams() anid=$oViewConf->getActArticleId()}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="dd_layout_page_header_icon_menu_minibasket"}]
|
||||
[{* Minibasket Dropdown *}]
|
||||
[{if $oxcmp_basket->getProductsCount()}]
|
||||
[{assign var="blAnon" value=0}]
|
||||
[{assign var="force_sid" value=$oViewConf->getSessionId()}]
|
||||
[{else}]
|
||||
[{assign var="blAnon" value=1}]
|
||||
[{/if}]
|
||||
[{oxid_include_widget cl="oxwMiniBasket" nocookie=$blAnon force_sid=$force_sid}]
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="col-12 col-lg-4 order-lg-2 search-col">
|
||||
[{include file="widget/header/search.tpl"}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{block name="layout_header_bottom"}]
|
||||
[{oxid_include_widget cl="oxwCategoryTree" cnid=$oView->getCategoryId() sWidgetType="header" _parent=$oView->getClassName() nocookie=1}]
|
||||
[{/block}]
|
||||
|
||||
</header>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{insert name="oxid_newbasketitem" tpl="widget/minibasket/newbasketitemmsg.tpl" type="message"}]
|
||||
[{oxid_include_dynamic file="widget/minibasket/minibasketmodal.tpl"}]
|
||||
81
shop/source/Application/views/wave/tpl/layout/page.tpl
Normal file
81
shop/source/Application/views/wave/tpl/layout/page.tpl
Normal file
@@ -0,0 +1,81 @@
|
||||
[{capture append="oxidBlock_pageBody"}]
|
||||
[{if $oView->showRDFa()}]
|
||||
[{include file="rdfa/rdfa.tpl"}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="layout_header"}]
|
||||
[{include file="layout/header.tpl"}]
|
||||
[{/block}]
|
||||
|
||||
[{assign var="blFullwidth" value=$oViewConf->getViewThemeParam('blFullwidthLayout')}]
|
||||
|
||||
<div id="wrapper" [{if $sidebar}]class="sidebar[{$sidebar}]"[{/if}]>
|
||||
|
||||
<div class="underdog">
|
||||
|
||||
[{*//TODO Add option to switch between fullwidth slider and containered slider*}]
|
||||
<div class="[{if $blFullwidth}]container-fluid[{else}]container[{/if}]">
|
||||
<div class="row">
|
||||
[{if $oView->getClassName()=='start' && $oView->getBanners() && !empty($oView->getBanners())}]
|
||||
[{include file="widget/promoslider.tpl"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="[{if $blFullwidth}]container[{else}]container-fluid[{/if}]">
|
||||
<div class="content-box">
|
||||
|
||||
[{if $oView->getClassName() != "start" && !$blHideBreadcrumb}]
|
||||
[{block name="layout_breadcrumb"}]
|
||||
[{include file="widget/breadcrumb.tpl"}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{$smarty.capture.loginErrors}]
|
||||
|
||||
<div class="row">
|
||||
[{if $sidebar && $sidebar != "Right"}]
|
||||
<div class="col-12 col-md-3 [{$oView->getClassName()}]">
|
||||
<div id="sidebar">
|
||||
[{include file="layout/sidebar.tpl"}]
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
<div class="col-12[{if $sidebar}] col-md-9[{/if}]">
|
||||
|
||||
<div class="content mb-3" id="content">
|
||||
[{block name="content_main"}]
|
||||
[{include file="message/errors.tpl"}]
|
||||
|
||||
[{foreach from=$oxidBlock_content item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
[{if $sidebar && $sidebar == "Right"}]
|
||||
<div class="col-12 col-md-3 [{$oView->getClassName()}]">
|
||||
<div id="sidebar">
|
||||
[{include file="layout/sidebar.tpl"}]
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
[{include file="layout/footer.tpl"}]
|
||||
|
||||
[{block name="layout_init_social"}]
|
||||
[{/block}]
|
||||
|
||||
<i class="fa fa-chevron-circle-up icon-4x" id="jumptotop"></i>
|
||||
[{/capture}]
|
||||
[{include file="layout/base.tpl"}]
|
||||
10
shop/source/Application/views/wave/tpl/layout/popup.tpl
Normal file
10
shop/source/Application/views/wave/tpl/layout/popup.tpl
Normal file
@@ -0,0 +1,10 @@
|
||||
[{capture append="oxidBlock_pageBody"}]
|
||||
<div id="wrapper">
|
||||
<div id="content" class="container">
|
||||
<div class="main-container">
|
||||
[{foreach from=$oxidBlock_content item="_block"}][{$_block}][{/foreach}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/capture}]
|
||||
[{include file="layout/base.tpl"}]
|
||||
58
shop/source/Application/views/wave/tpl/layout/sidebar.tpl
Normal file
58
shop/source/Application/views/wave/tpl/layout/sidebar.tpl
Normal file
@@ -0,0 +1,58 @@
|
||||
[{foreach from=$oxidBlock_sidebar item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
|
||||
[{block name="sidebar"}]
|
||||
[{block name="sidebar_categoriestree"}]
|
||||
[{if $oView->getClassName() == 'alist' }]
|
||||
<div class="box card categorytree">
|
||||
<section>
|
||||
<div class="page-header h3">
|
||||
<div class="pull-right visible-xs visible-sm">
|
||||
<i class="fa fa-caret-down toggleTree"></i>
|
||||
</div>
|
||||
[{oxmultilang ident="CATEGORIES"}]
|
||||
</div>
|
||||
[{oxid_include_widget cl="oxwCategoryTree" cnid=$oView->getCategoryId() deepLevel=0 noscript=1 nocookie=1}]
|
||||
</section>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="sidebar_tags"}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="sidebar_partners"}]
|
||||
[{if $oView->getClassName() eq "start"}]
|
||||
[{include file="widget/sidebar/partners.tpl"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="sidebar_boxproducts"}][{/block}]
|
||||
|
||||
[{block name="sidebar_recommendation"}]
|
||||
[{if $oViewConf->getShowListmania() && $oView->getSimilarRecommListIds()}]
|
||||
[{oxid_include_widget nocookie=1 cl="oxwRecommendation" aArticleIds=$oView->getSimilarRecommListIds() searchrecomm=$oView->getRecommSearch()}]
|
||||
[{elseif $oViewConf->getShowListmania() && $oView->getRecommSearch()}]
|
||||
[{oxid_include_widget nocookie=1 cl="oxwRecommendation" _parent=$oView->getClassName() searchrecomm=$oView->getRecommSearch()}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="sidebar_news"}]
|
||||
[{if $oxcmp_news}]
|
||||
[{if $oxcmp_news|count}]
|
||||
[{include file="widget/sidebar/news.tpl" oNews=$oxcmp_news}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="sidebar_social"}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="sidebar_shopluperatings"}]
|
||||
[{if $oView->getClassName() eq "start"}]
|
||||
[{include file="widget/shoplupe/ratings.tpl"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
|
||||
37
shop/source/Application/views/wave/tpl/message/err_404.tpl
Normal file
37
shop/source/Application/views/wave/tpl/message/err_404.tpl
Normal file
@@ -0,0 +1,37 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<div class="err-404">
|
||||
<h1 class="page-header">[{oxmultilang ident="ERROR"}]</h1>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<p>
|
||||
[{if $sUrl}]
|
||||
[{assign var="sModifiedUrl" value=$sUrl|escape }]
|
||||
[{assign var="sModifiedUrl" value="<i><strong>'"|cat:$sModifiedUrl|cat:"'</strong></i>"}]
|
||||
[{ oxmultilang ident="ERROR_404" args=$sModifiedUrl }]
|
||||
[{else}]
|
||||
[{oxmultilang ident="ERROR_404"}]
|
||||
[{/if}]
|
||||
</p>
|
||||
|
||||
<p>
|
||||
[{oxmultilang ident="DD_ERR_404_START_TEXT"}]<br>
|
||||
<a href="[{$oViewConf->getHomeLink()}]" class="btn btn-outline-dark" title="[{oxmultilang ident="DD_ERR_404_START_BUTTON"}]">[{oxmultilang ident="DD_ERR_404_START_BUTTON"}]</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
[{oxmultilang ident="DD_ERR_404_CONTACT_TEXT"}]<br>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=contact"}]" class="btn btn-outline-dark" title="[{oxmultilang ident="DD_ERR_404_CONTACT_BUTTON"}]">[{oxmultilang ident="DD_ERR_404_CONTACT_BUTTON"}]</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="gears-box hidden-xs">
|
||||
<div class="paper-overlay"></div>
|
||||
<img class="gear-rotate reverse" style="top: -55px; left: 65px;" src="[{$oViewConf->getImageUrl('404/gear.png')}]">
|
||||
<img class="gear-rotate" style="top: 177px; left: -11px;" src="[{$oViewConf->getImageUrl('404/gear.png')}]">
|
||||
<img class="gear-rotate" style="top: 19px; right: -26px;" src="[{$oViewConf->getImageUrl('404/gear.png')}]">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" blHideBreadcrumb=true}]
|
||||
@@ -0,0 +1,7 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<h1 class="pageHead">[{ oxmultilang ident="ERROR" }]</h1>
|
||||
|
||||
[{include file="message/error.tpl" statusMessage="ERROR_MESSAGE_ACCESS_DENIED"|oxmultilangassign}].
|
||||
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" blHideBreadcrumb=true}]
|
||||
11
shop/source/Application/views/wave/tpl/message/err_setup.tpl
Normal file
11
shop/source/Application/views/wave/tpl/message/err_setup.tpl
Normal file
@@ -0,0 +1,11 @@
|
||||
[{capture append="oxidBlock_pageBody"}]
|
||||
<h1 class="page-header">[{oxmultilang ident="ERROR_MESSAGE_OXID_SHOP_ERROR"}]</h1>
|
||||
[{capture append="_error_content"}]
|
||||
<div>
|
||||
<div>[{oxmultilang ident="ERROR_MESSAGE_OXID_SHOP_ERROR"}]</div>
|
||||
<div>[{oxmultilang ident="MESSAGE_PLEASE_DELETE_FOLLOWING_DIRECTORY" suffix="COLON"}] [{$oViewConf->getBaseDir()}]/setup!</div>
|
||||
</div>
|
||||
[{/capture}]
|
||||
[{include file="message/error.tpl" statusMessage=""|implode:$_error_content}]
|
||||
[{/capture}]
|
||||
[{include file="layout/base.tpl"}]
|
||||
@@ -0,0 +1,9 @@
|
||||
[{capture append="oxidBlock_pageBody"}]
|
||||
|
||||
<div class="errorBox">
|
||||
<div class="errHead">[{oxmultilang ident="[{oxmultilang ident="ERROR_MESSAGE_UNKNOWN_ERROR"}] #[{$oView->getErrorNumber()}] !</div>
|
||||
<div class="errBody">[{oxmultilang ident="MESSAGE_PLEASE_CONTACT_SUPPORT"}]</div>
|
||||
</div>
|
||||
|
||||
[{/capture}]
|
||||
[{include file="layout/base.tpl"}]
|
||||
1
shop/source/Application/views/wave/tpl/message/error.tpl
Normal file
1
shop/source/Application/views/wave/tpl/message/error.tpl
Normal file
@@ -0,0 +1 @@
|
||||
<p class="alert alert-danger">[{$statusMessage}]</p>
|
||||
@@ -0,0 +1,8 @@
|
||||
[{if $Errors|is_array && $Errors.default|is_array && !empty($Errors.default)}]
|
||||
[{foreach from=$Errors.default item=oEr key=key}]
|
||||
<p class="alert alert-danger">[{$oEr->getOxMessage()}]</p>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{if $Errors.popup|is_array && !empty($Errors.popup)}]
|
||||
[{include file="message/errors_modal.tpl"}]
|
||||
[{/if}]
|
||||
@@ -0,0 +1,21 @@
|
||||
<div class="modal fade" id="error-popup" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">[{oxmultilang ident="CLOSE"}]</span>
|
||||
</button>
|
||||
<h4 class="modal-title" id="basketModalLabel">[{oxmultilang ident="ERROR"}]</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="modalbasketFlyout" class="basketFlyout">
|
||||
[{foreach from=$Errors.popup item=oEr key=key}]
|
||||
<p class="alert alert-danger">[{$oEr->getOxMessage()}]</p>
|
||||
[{/foreach}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{oxscript add="$('#error-popup').modal('show');"}]
|
||||
21
shop/source/Application/views/wave/tpl/message/exception.tpl
Normal file
21
shop/source/Application/views/wave/tpl/message/exception.tpl
Normal file
@@ -0,0 +1,21 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="MY_DOWNLOADS"|oxmultilangassign}]
|
||||
<div class="errorBox">
|
||||
[{if $Errors|is_array && $Errors.default|is_array && !empty($Errors.default)}]
|
||||
<div class="status error corners">
|
||||
[{foreach from=$Errors.default item=oEr key=key}]
|
||||
<p>[{$oEr->getOxMessage()}]</p>
|
||||
|
||||
<p class="stackTrace">[{$oEr->getStackTrace()|nl2br}];</p>
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="downloads"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,3 @@
|
||||
[{foreach from=$aErrors item="oError"}]
|
||||
<div class="alert alert-danger">[{$oError->getMessage()}]</div>
|
||||
[{/foreach}]
|
||||
@@ -0,0 +1 @@
|
||||
<div class="alert alert-info">[{$statusMessage}]</div>
|
||||
@@ -0,0 +1 @@
|
||||
<p class="alert alert-success">[{$statusMessage}]</p>
|
||||
@@ -0,0 +1,8 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<p>[{oxifcontent ident="oxblocked" object="oCont"}]
|
||||
[{$oCont->oxcontents__oxcontent->value}]
|
||||
[{/oxifcontent}]</p>
|
||||
[{insert name="oxid_tracker"}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl"}]
|
||||
@@ -0,0 +1,154 @@
|
||||
[{assign var="template_title" value="MY_ACCOUNT"|oxmultilangassign}]
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<div class="accountDashboardView">
|
||||
<h1 id="accountMain" class="page-header">[{oxmultilang ident="MY_ACCOUNT"}]
|
||||
"[{$oxcmp_user->oxuser__oxusername->value}]"</h1>
|
||||
|
||||
[{if $oView->getAccountDeletionStatus() === false}]
|
||||
[{assign var="statusMessage" value="DD_DELETE_MY_ACCOUNT_ERROR"|oxmultilangassign}]
|
||||
[{include file="message/error.tpl" statusMessage=$statusMessage}]
|
||||
[{/if}]
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
[{block name="account_dashboard_col1"}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a id="linkAccountPassword" href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_password"}]">[{oxmultilang ident="CHANGE_PASSWORD"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_password"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="CHANGE_PASSWORD"}]</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a id="linkAccountNewsletter" href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_newsletter"}]">[{oxmultilang ident="NEWSLETTER_SETTINGS"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_newsletter"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="NEWSLETTER_SUBSCRIBE_CANCEL"}]</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a id="linkAccountBillship" href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_user"}]">[{oxmultilang ident="BILLING_SHIPPING_SETTINGS"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_user"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="UPDATE_YOUR_BILLING_SHIPPING_SETTINGS"}]</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a id="linkAccountOrder" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_order"}]">[{oxmultilang ident="ORDER_HISTORY"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_order"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="ORDERS"}] [{$oView->getOrderCnt()}]</div>
|
||||
</div>
|
||||
[{if $oView->isEnabledDownloadableFiles()}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a id="linkAccountDownloads" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_downloads"}]">[{oxmultilang ident="MY_DOWNLOADS"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_downloads"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="MY_DOWNLOADS_DESC"}]</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="col-12 col-md-6">
|
||||
[{block name="account_dashboard_col2"}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_noticelist"}]">[{oxmultilang ident="MY_WISH_LIST"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_noticelist"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="PRODUCT"}] [{if $oxcmp_user}][{$oxcmp_user->getNoticeListArtCnt()}][{else}]0[{/if}]</div>
|
||||
</div>
|
||||
[{if $oViewConf->getShowWishlist()}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_wishlist"}]">[{oxmultilang ident="MY_GIFT_REGISTRY"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_wishlist"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="PRODUCT"}] [{if $oxcmp_user}][{$oxcmp_user->getWishListArtCnt()}][{else}]0[{/if}]</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getShowCompareList()}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=compare"}]">[{oxmultilang ident="MY_PRODUCT_COMPARISON"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=compare"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="PRODUCT"}] [{if $oView->getCompareItemsCnt()}][{$oView->getCompareItemsCnt()}][{else}]0[{/if}]</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getShowListmania()}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_recommlist"}]">[{oxmultilang ident="MY_LISTMANIA"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_recommlist"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="LISTS"}] [{if $oxcmp_user->getRecommListsCount()}][{$oxcmp_user->getRecommListsCount()}][{else}]0[{/if}]</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{if $oView->isUserAllowedToManageOwnReviews()}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_reviewlist"}]">[{oxmultilang ident="MY_REVIEWS"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_reviewlist"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="MY_REVIEWS"}] [{if $oView->getReviewAndRatingItemsCount()}][{$oView->getReviewAndRatingItemsCount()}][{else}]0[{/if}]</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
[{block name="account_dashboard_delete_my_account"}]
|
||||
<div class="col-6">
|
||||
[{if $oView->isUserAllowedToDeleteOwnAccount()}]
|
||||
<button
|
||||
class="btn btn-danger"
|
||||
data-toggle="modal"
|
||||
data-target="#delete_my_account_confirmation"
|
||||
>
|
||||
<i class="fa fa-trash"></i>
|
||||
[{oxmultilang ident="DD_DELETE_MY_ACCOUNT"}]
|
||||
</button>
|
||||
[{include file="page/account/delete_my_account_confirmation.tpl"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/block}]
|
||||
<div class="col-6 text-right">
|
||||
<a href="[{$oViewConf->getLogoutLink()}]" class="btn btn-warning" role="getLogoutLink">
|
||||
<i class="fa fa-power-off"></i> [{oxmultilang ident="LOGOUT"}]
|
||||
</a>
|
||||
</div>
|
||||
<p> </p>
|
||||
</div>
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,50 @@
|
||||
[{block name="account_delete_my_account_confirmation"}]
|
||||
<div
|
||||
class="modal fade"
|
||||
id="delete_my_account_confirmation"
|
||||
tabindex="-1"
|
||||
role="dialog"
|
||||
aria-labelledby="delete_my_account_modal_label"
|
||||
aria-hidden="true"
|
||||
>
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
[{block name="account_delete_my_account_confirmation_header_message"}]
|
||||
<span class="h4 modal-title">[{oxmultilang ident="DD_DELETE_MY_ACCOUNT_CONFIRMATION_QUESTION"}]</span>
|
||||
[{/block}]
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
[{block name="account_delete_my_account_confirmation_warning_message"}]
|
||||
<div class="alert alert-danger">
|
||||
[{oxmultilang ident="DD_DELETE_MY_ACCOUNT_WARNING"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{block name="account_delete_my_account_confirmation_form"}]
|
||||
<form name="delete_my_account" action="[{$oViewConf->getSelfActionLink()}]"
|
||||
method="post" role="form">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="account">
|
||||
<input type="hidden" name="fnc" value="deleteAccount">
|
||||
</div>
|
||||
[{block name="account_delete_my_account_confirmation_form_button_set"}]
|
||||
<button type="submit" class="btn btn-danger">
|
||||
[{oxmultilang ident="DD_DELETE_MY_ACCOUNT"}]
|
||||
</button>
|
||||
<button type="button" class="btn btn-outline-dark" data-dismiss="modal">
|
||||
[{oxmultilang ident="DD_DELETE_MY_ACCOUNT_CANCEL"}]
|
||||
</button>
|
||||
[{/block}]
|
||||
</form>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
@@ -0,0 +1,51 @@
|
||||
[{block name="delete_review_confirmation_modal"}]
|
||||
<div class="modal fade"
|
||||
id="delete_review_[{$reviewCounterIteration}]"
|
||||
tabindex="-1"
|
||||
role="dialog"
|
||||
>
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
[{block name="delete_review_confirmation_modal_header"}]
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<span class="h4 modal-title">[{oxmultilang ident="DD_DELETE_REVIEW_CONFIRMATION_QUESTION"}]</span>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
[{block name="delete_review_confirmation_modal_body"}]
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
[{block name="delete_review_confirmation_modal_form"}]
|
||||
<form
|
||||
action="[{$oViewConf->getSslSelfLink()}]"
|
||||
method="post"
|
||||
id="remove_review_[{$reviewCounterIteration}]"
|
||||
>
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input name="pgNr" value="[{$oView->getActPage()}]" type="hidden">
|
||||
<input name="cl" value="account_reviewlist" type="hidden">
|
||||
<input name="fnc" value="deleteReviewAndRating" type="hidden">
|
||||
<input name="reviewId" value="[{$reviewId}]" type="hidden">
|
||||
<input name="ratingId" value="[{$ratingId}]" type="hidden">
|
||||
[{block name="delete_review_confirmation_modal_buttons_set"}]
|
||||
<div class="text-right">
|
||||
<button type="submit" class="btn btn-danger">
|
||||
[{oxmultilang ident="DD_DELETE"}]
|
||||
</button>
|
||||
<button type="button" class="btn btn-outline-dark" data-dismiss="modal">
|
||||
[{oxmultilang ident="CANCEL"}]
|
||||
</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
</form>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
@@ -0,0 +1,52 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="MY_DOWNLOADS"|oxmultilangassign}]
|
||||
<h1 class="page-header">[{oxmultilang ident="MY_DOWNLOADS"}]</h1>
|
||||
[{if $oView->getOrderFilesList()|count}]
|
||||
<ol class="list-unstyled downloadList">
|
||||
[{foreach from=$oView->getOrderFilesList() item="oOrderArticle"}]
|
||||
<li>
|
||||
[{foreach from=$oOrderArticle.oxorderfiles item="oOrderFile"}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="row">
|
||||
<div class="col-9">
|
||||
<strong>[{$oOrderArticle.oxarticletitle}]</strong> – [{oxmultilang ident="ORDER_NUMBER"}]: [{$oOrderArticle.oxordernr}], [{$oOrderArticle.oxorderdate|date_format:"%d.%m.%Y"}]
|
||||
</div>
|
||||
<div class="col-3">
|
||||
[{if $oOrderFile->isPaid() || !$oOrderFile->oxorderfiles__oxpurchasedonly->value }]
|
||||
<a class="btn btn-success btn-sm pull-right" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=download" params="sorderfileid="|cat:$oOrderFile->getId()}]" title="[{$oOrderFile->oxorderfiles__oxfilename->value}] [{oxmultilang ident="DD_DOWNLOADS_DOWNLOAD_TOOLTIP"}]">
|
||||
<i class="fa fa-download"></i> [{oxmultilang ident="DD_DOWNLOADS_DOWNLOAD_TOOLTIP"}]
|
||||
</a>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{if $oOrderFile->isPaid() || !$oOrderFile->oxorderfiles__oxpurchasedonly->value }]
|
||||
[{if $oOrderFile->isValid()}]
|
||||
<strong>[{oxmultilang ident="DD_FILE_ATTRIBUTES_FILENAME" suffix="COLON"}]</strong> [{$oOrderFile->oxorderfiles__oxfilename->value}]<br>
|
||||
[{include file="page/account/inc/file_attributes.tpl"}]
|
||||
[{else}]
|
||||
[{$oOrderFile->oxorderfiles__oxfilename->value}]
|
||||
[{oxmultilang ident="DOWNLOAD_LINK_EXPIRED_OR_MAX_COUNT_RECEIVED"}]
|
||||
[{/if}]
|
||||
[{else}]
|
||||
<span class="downloadableFile pending">[{$oOrderFile->oxorderfiles__oxfilename->value}]</span>
|
||||
<strong>[{oxmultilang ident="DOWNLOADS_PAYMENT_PENDING"}]</strong>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ol>
|
||||
[{else}]
|
||||
<p class="alert alert-info">[{oxmultilang ident="DOWNLOADS_EMPTY"}]</p>
|
||||
[{/if}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="downloads"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,64 @@
|
||||
[{capture append="oxidBlock_pageBody"}]
|
||||
[{if $oView->isEnabledPrivateSales()}]
|
||||
[{oxid_include_widget cl="oxwCookieNote" _parent=$oView->getClassName() nocookie=1}]
|
||||
[{/if}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_content"}]
|
||||
|
||||
[{if $oView->showUpdateScreen()}]
|
||||
[{assign var="template_title" value="NEW_PASSWORD"|oxmultilangassign}]
|
||||
[{elseif $oView->updateSuccess()}]
|
||||
[{assign var="template_title" value="CHANGE_PASSWORD"|oxmultilangassign}]
|
||||
[{else}]
|
||||
[{assign var="template_title" value="FORGOT_PASSWORD"|oxmultilangassign}]
|
||||
[{/if}]
|
||||
|
||||
<h1 class="page-header">[{$template_title}]</h1>
|
||||
|
||||
[{if $oView->isExpiredLink()}]
|
||||
<div class="alert alert-danger">[{oxmultilang ident="ERROR_MESSAGE_PASSWORD_LINK_EXPIRED"}]</div>
|
||||
[{elseif $oView->showUpdateScreen()}]
|
||||
[{include file="form/forgotpwd_change_pwd.tpl"}]
|
||||
[{elseif $oView->updateSuccess()}]
|
||||
<div class="alert alert-success">[{oxmultilang ident="PASSWORD_CHANGED"}]</div>
|
||||
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" name="forgotpwd" method="post" role="form">
|
||||
<div>
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="start">
|
||||
<button id="backToShop" class="submitButton largeButton btn btn-primary" type="submit">
|
||||
<i class="fa fa-caret-left"></i> [{oxmultilang ident="BACK_TO_SHOP"}]
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
[{else}]
|
||||
[{if $oView->getForgotEmail()}]
|
||||
[{block name="page_account_forgot_email_sent"}]
|
||||
<div class="alert alert-info">[{oxmultilang ident="PASSWORD_WAS_SEND_TO"}] [{$oView->getForgotEmail()}]</div>
|
||||
<div class="bar">
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" name="forgotpwd" method="post">
|
||||
<div>
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="start">
|
||||
<button id="backToShop" class="btn btn-primary submitButton largeButton" type="submit">
|
||||
<i class="fa fa-caret-left"></i> [{oxmultilang ident="BACK_TO_SHOP"}]
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{include file="form/forgotpwd_email.tpl"}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
[{if !$oView->isActive('PsLogin')}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/if}]
|
||||
[{/capture}]
|
||||
[{if $oView->isActive('PsLogin')}]
|
||||
[{include file="layout/popup.tpl"}]
|
||||
[{else}]
|
||||
[{include file="layout/page.tpl"}]
|
||||
[{/if}]
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
<nav id="account_menu" class="account-menu">
|
||||
<ul class="list-group">
|
||||
[{block name="account_menu"}]
|
||||
<li class="list-group-item[{if $active_link == "password"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_password"}]" title="[{oxmultilang ident="CHANGE_PASSWORD"}]">[{oxmultilang ident="CHANGE_PASSWORD"}]</a>
|
||||
</li>
|
||||
<li class="list-group-item[{if $active_link == "newsletter"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_newsletter"}]" title="[{oxmultilang ident="NEWSLETTER_SETTINGS"}]">[{oxmultilang ident="NEWSLETTER_SETTINGS"}]</a>
|
||||
</li>
|
||||
<li class="list-group-item[{if $active_link == "billship"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_user"}]" title="[{oxmultilang ident="BILLING_SHIPPING_SETTINGS"}]">[{oxmultilang ident="BILLING_SHIPPING_SETTINGS"}]</a>
|
||||
</li>
|
||||
<li class="list-group-item[{if $active_link == "orderhistory"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_order"}]" title="[{oxmultilang ident="ORDER_HISTORY"}]">[{oxmultilang ident="ORDER_HISTORY"}]</a>
|
||||
</li>
|
||||
[{if $oViewConf->getShowCompareList()}]
|
||||
<li class="list-group-item[{if $active_link == "compare"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=compare"}]" title="[{oxmultilang ident="MY_PRODUCT_COMPARISON"}]">[{oxmultilang ident="MY_PRODUCT_COMPARISON"}][{if $oView->getCompareItemCount() > 0}] <span class="badge">[{$oView->getCompareItemCount()}]</span>[{/if}]</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
<li class="list-group-item[{if $active_link == "noticelist"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_noticelist"}]" title="[{oxmultilang ident="MY_WISH_LIST"}]">[{oxmultilang ident="MY_WISH_LIST"}][{if $oxcmp_user && $oxcmp_user->getNoticeListArtCnt() > 0}] <span class="badge">[{$oxcmp_user->getNoticeListArtCnt()}]</span>[{/if}]</a>
|
||||
</li>
|
||||
[{if $oViewConf->getShowWishlist()}]
|
||||
<li class="list-group-item[{if $active_link == "wishlist"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_wishlist"}]" title="[{oxmultilang ident="MY_GIFT_REGISTRY"}]">[{oxmultilang ident="MY_GIFT_REGISTRY"}][{if $oxcmp_user && $oxcmp_user->getWishListArtCnt() > 0}] <span class="badge">[{$oxcmp_user->getWishListArtCnt()}]</span>[{/if}]</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getShowListmania()}]
|
||||
<li class="list-group-item[{if $active_link == "recommendationlist"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_recommlist"}]" title="[{oxmultilang ident="MY_LISTMANIA"}]">[{oxmultilang ident="MY_LISTMANIA"}]</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oView->isEnabledDownloadableFiles()}]
|
||||
<li class="list-group-item[{if $active_link == "downloads"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_downloads"}]" title="[{oxmultilang ident="MY_DOWNLOADS"}]">[{oxmultilang ident="MY_DOWNLOADS"}]</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oView->isUserAllowedToManageOwnReviews()}]
|
||||
<li class="list-group-item[{if $active_link == "reviewlist"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_reviewlist"}]" title="[{oxmultilang ident="MY_REVIEWS"}]">[{oxmultilang ident="MY_REVIEWS"}]
|
||||
[{if $oView->getReviewAndRatingItemsCount() > 0}]<span class="badge">[{$oView->getReviewAndRatingItemsCount()}]</span>[{/if}]</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</ul>
|
||||
</nav>
|
||||
@@ -0,0 +1,19 @@
|
||||
<strong>[{oxmultilang ident="DD_FILE_ATTRIBUTES_FILESIZE" suffix="COLON"}]</strong> [{$oOrderFile->getFileSize()|oxfilesize}]
|
||||
|
||||
[{if $oOrderFile->oxorderfiles__oxdownloadcount->value == 0 && $oOrderFile->getValidUntil() != "0000-00-00 00:00" }]
|
||||
[{if $oOrderFile->oxorderfiles__oxlinkexpirationtime->value || $oOrderFile->oxorderfiles__oxdownloadxpirationtime->value}]
|
||||
<br>[{oxmultilang ident="START_DOWNLOADING_UNTIL"}] [{$oOrderFile->getValidUntil()|date_format:"%d.%m.%Y"}] [{$oOrderFile->getValidUntil()|date_format:"%H:%M:%S"}] [{oxmultilang ident="DD_FILE_ATTRIBUTES_OCLOCK"}].
|
||||
[{/if}]
|
||||
[{if $oOrderFile->oxorderfiles__oxmaxdownloadcount->value != 0}]
|
||||
<br><strong>[{oxmultilang ident="LEFT_DOWNLOADS"}]:</strong> [{$oOrderFile->getLeftDownloadCount()}]
|
||||
[{/if}]
|
||||
[{else}]
|
||||
[{if $oOrderFile->getValidUntil() != "0000-00-00 00:00" }]
|
||||
[{if $oOrderFile->oxorderfiles__oxlinkexpirationtime->value || $oOrderFile->oxorderfiles__oxdownloadxpirationtime->value}]
|
||||
<br><strong>[{oxmultilang ident="LINK_VALID_UNTIL"}]:</strong> [{$oOrderFile->getValidUntil()|date_format:"%d.%m.%Y"}] [{$oOrderFile->getValidUntil()|date_format:"%H:%M:%S"}] [{oxmultilang ident="DD_FILE_ATTRIBUTES_OCLOCK"}].
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{if $oOrderFile->oxorderfiles__oxmaxdownloadcount->value != 0}]
|
||||
<br><strong>[{oxmultilang ident="LEFT_DOWNLOADS"}]:</strong> [{$oOrderFile->getLeftDownloadCount()}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
@@ -0,0 +1,10 @@
|
||||
[{assign var="template_title" value="REGISTER"|oxmultilangassign}]
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<div class="accountLoginView">
|
||||
<h1 id="loginAccount" class="page-header">[{oxmultilang ident="LOGIN"}]</h1>
|
||||
[{include file="form/login_account.tpl"}]
|
||||
</div>
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl"}]
|
||||
@@ -0,0 +1,20 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="NEWSLETTER_SETTINGS"|oxmultilangassign}]
|
||||
[{if $oView->getSubscriptionStatus() != 0}]
|
||||
[{if $oView->getSubscriptionStatus() == 1}]
|
||||
<div class="alert alert-success">[{oxmultilang ident="MESSAGE_NEWSLETTER_SUBSCRIPTION_SUCCESS"}]</div>
|
||||
[{else}]
|
||||
<div class="alert alert-success">[{oxmultilang ident="MESSAGE_NEWSLETTER_SUBSCRIPTION_CANCELED"}]</div>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
<h1 id="newsletterSettingsHeader" class="page-header">[{oxmultilang ident="NEWSLETTER_SETTINGS"}]</h1>
|
||||
|
||||
[{include file="form/account_newsletter.tpl"}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="newsletter"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,16 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="MY_WISH_LIST"|oxmultilangassign}]
|
||||
<h1 class="page-header">[{oxmultilang ident="MY_WISH_LIST"}]</h1>
|
||||
|
||||
[{if $oView->getNoticeProductList()}]
|
||||
[{include file="widget/product/list.tpl" type="line" listId="noticelistProductList" title="" products=$oView->getNoticeProductList() removeFunction="tonoticelist" owishid=$oxcmp_user->oxuser__oxid->value}]
|
||||
[{else}]
|
||||
<p class="alert alert-info">[{oxmultilang ident="WISH_LIST_EMPTY"}]</p>
|
||||
[{/if}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="noticelist"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
108
shop/source/Application/views/wave/tpl/page/account/order.tpl
Normal file
108
shop/source/Application/views/wave/tpl/page/account/order.tpl
Normal file
@@ -0,0 +1,108 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="ORDER_HISTORY"|oxmultilangassign}]
|
||||
<h1 class="page-header">[{oxmultilang ident="ORDER_HISTORY"}]</h1>
|
||||
|
||||
[{assign var=oOrders value=$oView->getOrderList()}]
|
||||
|
||||
[{block name="account_order_history"}]
|
||||
[{if $oOrders && !empty($oOrders)}]
|
||||
[{assign var=oArticleList value=$oView->getOrderArticleList()}]
|
||||
<ol class="list-unstyled">
|
||||
[{foreach from=$oOrders item=order}]
|
||||
<li>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<strong>[{oxmultilang ident="DATE" suffix="COLON"}]</strong>
|
||||
<span id="accOrderDate_[{$order->oxorder__oxordernr->value}]">[{$order->oxorder__oxorderdate->value|date_format:"%d.%m.%Y"}]</span>
|
||||
<span>[{$order->oxorder__oxorderdate->value|date_format:"%H:%M:%S"}]</span>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<strong>[{oxmultilang ident="STATUS"}]</strong>
|
||||
<span id="accOrderStatus_[{$order->oxorder__oxordernr->value}]">
|
||||
[{if $order->oxorder__oxstorno->value}]
|
||||
<span class="note">[{oxmultilang ident="ORDER_IS_CANCELED"}]</span>
|
||||
[{elseif $order->oxorder__oxsenddate->value !="-"}]
|
||||
<span>[{oxmultilang ident="SHIPPED"}]</span>
|
||||
[{else}]
|
||||
<span class="note">[{oxmultilang ident="NOT_SHIPPED_YET"}]</span>
|
||||
[{/if}]
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<strong>[{oxmultilang ident="ORDER_NUMBER"}]</strong>
|
||||
<span id="accOrderNo_[{$order->oxorder__oxordernr->value}]">[{$order->oxorder__oxordernr->value}]</span>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<strong>[{oxmultilang ident="SHIPMENT_TO"}]</strong>
|
||||
<span id="accOrderName_[{$order->oxorder__oxordernr->value}]">
|
||||
[{if $order->oxorder__oxdellname->value}]
|
||||
[{$order->oxorder__oxdelfname->value}]
|
||||
[{$order->oxorder__oxdellname->value}]
|
||||
[{else}]
|
||||
[{$order->oxorder__oxbillfname->value}]
|
||||
[{$order->oxorder__oxbilllname->value}]
|
||||
[{/if}]
|
||||
</span>
|
||||
[{if $order->getShipmentTrackingUrl()}]
|
||||
| <strong>[{oxmultilang ident="TRACKING_ID"}]</strong>
|
||||
<span id="accOrderTrack_[{$order->oxorder__oxordernr->value}]">
|
||||
<a href="[{$order->getShipmentTrackingUrl()}]">[{oxmultilang ident="TRACK_SHIPMENT"}]</a>
|
||||
</span>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<strong>[{oxmultilang ident="CART"}]</strong>
|
||||
[{block name="account_order_history_cart_items"}]
|
||||
<ol class="list-unstyled">
|
||||
[{foreach from=$order->getOrderArticles(true) item=orderitem name=testOrderItem}]
|
||||
[{assign var=sArticleId value=$orderitem->oxorderarticles__oxartid->value}]
|
||||
[{assign var=oArticle value=$oArticleList[$sArticleId]}]
|
||||
<li id="accOrderAmount_[{$order->oxorder__oxordernr->value}]_[{$smarty.foreach.testOrderItem.iteration}]">
|
||||
[{$orderitem->oxorderarticles__oxamount->value}] [{oxmultilang ident="QNT"}]
|
||||
[{if $oArticle->oxarticles__oxid->value && $oArticle->isVisible()}]
|
||||
<a id="accOrderLink_[{$order->oxorder__oxordernr->value}]_[{$smarty.foreach.testOrderItem.iteration}]" href="[{$oArticle->getLink()}]">
|
||||
[{/if}]
|
||||
[{$orderitem->oxorderarticles__oxtitle->value}] [{$orderitem->oxorderarticles__oxselvariant->value}] <span class="amount"></span>
|
||||
[{if $oArticle->oxarticles__oxid->value && $oArticle->isVisible()}]
|
||||
</a>
|
||||
[{/if}]
|
||||
[{foreach key=sVar from=$orderitem->getPersParams() item=aParam}]
|
||||
[{if $aParam}]
|
||||
<br />[{oxmultilang ident="DETAILS"}]: [{$aParam}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
[{* Commented due to Trusted Shops precertification. Enable if needed *}]
|
||||
[{*
|
||||
[{oxhasrights ident="TOBASKET"}]
|
||||
[{if $oArticle->isBuyable()}]
|
||||
[{if $oArticle->oxarticles__oxid->value}]
|
||||
<a id="accOrderToBasket_[{$order->oxorder__oxordernr->value}]_[{$smarty.foreach.testOrderItem.iteration}]" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_order" params="fnc=tobasket&aid=`$oArticle->oxarticles__oxid->value`&am=1"}]">[{oxmultilang ident="TO_CART"}]</a>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/oxhasrights}]
|
||||
*}]
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ol>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ol>
|
||||
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigation() place="bottom"}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="ORDER_EMPTY_HISTORY"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="orderhistory"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,28 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="CHANGE_PASSWORD"|oxmultilangassign}]
|
||||
|
||||
[{if $oView->isPasswordChanged()}]
|
||||
<div class="alert alert-success">
|
||||
[{oxmultilang ident="MESSAGE_PASSWORD_CHANGED"}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{if $Errors|is_array && $Errors.user|is_array && !empty($Errors.user)}]
|
||||
<div class="alert alert-danger">
|
||||
[{foreach from=$Errors.user item=oEr key=key}]
|
||||
<p>[{$oEr->getOxMessage()}]</p>
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
<h1 id="personalSettingsHeader" class="page-header">[{oxmultilang ident="CHANGE_PASSWORD"}]</h1>
|
||||
|
||||
[{include file="form/user_password.tpl"}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="password"}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,12 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="product" value=$oView->getProduct()}]
|
||||
[{assign var="template_title" value=$product->oxarticles__oxtitle->value|cat:" "|cat:$product->oxarticles__oxvarselect->value}]
|
||||
|
||||
<h1 class="page-header">[{$template_title}]</h1>
|
||||
|
||||
[{oxid_include_dynamic file="form/recommendation_add.tpl" testid=""}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="LISTMANIA"|oxmultilangassign}]
|
||||
[{if $oView->getActiveRecommList()}]
|
||||
[{assign var="_actvrecommlist" value=$oView->getActiveRecommList()}]
|
||||
[{assign var="recommendation_head" value=$_actvrecommlist->oxrecommlists__oxtitle->value}]
|
||||
|
||||
<h1 class="page-header">[{$recommendation_head}]</h1>
|
||||
<div class="listmaniaView">
|
||||
[{include file="form/recommendation_edit.tpl" actvrecommlist=$_actvrecommlist}]
|
||||
</div>
|
||||
[{if $oView->getArticleList()}]
|
||||
[{assign var="blEdit" value=true}]
|
||||
[{include file="widget/product/list.tpl" type="line" listId="recommendProductList" products=$oView->getArticleList() recommid=$_actvrecommlist->getId() removeFunction="removeArticle"}]
|
||||
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigation() place="bottom"}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="recommendationlist"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,30 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="LISTMANIA"|oxmultilangassign}]
|
||||
[{assign var="_actvrecommlist" value=$oView->getActiveRecommList()}]
|
||||
|
||||
<h1 class="page-header">[{oxmultilang ident="LISTMANIA"}]</h1>
|
||||
|
||||
[{if $oView->isSavedList()}]
|
||||
[{assign var="_statusMessage" value="LISTMANIA_LIST_SAVED"|oxmultilangassign}]
|
||||
[{include file="message/success.tpl" statusMessage=$_statusMessage}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="account_redommendationlist_content"}]
|
||||
|
||||
[{include file="form/recommendation_edit.tpl" actvrecommlist=$_actvrecommlist}]
|
||||
|
||||
<hr>
|
||||
|
||||
[{if !$oView->getActiveRecommList()}]
|
||||
[{assign var="blEdit" value=true}]
|
||||
[{include file="page/recommendations/inc/list.tpl"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="recommendationlist"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
[{capture append="oxidBlock_pageBody"}]
|
||||
[{if $oView->isEnabledPrivateSales()}]
|
||||
[{oxid_include_widget cl="oxwCookieNote" _parent=$oView->getClassName() nocookie=1}]
|
||||
[{/if}]
|
||||
[{/capture}]
|
||||
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="OPEN_ACCOUNT"|oxmultilangassign}]
|
||||
[{if $oView->isActive('PsLogin')}]
|
||||
[{include file="message/errors.tpl"}]
|
||||
[{/if}]
|
||||
|
||||
<h1 id="openAccHeader" class="page-header">[{oxmultilang ident="OPEN_ACCOUNT"}]</h1>
|
||||
[{include file="form/register.tpl"}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{if $oView->isActive('PsLogin')}]
|
||||
[{include file="layout/popup.tpl"}]
|
||||
[{else}]
|
||||
[{include file="layout/page.tpl" sidebar="Right"}]
|
||||
[{/if}]
|
||||
@@ -0,0 +1,10 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="MESSAGE_WELCOME_REGISTERED_USER"|oxmultilangassign}]
|
||||
<h1 id="openAccHeader" class="page-header">[{oxmultilang ident="MESSAGE_WELCOME_REGISTERED_USER"}]</h1>
|
||||
<div class="box info">
|
||||
[{oxmultilang ident="MESSAGE_ACCOUNT_REGISTRATION_CONFIRMED"}]
|
||||
</div>
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="MESSAGE_WELCOME_REGISTERED_USER"|oxmultilangassign}]
|
||||
<h1 id="openAccHeader" class="page-header">[{oxmultilang ident="MESSAGE_WELCOME_REGISTERED_USER"}]</h1>
|
||||
<div class="box info">
|
||||
[{if $oView->getRegistrationStatus() == 1}]
|
||||
[{oxmultilang ident="MESSAGE_CONFIRMING_REGISTRATION"}]
|
||||
[{elseif $oView->getRegistrationStatus() == 2}]
|
||||
[{oxmultilang ident="MESSAGE_SENT_CONFIRMATION_EMAIL"}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->getRegistrationError() == 4}]
|
||||
<div>
|
||||
[{oxmultilang ident="MESSAGE_NOT_ABLE_TO_SEND_EMAIL"}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</div>
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{if $oView->isActive('PsLogin')}]
|
||||
[{include file="layout/popup.tpl"}]
|
||||
[{else}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
[{/if}]
|
||||
@@ -0,0 +1,94 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
|
||||
[{oxscript include="js/widgets/oxlistremovebutton.min.js" priority=10}]
|
||||
|
||||
[{block name="account_reviewlist_header"}]
|
||||
[{assign var="template_title" value="MY_REVIEWS"|oxmultilangassign}]
|
||||
<h1 class="page-header">[{oxmultilang ident="MY_REVIEWS"}]</h1>
|
||||
[{/block}]
|
||||
|
||||
[{block name="account_reviewlist_list"}]
|
||||
<div id="review">
|
||||
[{if $oView->getReviewAndRatingItemsCount() }]
|
||||
<div class="spacer"></div>
|
||||
<div class="reviews-landscape">
|
||||
[{foreach from=$oView->getReviewList() item=review name=ReviewsCounter}]
|
||||
[{block name="account_reviewlist_item"}]
|
||||
<div class="card" id="reviewName_[{$smarty.foreach.ReviewsCounter.iteration}]" itemprop="review" itemscope itemtype="http://schema.org/Review">
|
||||
<div class="card-header">
|
||||
<div class="row">
|
||||
<div class="col-md-3 date">
|
||||
<span>
|
||||
<time itemprop="datePublished" datetime="[{$review->getCreatedAt()|date_format:"%Y-%m-%d"}]">[{$review->getCreatedAt()|date_format:"%d.%m.%Y"}]</time>
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-md-5 articleTitle">
|
||||
<span itemprop="itemreviewed">[{$review->getObjectTitle()|truncate:60}]</span>
|
||||
</div>
|
||||
<div class="col-md-3 rating text-right">
|
||||
[{if $review->getRating()}]
|
||||
<div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
|
||||
[{section name="starRatings" start=0 loop=5}]
|
||||
[{if $review->getRating() >= $smarty.section.starRatings.iteration}]
|
||||
<i class="fas fa-star"></i>
|
||||
[{else}]
|
||||
<i class="far fa-star"></i>
|
||||
[{/if}]
|
||||
[{/section}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</div>
|
||||
[{block name="account_reviewlist_item_action"}]
|
||||
<div class="col-md-1 pull-right">
|
||||
<div class="actions text-center">
|
||||
<div class="btn-group">
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-danger btn-block hasTooltip"
|
||||
title="[{oxmultilang ident="DD_DELETE_REVIEW_AND_RATING"}]"
|
||||
data-toggle="modal"
|
||||
data-target="#delete_review_[{$smarty.foreach.ReviewsCounter.iteration}]"
|
||||
>
|
||||
<i class="fa fa-trash"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
[{if $review->getReviewText()}]
|
||||
<div class="card-body" id="reviewText_[{$smarty.foreach.ReviewsCounter.iteration}]" itemprop="description">[{$review->getReviewText()}]</div>
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{include
|
||||
file="page/account/delete_review_confirmation.tpl"
|
||||
reviewId=$review->getReviewId()
|
||||
ratingId=$review->getRatingId()
|
||||
reviewCounterIteration=$smarty.foreach.ReviewsCounter.iteration
|
||||
}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{else}]
|
||||
[{block name="account_reviewlist_no_reviews_available"}]
|
||||
<div class="alert alert-info">
|
||||
[{oxmultilang ident="DD_REVIEWS_NOT_AVAILABLE"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="account_reviewlist_locator"}]
|
||||
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigation() place="bottom"}]
|
||||
[{/block}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="reviewlist"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
12
shop/source/Application/views/wave/tpl/page/account/user.tpl
Normal file
12
shop/source/Application/views/wave/tpl/page/account/user.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<h1 id="addressSettingsHeader" class="page-header">[{$oView->getTitle()}]</h1>
|
||||
|
||||
[{block name="account_user_form"}]
|
||||
[{include file="form/user.tpl"}]
|
||||
[{/block}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="billship"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user