| 2 |
lars |
1 |
{extends file="buy.tpl"}
|
|
|
2 |
{block name="buyStep"}
|
|
|
3 |
<!-- $Id: buy_3.tpl 3018 2023-01-19 15:19:42Z erling $ BEGIN -->
|
|
|
4 |
<style>
|
|
|
5 |
.left {
|
|
|
6 |
display:none!important;
|
|
|
7 |
}
|
|
|
8 |
|
|
|
9 |
.right {
|
|
|
10 |
display:none!important;
|
|
|
11 |
}
|
|
|
12 |
|
|
|
13 |
.content {
|
|
|
14 |
width:100%!important;
|
|
|
15 |
min-height:600px;
|
|
|
16 |
}
|
|
|
17 |
|
|
|
18 |
.box_middle_basket {
|
|
|
19 |
padding:0!important;
|
|
|
20 |
}
|
|
|
21 |
|
|
|
22 |
.lastvisited_headline {
|
|
|
23 |
display:none;
|
|
|
24 |
}
|
|
|
25 |
|
|
|
26 |
.lastvisited {
|
|
|
27 |
display:none;
|
|
|
28 |
}
|
|
|
29 |
</style>
|
|
|
30 |
|
|
|
31 |
<div class="box_2" style="float:left;width:100%;">
|
|
|
32 |
<div class="basketNav2 noprint">
|
|
|
33 |
<div class="steps_image desktop">
|
|
|
34 |
<img onerror="this.src='/images/webelemente/bestellprozess_step4_active.png'" src="/images/webelemente/svg/bestellprozess_step4_active.svg" alt="Schritt für Schritt durch die Bestellung" />
|
|
|
35 |
</div>
|
|
|
36 |
</div>
|
|
|
37 |
<div>
|
|
|
38 |
{if $smarty.get.purchaseContractId}
|
|
|
39 |
<div class="box_top">
|
|
|
40 |
|
|
|
41 |
</div>
|
|
|
42 |
<div class="box_2">
|
|
|
43 |
<div id="amazon" style="padding-top:20px;">
|
|
|
44 |
<div style="padding-left:20px;">
|
|
|
45 |
{$amazon_address}
|
|
|
46 |
</div>
|
|
|
47 |
<div style="float: left;width:10px;">
|
|
|
48 |
|
|
|
49 |
</div>
|
|
|
50 |
<div style="padding-left:20px;">
|
|
|
51 |
{$amazon_wallet}
|
|
|
52 |
</div>
|
|
|
53 |
<div style="clear:both;float:none;margin-bottom:10px;">
|
|
|
54 |
</div>
|
|
|
55 |
<div style="padding:20px 0 0 20px;" class="basket-table-items">
|
|
|
56 |
Unseren Datenschutzhinweis finden Sie
|
|
|
57 |
<a href="/index.php?id={$ini.typo3.datenschutz}" target="_blank"><u>hier</u></a>
|
|
|
58 |
.
|
|
|
59 |
<br>
|
|
|
60 |
<br>
|
|
|
61 |
<div class="midcol" style="float:left;width:100px;">
|
|
|
62 |
AGB's und
|
|
|
63 |
|
|
|
64 |
Widerrufsrecht:
|
|
|
65 |
</div>
|
|
|
66 |
<div class="midcol" style="float:left;width:4%">
|
|
|
67 |
<input id="agb" type="checkbox" name="AGB+Widerrufsrecht" value="gelesen">
|
|
|
68 |
</div>
|
|
|
69 |
<div class="midcol" style="float:left;width:77%">
|
|
|
70 |
<label for="agb">
|
|
|
71 |
Ich habe die
|
|
|
72 |
<a href="/index.php?id={$ini.typo3.agb}" target="_blank"><u>AGB</u></a>
|
|
|
73 |
gelesen und bin mit ihnen einverstanden.
|
|
|
74 |
<br>
|
|
|
75 |
Ich habe mich über mein
|
|
|
76 |
<a href="/index.php?id={$ini.typo3.widerruf}" target="_blank"><u>Widerrufsrecht</u></a>
|
|
|
77 |
informiert.
|
|
|
78 |
</label>
|
|
|
79 |
</div>
|
|
|
80 |
</div>
|
|
|
81 |
<div style="clear: both;float:none;margin-bottom: 20px;">
|
|
|
82 |
</div>
|
|
|
83 |
<div class="midcol" style="float:left;padding-left:20px;">
|
|
|
84 |
<p>Bemerkung:</p>
|
|
|
85 |
<textarea style="font-size:0.7em!important;" name="Bemerkung" id="Bemerkung" cols="40" rows="4">
|
|
|
86 |
{$smarty.session["SHOP"]["buy"]["Persdata"]["Bemerkung"]}
|
|
|
87 |
</textarea>
|
|
|
88 |
</div>
|
|
|
89 |
<table class="basket-table-items">
|
|
|
90 |
<tr>
|
|
|
91 |
<td class="basket_head1" colspan="2">
|
|
|
92 |
Artikel
|
|
|
93 |
</td>
|
|
|
94 |
</tr>
|
|
|
95 |
<tr>
|
|
|
96 |
<td colspan="2">
|
|
|
97 |
<table style="margin: 0px auto; border-bottom: none; width: 600px;" class="basket-items-overview">
|
|
|
98 |
<thead>
|
|
|
99 |
<tr>
|
|
|
100 |
<th style="text-align:left;width: 60px;">
|
|
|
101 |
Menge
|
|
|
102 |
</th>
|
|
|
103 |
<th style="text-align:left;">
|
|
|
104 |
Artikelbezeichnung
|
|
|
105 |
</th>
|
|
|
106 |
<th style="width:100px;" align="right">
|
|
|
107 |
{if isset($smarty.session.sonderPreis.preisDaten)}Sonderpreis<br />Shop Preis{else}Einzelpreis{/if}
|
|
|
108 |
</th>
|
|
|
109 |
<th style="width:120px;" align="right">
|
|
|
110 |
Gesamt
|
|
|
111 |
</th>
|
|
|
112 |
</tr>
|
|
|
113 |
<tr>
|
|
|
114 |
<td colspan="4" style="border-bottom: 1px dotted #909090;">
|
|
|
115 |
</td>
|
|
|
116 |
</tr>
|
|
|
117 |
</thead>
|
|
|
118 |
<tbody>
|
|
|
119 |
{section loop=$basketContent.items name=a_ind} {include file="basket_item_buy.tpl" item=$basketContent.items[a_ind]} {/section}
|
|
|
120 |
<tr>
|
|
|
121 |
<td>
|
|
|
122 |
</td>
|
|
|
123 |
<td colspan="2" style="text-align:left">
|
|
|
124 |
{$versandInfo.title}:
|
|
|
125 |
</td>
|
|
|
126 |
<td style="text-align:right;">
|
|
|
127 |
{$versandInfo.preis|money_format|replace:"EUR":"€"|replace:" ":" "}
|
|
|
128 |
</td>
|
|
|
129 |
</tr>
|
|
|
130 |
<tr>
|
|
|
131 |
<td colspan="4">
|
|
|
132 |
<hr />
|
|
|
133 |
</td>
|
|
|
134 |
</tr>
|
|
|
135 |
<tr>
|
|
|
136 |
<td colspan="3" style="text-align:right">
|
|
|
137 |
enthaltene Mehrwertsteuer (19%):
|
|
|
138 |
</td>
|
|
|
139 |
<td style="text-align:right;">
|
|
|
140 |
{$basketContent.mwst|round:2|money_format|replace:"EUR":"€"|replace:" ":" "}
|
|
|
141 |
</td>
|
|
|
142 |
</tr>
|
|
|
143 |
<tr>
|
|
|
144 |
<td colspan="3" style="text-align:right">
|
|
|
145 |
Gesamtsumme brutto (inkl. 19% MwSt):
|
|
|
146 |
</td>
|
|
|
147 |
<td style="text-align:right;">
|
|
|
148 |
{$basketContent.basketSumme_brutto|round:2|money_format|replace:"EUR":"€"|replace:" ":" "}
|
|
|
149 |
</td>
|
|
|
150 |
</tr>
|
|
|
151 |
</tbody>
|
|
|
152 |
</table>
|
|
|
153 |
</td>
|
|
|
154 |
</tr>
|
|
|
155 |
</table>
|
|
|
156 |
<div style="text-align:right;padding:20px;clear: both;float:none;margin-bottom: 20px;">
|
|
|
157 |
<button id="place_order">
|
|
|
158 |
Kaufen
|
|
|
159 |
</button>
|
|
|
160 |
</div>
|
|
|
161 |
</div>
|
|
|
162 |
<div id="erg">
|
|
|
163 |
</div>
|
|
|
164 |
</div>
|
|
|
165 |
{else}
|
|
|
166 |
<div class="box_top">
|
|
|
167 |
<h1>
|
|
|
168 |
Vielen Dank für {if $smarty.post.send_anfrage==1}Ihre Anfrage{else}Ihren Einkauf{/if}.
|
|
|
169 |
</h1>
|
|
|
170 |
</div>
|
|
|
171 |
<div class="box_2">
|
|
|
172 |
<table class="basket_table">
|
|
|
173 |
<tr>
|
|
|
174 |
<td style="padding-top:20px;">
|
|
|
175 |
{assign var="showTrustedShops" value=1}
|
|
|
176 |
{if $smarty.post.send_anfrage==1}{assign var="showTrustedShops" value=0} Ihre Anfrage wurde an {$ini.titel_only} weitergeleitet und eine Bestätigungsmail wurde an {$smarty.session.SHOP.buy.Persdata.email} geschickt. {else} Ihre Bestellung
|
|
|
177 |
wurde erfolgreich übermittelt. Eine Bestätigungsmail wurden soeben an {$smarty.session.SHOP.buy.Persdata.email} versendet. {/if}
|
|
|
178 |
</td>
|
|
|
179 |
</tr>
|
|
|
180 |
<tr>
|
|
|
181 |
<td>
|
|
|
182 |
{if $smarty.post.send_anfrage==1} Wir werden Ihre Anfrage schnellstmöglich bearbeiten und uns mit Ihnen in Verbindung setzen. {else} {$langstrings.buy.confirm_text} {/if}
|
|
|
183 |
</td>
|
|
|
184 |
</tr>
|
|
|
185 |
{if $ini.trustedShops.shop_id && $showTrustedShops==1}
|
|
|
186 |
<tr>
|
|
|
187 |
<td>
|
|
|
188 |
<table width="510" border="0" cellspacing="0" cellpadding="4">
|
|
|
189 |
<tr>
|
|
|
190 |
<td width="110" style="text-align:center;">
|
|
|
191 |
<form name="formSiegel" method="post" action="https://www.trustedshops.com/shop/certificate.php" target="_blank">
|
|
|
192 |
<input type="image" src="/images/webelemente/siegel.gif" title="Trusted Shops Gütesiegel - Bitte hier Gültigkeit prüfen!">
|
|
|
193 |
<input name="shop_id" type="hidden" value="{$ini.trustedShops.shop_id}">
|
|
|
194 |
</form>
|
|
|
195 |
</td>
|
|
|
196 |
<td align="justify" width="400">
|
|
|
197 |
<div id="trustedShopsCheckout" style="display: none;">
|
|
|
198 |
<span id="tsCheckoutOrderNr">{$smarty.session.SHOP.bestellId|default:$bestellId}</span>
|
|
|
199 |
<span id="tsCheckoutBuyerEmail">{$smarty.session.SHOP.buy.Persdata.email}</span>
|
|
|
200 |
<span id="tsCheckoutOrderAmount">{$smarty.session.SHOP.SUMMEINCVERSAND|number_format:2:".":""}</span>
|
|
|
201 |
<span id="tsCheckoutOrderCurrency">EUR</span>
|
|
|
202 |
</div>
|
|
|
203 |
</td>
|
|
|
204 |
</tr>
|
|
|
205 |
</table>
|
|
|
206 |
</td>
|
|
|
207 |
</tr>
|
|
|
208 |
{/if}
|
|
|
209 |
{if $ini.google.trustedstores_aktiv == 1}
|
|
|
210 |
<tr>
|
|
|
211 |
<td>
|
|
|
212 |
<!-- START Google Zertifizierte Haendler Order -->
|
|
|
213 |
<div id="gts-order" style="display:none;" translate="no">
|
|
|
214 |
<!-- start order and merchant information -->
|
|
|
215 |
<span id="gts-o-id">{$bestellId}</span>
|
|
|
216 |
<span id="gts-o-domain">{$smarty.server.SERVER_NAME}</span>
|
|
|
217 |
<span id="gts-o-email">{$smarty.session.SHOP.buy.Persdata.email}</span>
|
|
|
218 |
<span id="gts-o-country">DE</span>
|
|
|
219 |
<span id="gts-o-currency">EUR</span>
|
|
|
220 |
<span id="gts-o-total">{$smarty.session.SHOP.SUMMEINCVERSAND|number_format:2:".":""}</span>
|
|
|
221 |
{if $smarty.session.SHOP.RABATT !=0.00}
|
|
|
222 |
<span id="gts-o-discounts">{$smarty.session.SHOP.RABATT|round:2|number_format:2:".":""}</span>
|
|
|
223 |
{else}
|
|
|
224 |
<span id="gts-o-discounts">0</span>
|
|
|
225 |
{/if}
|
|
|
226 |
<span id="gts-o-shipping-total">{$versandInfo.preis|number_format:2:".":""} </span>
|
|
|
227 |
<span id="gts-o-tax-total">{$smarty.session.SHOP.MWSTVONSUMME|round:2|number_format:2:".":""}</span>
|
|
|
228 |
<span id="gts-o-est-ship-date">{"+1 day"|strtotime|date_format:"Y-m-d"}</span>
|
|
|
229 |
{if $smarty.session.SHOP.buy.Persdata.liefer_Land_Name == "Deutschland"}
|
|
|
230 |
<span id="gts-o-est-delivery-date">{"+2 day"|strtotime|date_format:"Y-m-d"}</span>
|
|
|
231 |
{else}
|
|
|
232 |
<span id="gts-o-est-delivery-date">{"+5 day"|strtotime|date_format:"Y-m-d"}</span>
|
|
|
233 |
{/if}
|
|
|
234 |
{assign var="hasPreorder" value=false}
|
|
|
235 |
{foreach $basketContent.items as $index => $item}
|
|
|
236 |
{if $item.LieferstatusValue > 1}
|
|
|
237 |
{assign var="hasPreorder" value=true}
|
|
|
238 |
{/if}
|
|
|
239 |
{/foreach}
|
|
|
240 |
{if $hasPreorder}
|
|
|
241 |
<span id="gts-o-has-preorder">Y</span>
|
|
|
242 |
{else}
|
|
|
243 |
<span id="gts-o-has-preorder">N</span>
|
|
|
244 |
{/if}
|
|
|
245 |
<span id="gts-o-has-digital">N</span>
|
|
|
246 |
<!-- end order and merchant information -->
|
|
|
247 |
|
|
|
248 |
<!-- start repeated item specific information -->
|
|
|
249 |
<!-- item example: this area repeated for each item in the order -->
|
|
|
250 |
{foreach $basketContent.items as $index => $item}
|
|
|
251 |
<span class="gts-item">
|
|
|
252 |
<span class="gts-i-name">{$item.kurzbezeichnung_erweitert|default:$item.kurzbezeichnung}</span>
|
|
|
253 |
<span class="gts-i-price">{$item.preis|number_format:2:".":""}</span>
|
|
|
254 |
<span class="gts-i-quantity">{$item.Menge}</span>
|
|
|
255 |
<span class="gts-i-prodsearch-id">{$item.ID}</span>
|
|
|
256 |
<span class="gts-i-prodsearch-store-id">{$ini.google.merchant_id}</span>
|
|
|
257 |
</span>
|
|
|
258 |
{/foreach}
|
|
|
259 |
<!-- end item 1 example -->
|
|
|
260 |
<!-- end repeated item specific information -->
|
|
|
261 |
</div>
|
|
|
262 |
<!-- END Google Zertifizierte Haendler Order -->
|
|
|
263 |
</td>
|
|
|
264 |
</tr>
|
|
|
265 |
{/if}
|
|
|
266 |
<tr>
|
|
|
267 |
<td>
|
|
|
268 |
{if $zahlungsformular}
|
|
|
269 |
{if $versandInfo.versandart=="finanzierung"}
|
|
|
270 |
<script type="text/javascript">
|
|
|
271 |
$(function(){
|
|
|
272 |
$('#finanzierungsDialog').dialog({
|
|
|
273 |
resizable:false,
|
|
|
274 |
width:1000,
|
|
|
275 |
height:800,
|
|
|
276 |
modal:true
|
|
|
277 |
});
|
|
|
278 |
})
|
|
|
279 |
</script>
|
|
|
280 |
<div id="finanzierungsDialog">
|
|
|
281 |
<iframe width="100%" height="700" src="{$zahlungsformular}"></iframe>
|
|
|
282 |
</div>
|
|
|
283 |
{elseif $versandInfo.versandart=="payever"}
|
|
|
284 |
<script type="text/javascript">
|
|
|
285 |
$(function(){
|
|
|
286 |
$('#finanzierungsDialog2').dialog({
|
|
|
287 |
resizable:false,
|
|
|
288 |
width:1000,
|
|
|
289 |
height:800,
|
|
|
290 |
modal:true
|
|
|
291 |
});
|
|
|
292 |
})
|
|
|
293 |
</script>
|
|
|
294 |
<div id="finanzierungsDialog2">
|
|
|
295 |
<iframe width="100%" height="700" src="{$zahlungsformular}"></iframe>
|
|
|
296 |
</div>
|
|
|
297 |
{else}
|
|
|
298 |
{$zahlungsformular}
|
|
|
299 |
{/if}
|
|
|
300 |
{else}
|
|
|
301 |
{$meld}
|
|
|
302 |
{/if}
|
|
|
303 |
</td>
|
|
|
304 |
</tr>
|
|
|
305 |
</table>
|
|
|
306 |
<div class="bottom_nav">
|
|
|
307 |
<p>
|
|
|
308 |
<a href="/"><img class="butt_hover" src="/images/webelemente/butt_zurueck_zum_shop.png" alt="zurück zum Shop" /></a>
|
|
|
309 |
</p>
|
|
|
310 |
</div>
|
|
|
311 |
</div>
|
|
|
312 |
{/if}
|
|
|
313 |
</div>
|
|
|
314 |
</div>
|
|
|
315 |
{if $ini.facebook.pixel_aktiv==1 && isset($ini.facebook.id)}
|
|
|
316 |
<script>
|
|
|
317 |
fbq('track', 'Purchase');
|
|
|
318 |
</script>
|
|
|
319 |
{/if}
|
|
|
320 |
|
|
|
321 |
|
|
|
322 |
{if $ini.google.kundenrezension_aktiv==1}
|
|
|
323 |
<script type="text/plain" data-usercentrics="Google Kundenrezensionen">
|
|
|
324 |
function ISODateString(d) {
|
|
|
325 |
function pad(n) { return n<10 ? '0'+n : n }
|
|
|
326 |
return d.getUTCFullYear()+'-'
|
|
|
327 |
+ pad(d.getUTCMonth()+1)+'-'
|
|
|
328 |
+ pad(d.getUTCDate())
|
|
|
329 |
}
|
|
|
330 |
console.log("google...");
|
|
|
331 |
|
|
|
332 |
window.renderOptIn = function() {
|
|
|
333 |
// estimated_delivery_date
|
|
|
334 |
var edd = new Date();
|
|
|
335 |
var addDays = {$ini.google.estimated_delivery_date};
|
|
|
336 |
edd.setDate(edd.getDate() + addDays);
|
|
|
337 |
edd_formatted = ISODateString(edd);
|
|
|
338 |
|
|
|
339 |
{if $smarty.session.bestellId}
|
|
|
340 |
|
|
|
341 |
window.gapi.load('surveyoptin', function() {
|
|
|
342 |
window.gapi.surveyoptin.render( {
|
|
|
343 |
"merchant_id": {$ini.google.merchant_id},
|
|
|
344 |
"order_id": "{$smarty.session.bestellId}",
|
|
|
345 |
"email": "{$smarty.session.SHOP.buy.Persdata.email}",
|
|
|
346 |
"delivery_country": "DE",
|
|
|
347 |
"estimated_delivery_date":edd_formatted,
|
|
|
348 |
"opt_in_style": "CENTER_DIALOG"
|
|
|
349 |
{if $smarty.session.google.products}
|
|
|
350 |
,"products": {$smarty.session.google.products}
|
|
|
351 |
{/if}
|
|
|
352 |
});
|
|
|
353 |
});
|
|
|
354 |
{/if}
|
|
|
355 |
}
|
|
|
356 |
</script>
|
|
|
357 |
<!-- ANFANG Sprachcode für Opt-in-Modul von Google Kundenrezensionen -->
|
|
|
358 |
<script>
|
|
|
359 |
window.___gcfg = {
|
|
|
360 |
lang: 'de_DE'
|
|
|
361 |
};
|
|
|
362 |
</script>
|
|
|
363 |
<!-- END GCR Language Code -->
|
|
|
364 |
{/if}
|
|
|
365 |
|
|
|
366 |
<!-- $Id: buy_3.tpl 3018 2023-01-19 15:19:42Z erling $ END -->
|
|
|
367 |
{/block}
|