OXID eShop CE 4.10.1 tpl/email/html/order_owner.tpl 
[{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() }]
[{include file="email/html/header.tpl" title=$shop->oxshops__oxordersubject->value}]
10 
11  [{block name="email_html_order_owner_orderemail"}]
12  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 10px 0;">
13  [{if $payment->oxuserpayments__oxpaymentsid->value == "oxempty"}]
14  [{oxcontent ident="oxadminordernpemail"}]
15  [{else}]
16  [{oxcontent ident="oxadminorderemail"}]
17  [{/if}]
18 
19  [{oxmultilang ident="ORDER_NUMBER" }] <b>[{ $order->oxorder__oxordernr->value }]</b>
20  </p>
21  [{/block}]
22 
23  <table border="0" cellspacing="0" cellpadding="0" width="100%">
24  <tr>
25  <td height="15" width="100" style="padding: 5px; border-bottom: 4px solid #ddd;">
26  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 0;"><b>[{oxmultilang ident="PRODUCT" }]</b></p>
27  </td>
28  <td style="padding: 5px; border-bottom: 4px solid #ddd;">
29  &nbsp;
30  </td>
31  <td style="padding: 5px; border-bottom: 4px solid #ddd;">
32  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 0;"><b>[{oxmultilang ident="UNIT_PRICE" }]</b></p>
33  </td>
34  <td style="padding: 5px; border-bottom: 4px solid #ddd;">
35  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 0;"><b>[{oxmultilang ident="QUANTITY" }]</b></p>
36  </td>
37  <td style="padding: 5px; border-bottom: 4px solid #ddd;">
38  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 0;"><b>[{oxmultilang ident="VAT" }]</b></p>
39  </td>
40  <td style="padding: 5px; border-bottom: 4px solid #ddd;">
41  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 0;"><b>[{oxmultilang ident="TOTAL" }]</b></p>
42  </td>
43  </tr>
44  [{assign var="basketitemlist" value=$basket->getBasketArticles() }]
45  [{foreach key=basketindex from=$basket->getContents() item=basketitem}]
46  [{block name="email_html_order_owner_basketitem"}]
47  [{assign var="basketproduct" value=$basketitemlist.$basketindex }]
48  <tr valign="top">
49  <td style="padding: 5px; border-bottom: 4px solid #ddd;">
50  <img src="[{$basketproduct->getThumbnailUrl(false) }]" border="0" hspace="0" vspace="0" alt="[{$basketitem->getTitle()|strip_tags}]" align="texttop">
51  [{if $oViewConf->getShowGiftWrapping() }]
52  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 10px 0;">
53  [{assign var="oWrapping" value=$basketitem->getWrapping() }]
54  <b>[{oxmultilang ident="GIFT_WRAPPING" suffix="COLON" }]&nbsp;</b>[{if !$basketitem->getWrappingId() }][{oxmultilang ident="NONE" }][{else}][{$oWrapping->oxwrapping__oxname->value}][{/if}]
55  </p>
56  [{/if}]
57  </td>
58  <td style="padding: 5px; border-bottom: 4px solid #ddd;">
59  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 10px 0;">
60  <b>[{$basketitem->getTitle()}]</b>
61  [{if $basketitem->getChosenSelList() }],
62  [{foreach from=$basketitem->getChosenSelList() item=oList}]
63  [{ $oList->name }] [{ $oList->value }]&nbsp;
64  [{/foreach}]
65  [{/if}]
66  [{if $basketitem->getPersParams() }]
67  [{foreach key=sVar from=$basketitem->getPersParams() item=aParam}]
68  ,&nbsp;<em>[{$sVar}] : [{$aParam}]</em>
69  [{/foreach}]
70  [{/if}]
71  <br>[{oxmultilang ident="PRODUCT_NO" suffix="COLON" }] [{ $basketproduct->oxarticles__oxartnum->value }]
72  </p>
73  </td>
74  <td style="padding: 5px; border-bottom: 4px solid #ddd;">
75  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 10px 0;">
76  <b>[{if $basketitem->getUnitPrice() }][{oxprice price=$basketitem->getUnitPrice() currency=$currency }][{/if}]</b>
77  [{if !$basketitem->isBundle() }]
78  [{assign var=dRegUnitPrice value=$basketitem->getRegularUnitPrice()}]
79  [{assign var=dUnitPrice value=$basketitem->getUnitPrice()}]
80  [{if $dRegUnitPrice->getPrice() > $dUnitPrice->getPrice() }]
81  <br><s>[{oxprice price=$basketitem->getRegularUnitPrice() currency=$currency }]</s>
82  [{/if}]
83  [{/if}]
84  [{if $basketitem->aDiscounts}]<br><br>
85  <em style="font-size: 7pt;font-weight: normal;">[{oxmultilang ident="DISCOUNT" suffix="COLON" }]
86  [{foreach from=$basketitem->aDiscounts item=oDiscount}]
87  <br>[{ $oDiscount->sDiscount }]
88  [{/foreach}]
89  </em>
90  [{/if}]
91  [{if $basketproduct->oxarticles__oxorderinfo->value }]
92  [{ $basketproduct->oxarticles__oxorderinfo->value }]
93  [{/if}]
94  </p>
95  </td>
96  <td style="padding: 5px; border-bottom: 4px solid #ddd;">
97  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 10px 0;">
98  [{$basketitem->getAmount()}]
99  </p>
100  </td>
101  <td style="padding: 5px; border-bottom: 4px solid #ddd;">
102  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 10px 0;">
103  [{$basketitem->getVatPercent() }]%
104  </p>
105  </td>
106  <td style="padding: 5px; border-bottom: 4px solid #ddd;">
107  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 10px 0;">
108  <b>[{oxprice price=$basketitem->getPrice() currency=$currency}]</b>
109  </p>
110  </td>
111  </tr>
112  [{/block}]
113  [{/foreach}]
114  </table>
115  <br>
116 
117  [{block name="email_html_order_owner_giftwrapping"}]
118  [{if $basket->oCard }]
119  <table border="0" cellspacing="0" cellpadding="2" width="100%">
120  <tr valign="top">
121  <td style="padding: 5px; border-bottom: 4px solid #ddd;">
122  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
123  <b>[{oxmultilang ident="ATENTION_GREETING_CARD" suffix='COLON' }]</b><br>
124  <img src="[{$basket->oCard->getPictureUrl()}]" alt="[{$basket->oCard->oxwrapping__oxname->value}]" hspace="0" vspace="0" border="0" align="top">
125  </p>
126  </td>
127  <td style="padding: 5px; border-bottom: 4px solid #ddd;">
128  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
129  [{oxmultilang ident="WHAT_I_WANTED_TO_SAY" }]
130  <br><br>
131  [{$basket->getCardMessage()}]
132  </p>
133  </td>
134  </tr>
135  </table>
136  <br>
137  [{/if}]
138  [{/block}]
139 
140  <table border="0" cellspacing="0" cellpadding="2" width="100%">
141  <tr>
142  <td width="50%" valign="top">
143  [{block name="email_html_order_owner_voucherdiscount_top"}]
144  <table border="0" cellspacing="0" cellpadding="0">
145  [{if $oViewConf->getShowVouchers() && $basket->getVoucherDiscValue() }]
146  <tr valign="top">
147  <td style="padding: 5px 20px 5px 5px; border-bottom: 2px solid #ccc;">
148  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; color: #555;">
149  <b>[{oxmultilang ident="USED_COUPONS_2" }]</b>
150  </p>
151  </td>
152  <td style="padding: 5px 20px 5px 5px; border-bottom: 2px solid #ccc;">
153  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; color: #555;">
154  <b>[{oxmultilang ident="REBATE" }]</b>
155  </p>
156  </td>
157  </tr>
158  [{foreach from=$order->getVoucherList() item=voucher}]
159  [{assign var="voucherseries" value=$voucher->getSerie() }]
160  <tr valign="top">
161  <td style="padding: 5px 20px 5px 5px;">
162  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
163  [{$voucher->oxvouchers__oxvouchernr->value}]
164  </p>
165  </td>
166  <td style="padding: 5px 20px 5px 5px;">
167  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
168  [{$voucherseries->oxvoucherseries__oxdiscount->value}] [{if $voucherseries->oxvoucherseries__oxdiscounttype->value == "absolute"}][{ $currency->sign}][{else}]%[{/if}]
169  </p>
170  </td>
171  </tr>
172  [{/foreach}]
173  [{/if}]
174  </table>
175  [{/block}]
176  </td>
177  <td width="50%" valign="top">
178  <table border="0" cellspacing="0" cellpadding="2" width="300">
179  [{if !( $basket->getDiscounts() || ($oViewConf->getShowVouchers() && $basket->getVoucherDiscValue()) ) }]
180  [{block name="email_html_order_owner_nodiscounttotalnet"}]
181  <!-- netto price -->
182  <tr valign="top">
183  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
184  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
185  [{oxmultilang ident="TOTAL_NET" suffix="COLON" }]
186  </p>
187  </td>
188  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right" width="60">
189  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
190  [{oxprice price=$basket->getNettoSum() currency=$currency }]
191  </p>
192  </td>
193  </tr>
194  [{/block}]
195  [{block name="email_html_order_owner_nodiscountproductvats"}]
196  <!-- VATs -->
197  [{foreach from=$basket->getProductVats(false) item=VATitem key=key}]
198  <tr valign="top">
199  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
200  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
201  [{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$key}]
202  </p>
203  </td>
204  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
205  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
206  [{oxprice price=$VATitem currency=$currency }]
207  </p>
208  </td>
209  </tr>
210  [{/foreach}]
211  [{/block}]
212 
213  [{block name="email_html_order_owner_nodiscounttotalgross"}]
214  <!-- brutto price -->
215  <tr valign="top">
216  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
217  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
218  [{oxmultilang ident="TOTAL_GROSS" suffix="COLON" }]
219  </p>
220  </td>
221  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
222  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
223  [{oxprice price=$basket->getBruttoSum() currency=$currency }]
224  </p>
225  </td>
226  </tr>
227  [{/block}]
228  <!-- applied discounts -->
229  [{else}]
230 
231  [{if $order->isNettoMode() }]
232  [{block name="email_html_order_cust_discounttotalnet"}]
233  <!-- netto price -->
234  <tr valign="top">
235  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
236  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
237  [{oxmultilang ident="TOTAL_NET" suffix="COLON" }]
238  </p>
239  </td>
240  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right" width="60">
241  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
242  [{oxprice price=$basket->getNettoSum() currency=$currency }]
243  </p>
244  </td>
245  </tr>
246  [{/block}]
247  [{else}]
248  [{block name="email_html_order_cust_discounttotalgross"}]
249  <!-- brutto price -->
250  <tr valign="top">
251  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
252  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
253  [{oxmultilang ident="TOTAL_GROSS" suffix="COLON" }]
254  </p>
255  </td>
256  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
257  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
258  [{oxprice price=$basket->getBruttoSum() currency=$currency }]
259  </p>
260  </td>
261  </tr>
262  [{/block}]
263  [{/if}]
264 
265  [{block name="email_html_order_owner_discounts"}]
266  <!-- discounts -->
267  [{foreach from=$basket->getDiscounts() item=oDiscount}]
268  <tr valign="top">
269  <td style="padding: 5px; border-bottom: 1px solid #ddd;">
270  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
271  [{if $oDiscount->dDiscount < 0 }][{oxmultilang ident="SURCHARGE" }][{else}][{oxmultilang ident="DISCOUNT" }][{/if}] <em>[{ $oDiscount->sDiscount }]</em> :
272  </p>
273  </td>
274  <td style="padding: 5px; border-bottom: 1px solid #ddd;" align="right">
275  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
276  [{oxprice price=$oDiscount->dDiscount*-1 currency=$currency}]
277  </p>
278  </td>
279  </tr>
280  [{/foreach}]
281  [{/block}]
282 
283  [{block name="email_html_order_owner_voucherdiscount"}]
284  <!-- voucher discounts -->
285  [{if $oViewConf->getShowVouchers() && $basket->getVoucherDiscValue() }]
286  <tr valign="top">
287  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
288  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
289  [{oxmultilang ident="COUPON" suffix="COLON" }]
290  </p>
291  </td>
292  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
293  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
294  [{assign var="oVoucherDiscount" value=$basket->getVoucherDiscount()}]
295  [{oxprice price=$oVoucherDiscount->getBruttoPrice()*-1 currency=$currency}]
296  </p>
297  </td>
298  </tr>
299  [{/if}]
300  [{/block}]
301 
302  [{if !$order->isNettoMode() }]
303  [{block name="email_html_order_cust_totalnet"}]
304  <!-- netto price -->
305  <tr valign="top">
306  <td style="padding: 5px; border-bottom: 1px solid #ddd;">
307  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
308  [{oxmultilang ident="TOTAL_NET" suffix="COLON" }]
309  </p>
310  </td>
311  <td style="padding: 5px; border-bottom: 1px solid #ddd;" align="right">
312  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
313  [{oxprice price=$basket->getNettoSum() currency=$currency }]
314  </p>
315  </td>
316  </tr>
317  [{/block}]
318  [{/if}]
319 
320  [{block name="email_html_order_owner_productvats"}]
321  <!-- VATs -->
322  [{foreach from=$basket->getProductVats(false) item=VATitem key=key}]
323  <tr valign="top">
324  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
325  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
326  [{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$key }]
327  </p>
328  </td>
329  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
330  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
331  [{oxprice price=$VATitem currency=$currency }]
332  </p>
333  </td>
334  </tr>
335  [{/foreach}]
336  [{/block}]
337 
338  [{if $order->isNettoMode() }]
339  [{block name="email_html_order_cust_totalbrut"}]
340  <!-- brutto price -->
341  <tr valign="top">
342  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
343  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
344  [{oxmultilang ident="TOTAL_GROSS" suffix="COLON" }]
345  </p>
346  </td>
347  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
348  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
349  [{oxprice price=$basket->getBruttoSum() currency=$currency }]
350  </p>
351  </td>
352  </tr>
353  [{/block}]
354  [{/if}]
355  [{/if}]
356 
357  [{block name="email_html_order_owner_delcosts"}]
358  <!-- delivery costs -->
359  [{assign var="oDeliveryCost" value=$basket->getDeliveryCost()}]
360  [{if $oDeliveryCost && $oDeliveryCost->getPrice() > 0 }]
361  [{if $oViewConf->isFunctionalityEnabled('blShowVATForDelivery') }]
362  <tr valign="top">
363  <td style="padding: 5px; border-bottom: 1px solid #ccc;">
364  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
365  [{oxmultilang ident="SHIPPING_NET" suffix="COLON" }]
366  </p>
367  </td>
368  <td style="padding: 5px; border-bottom: 1px solid #ccc;" align="right">
369  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
370  [{oxprice price=$oDeliveryCost->getNettoPrice() currency=$currency}]
371  </p>
372  </td>
373  </tr>
374  [{if $oDeliveryCost->getVatValue()}]
375  <tr valign="top">
376  [{if $basket->isProportionalCalculationOn() }]
377  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
378  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
379  [{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT" suffix="COLON" }]
380  </p>
381  </td>
382  [{else}]
383  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
384  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
385  [{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$oDeliveryCost->getVat() }]
386  </p>
387  </td>
388  [{/if}]
389  <td style="padding: 5px; border-bottom: 2px solid #ddd;" align="right">
390  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
391  [{oxprice price=$oDeliveryCost->getVatValue() currency=$currency}]
392  </p>
393  </td>
394  </tr>
395  [{/if}]
396  [{else}]
397  <tr valign="top">
398  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
399  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
400  [{oxmultilang ident="SHIPPING_COST" suffix="COLON" }]
401  </p>
402  </td>
403  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
404  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
405  [{oxprice price=$oDeliveryCost->getBruttoPrice() currency=$currency}]
406  </p>
407  </td>
408  </tr>
409  [{/if}]
410  [{/if}]
411  [{/block}]
412 
413  [{block name="email_html_order_owner_paymentcosts"}]
414  <!-- payment sum -->
415  [{assign var="oPaymentCost" value=$basket->getPaymentCost()}]
416  [{if $oPaymentCost && $oPaymentCost->getPrice() }]
417  [{if $oViewConf->isFunctionalityEnabled('blShowVATForPayCharge') }]
418  <tr valign="top">
419  <td style="padding: 5px; border-bottom: 2px solid #ccc; border-bottom: 1px solid #ddd;">
420  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
421  [{if $oPaymentCost->getPrice() >= 0}][{oxmultilang ident="SURCHARGE" }][{else}][{oxmultilang ident="DEDUCTION" }][{/if}] [{oxmultilang ident="PAYMENT_METHOD" suffix="COLON" }]
422  </p>
423  </td>
424  <td style="padding: 5px; border-bottom: 2px solid #ccc;[{if $basket->getDelCostVat() }]border-bottom: 1px solid #ddd;[{/if}]" align="right">
425  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
426  [{oxprice price=$oPaymentCost->getNettoPrice() currency=$currency}]
427  </p>
428  </td>
429  </tr>
430  [{if $oPaymentCost->getVatValue()}]
431  <tr valign="top">
432  [{if $basket->isProportionalCalculationOn() }]
433  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
434  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
435  [{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT" suffix="COLON" }]
436  </p>
437  </td>
438  [{else}]
439  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
440  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
441  [{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$oPaymentCost->getVat()}]
442  </p>
443  </td>
444  [{/if}]
445  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
446  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
447  [{oxprice price=$oPaymentCost->getVatValue() currency=$currency}]
448  </p>
449  </td>
450  </tr>
451  [{/if}]
452  [{else}]
453  <tr valign="top">
454  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
455  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
456  [{oxmultilang ident="SURCHARGE" suffix="COLON" }]
457  </p>
458  </td>
459  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
460  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
461  [{oxprice price=$oPaymentCost->getBruttoPrice() currency=$currency}]
462  </p>
463  </td>
464  </tr>
465  [{/if}]
466  [{/if}]
467  [{/block}]
468 
469  [{block name="email_html_order_owner_ts"}]
470  [{assign var="trustedShopProtectionCost" value=$basket->getTrustedShopProtectionCost()}]
471  [{if $trustedShopProtectionCost && $trustedShopProtectionCost->getPrice() > 0 }]
472  <!-- Trusted Shops -->
473  <tr valign="top">
474  <td style="padding: 5px; border-bottom: 2px solid #ccc;[{if $basket->getTsProtectionVat() }]border-bottom: 1px solid #ddd;[{/if}]">
475  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
476  [{oxmultilang ident="TRUSTED_SHOP_BUYER_PROTECTION" suffix="COLON" }]
477  </p>
478  </td>
479  <td style="padding: 5px; border-bottom: 2px solid #ccc;[{if $basket->getTsProtectionVat() }]border-bottom: 1px solid #ddd;[{/if}]" align="right">
480  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
481  [{oxprice price=$trustedShopProtectionCost->getNettoPrice() currency=$currency}]
482  </p>
483  </td>
484  </tr>
485  [{if $trustedShopProtectionCost->getVatValue()}]
486  <tr valign="top">
487  [{if $basket->isProportionalCalculationOn() }]
488  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
489  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
490  [{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT" suffix="COLON" }]
491  </p>
492  </td>
493  [{else}]
494  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
495  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
496  [{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$trustedShopProtectionCost->getVat()}]
497  </p>
498  </td>
499  [{/if}]
500  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
501  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
502  [{oxprice price=$trustedShopProtectionCost->getVatValue() currency=$currency}]
503  </p>
504  </td>
505  </tr>
506  [{/if}]
507  [{/if}]
508  [{/block}]
509 
510  [{if $oViewConf->getShowGiftWrapping() }]
511  [{block name="email_html_order_owner_wrappingcosts"}]
512  <!-- Gift wrapping -->
513  [{assign var="wrappingCost" value=$basket->getWrappingCost()}]
514  [{if $wrappingCost && $wrappingCost->getPrice() > 0 }]
515  [{if $oViewConf->isFunctionalityEnabled('blShowVATForWrapping') }]
516  <tr valign="top">
517  <td style="padding: 5px; border-bottom: 1px solid #ccc;">
518  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
519  [{oxmultilang ident="BASKET_TOTAL_WRAPPING_COSTS_NET" suffix="COLON" }]
520  </p>
521  </td>
522  <td style="padding: 5px; border-bottom: 1px solid #ccc;" align="right">
523  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
524  [{oxprice price=$wrappingCost->getNettoPrice() currency=$currency}]
525  </p>
526  </td>
527  </tr>
528  <tr valign="top">
529  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
530  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
531  [{oxmultilang ident="PLUS_VAT" suffix="COLON" }]
532  </p>
533  </td>
534  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
535  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
536  [{oxprice price=$wrappingCost->getVatValue() currency=$currency}]
537  </p>
538  </td>
539  </tr>
540  [{else}]
541  <tr valign="top">
542  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
543  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
544  [{oxmultilang ident="GIFT_WRAPPING" suffix="COLON" }]
545  </p>
546  </td>
547  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
548  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
549  [{oxprice price=$wrappingCost->getBruttoPrice() currency=$currency}]
550  </p>
551  </td>
552  </tr>
553  [{/if}]
554  [{/if}]
555  [{/block}]
556  [{block name="email_html_order_owner_giftwrapping"}]
557  <!-- Greeting card -->
558  [{assign var="giftCardCost" value=$basket->getGiftCardCost()}]
559  [{if $giftCardCost && $giftCardCost->getPrice() > 0 }]
560  [{if $oViewConf->isFunctionalityEnabled('blShowVATForWrapping') }]
561  <tr valign="top">
562  <td style="padding: 5px; border-bottom: 1px solid #ccc;">
563  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
564  [{oxmultilang ident="BASKET_TOTAL_GIFTCARD_COSTS_NET" suffix="COLON" }]
565  </p>
566  </td>
567  <td style="padding: 5px; border-bottom: 1px solid #ccc;" align="right">
568  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
569  [{oxprice price=$giftCardCost->getNettoPrice() currency=$currency}]
570  </p>
571  </td>
572  </tr>
573  <tr>
574  [{if $basket->isProportionalCalculationOn() }]
575  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
576  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
577  [{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT" suffix="COLON" }]
578  </p>
579  </td>
580  [{else}]
581  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
582  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
583  [{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" suffix="COLON" args=$giftCardCost->getVat()}]
584  </p>
585  </td>
586  [{/if}]
587  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
588  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
589  [{oxprice price=$giftCardCost->getVatValue() currency=$currency}]
590  </p>
591  </td>
592  </tr>
593  [{else}]
594  <tr valign="top">
595  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
596  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
597  [{oxmultilang ident="GREETING_CARD" suffix="COLON" }]
598  </p>
599  </td>
600  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
601  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
602  [{oxprice price=$giftCardCost->getBruttoPrice() currency=$currency}]
603  </p>
604  </td>
605  </tr>
606  [{/if}]
607  [{/if}]
608  [{/block}]
609  [{/if}]
610 
611  [{block name="email_html_order_owner_grandtotal"}]
612  <!-- grand total price -->
613  <tr valign="top">
614  <td style="padding: 5px; border-bottom: 2px solid #ccc;">
615  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
616  <b>[{oxmultilang ident="GRAND_TOTAL" suffix="COLON" }]</b>
617  </p>
618  </td>
619  <td style="padding: 5px; border-bottom: 2px solid #ccc;" align="right">
620  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
621  <b>[{oxprice price=$basket->getPrice() currency=$currency}]</b>
622  </p>
623  </td>
624  </tr>
625  [{/block}]
626  </table>
627  </td>
628  </tr>
629  </table>
630 
631  [{block name="email_html_order_owner_userremark"}]
632  [{if $order->oxorder__oxremark->value }]
633  <h3 style="font-weight: bold; margin: 20px 0 7px; padding: 0; line-height: 35px; font-size: 12px;font-family: Arial, Helvetica, sans-serif; text-transform: uppercase; border-bottom: 4px solid #ddd;">
634  [{oxmultilang ident="MESSAGE" suffix="COLON" }]
635  </h3>
636  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;">
637  [{ $order->oxorder__oxremark->value|oxescape }]
638  </p>
639  [{/if}]
640  [{/block}]
641 
642  [{block name="email_html_order_owner_paymentinfo"}]
643  [{if $payment->oxuserpayments__oxpaymentsid->value != "oxempty"}]
644  <h3 style="font-weight: bold; margin: 20px 0 7px; padding: 0; line-height: 35px; font-size: 12px;font-family: Arial, Helvetica, sans-serif; text-transform: uppercase; border-bottom: 4px solid #ddd;">
645  [{oxmultilang ident="PAYMENT_INFORMATION" suffix="COLON" }]
646  </h3>
647  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;">
648  <b>[{oxmultilang ident="PAYMENT_METHOD" suffix="COLON" }] [{ $payment->oxpayments__oxdesc->value }]
649  [{assign var="oPaymentCostPrice" value=$basket->getPaymentCost()}]
650  [{if $oPaymentCostPrice }]([{oxprice price=$oPaymentCostPrice->getBruttoPrice() currency=$currency}])[{/if}]</b>
*** 
651 
652  <br><br>
653  [{oxmultilang ident="PAYMENT_INFO_OFF" }]
654  </p>
655  [{/if}]
656  [{/block}]
657 
658  [{block name="email_html_order_owner_username"}]
659  <h3 style="font-weight: bold; margin: 20px 0 7px; padding: 0; line-height: 35px; font-size: 12px;font-family: Arial, Helvetica, sans-serif; text-transform: uppercase; border-bottom: 4px solid #ddd;">
660  [{oxmultilang ident="EMAIL_ADDRESS" suffix="COLON" }]
661  </h3>
662  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;">
663  [{ $user->oxuser__oxusername->value }]
664  </p>
665  [{/block}]
666 
667  [{block name="email_html_order_owner_address"}]
668  <!-- Address info -->
669  <h3 style="font-weight: bold; margin: 20px 0 7px; padding: 0; line-height: 35px; font-size: 12px;font-family: Arial, Helvetica, sans-serif; text-transform: uppercase; border-bottom: 4px solid #ddd;">
670  [{oxmultilang ident="ADDRESS" suffix="COLON" }]
671  </h3>
672 
673  <table colspan="0" rowspan="0" border="0">
674  <tr valign="top">
675  <td style="padding-right: 30px">
676  <h4 style="font-weight: bold; margin: 0; padding: 0 0 15px; line-height: 20px; font-size: 11px;font-family: Arial, Helvetica, sans-serif; text-transform: uppercase;">
677  [{oxmultilang ident="BILLING_ADDRESS" suffix="COLON" }]
678  </h4>
679  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
680  [{ $order->oxorder__oxbillcompany->value }]<br>
681  [{ $order->oxorder__oxbillsal->value|oxmultilangsal}] [{ $order->oxorder__oxbillfname->value }] [{ $order->oxorder__oxbilllname->value }]<br>
682  [{if $order->oxorder__oxbilladdinfo->value }][{ $order->oxorder__oxbilladdinfo->value }]<br>[{/if}]
683  [{ $order->oxorder__oxbillstreet->value }] [{ $order->oxorder__oxbillstreetnr->value }]<br>
684  [{ $order->oxorder__oxbillstateid->value }]
685  [{ $order->oxorder__oxbillzip->value }] [{ $order->oxorder__oxbillcity->value }]<br>
686  [{ $order->oxorder__oxbillcountry->value }]<br>
687  [{if $order->oxorder__oxbillustid->value}][{oxmultilang ident="VAT_ID_NUMBER" suffix="COLON" }] [{ $order->oxorder__oxbillustid->value }]<br>[{/if}]
688  [{oxmultilang ident="PHONE" suffix="COLON" }] [{ $order->oxorder__oxbillfon->value }]<br><br>
689  </p>
690  </td>
691  [{if $order->oxorder__oxdellname->value }]
692  <td>
693  <h4 style="font-weight: bold; margin: 0; padding: 0 0 15px; line-height: 20px; font-size: 11px;font-family: Arial, Helvetica, sans-serif; text-transform: uppercase;">
694  [{oxmultilang ident="SHIPPING_ADDRESS" suffix="COLON" }]
695  </h4>
696  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0;">
697  [{ $order->oxorder__oxdelcompany->value }]<br>
698  [{ $order->oxorder__oxdelsal->value|oxmultilangsal }] [{ $order->oxorder__oxdelfname->value }] [{ $order->oxorder__oxdellname->value }]<br>
699  [{if $order->oxorder__oxdeladdinfo->value }][{ $order->oxorder__oxdeladdinfo->value }]<br>[{/if}]
700  [{ $order->oxorder__oxdelstreet->value }] [{ $order->oxorder__oxdelstreetnr->value }]<br>
701  [{ $order->oxorder__oxdelstateid->value }]
702  [{ $order->oxorder__oxdelzip->value }] [{ $order->oxorder__oxdelcity->value }]<br>
703  [{ $order->oxorder__oxdelcountry->value }]
704  </p>
705  </td>
706  [{/if}]
707  </tr>
708  </table>
709  [{/block}]
710 
711  [{block name="email_html_order_owner_deliveryinfo"}]
712  [{if $payment->oxuserpayments__oxpaymentsid->value != "oxempty"}]
713  <h3 style="font-weight: bold; margin: 20px 0 7px; padding: 0; line-height: 35px; font-size: 12px;font-family: Arial, Helvetica, sans-serif; text-transform: uppercase; border-bottom: 4px solid #ddd;">
714  [{oxmultilang ident="SELECTED_SHIPPING_CARRIER" suffix="COLON" }]
715  </h3>
716  <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;">
717  [{ $oDelSet->oxdeliveryset__oxtitle->value }]
718  </p>
719  [{/if}]
720  [{/block}]
721 
722 [{include file="email/html/footer.tpl"}]
 
3 lines changed or deleted