1067 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für die Zusammenfassung der Bestellung
|
7130 |
thomas |
5 |
* Anzeige vor dem Abschluss einer Bestellung
|
1067 |
daniel |
6 |
*/
|
|
|
7 |
|
3024 |
daniel |
8 |
//wpsg_debug($this->view['basket']);
|
7486 |
daniel |
9 |
|
|
|
10 |
if ($this->getFrontendTaxView() === WPSG_BRUTTO) $display_brutto_netto = 'brutto';
|
|
|
11 |
else $display_brutto_netto = 'netto';
|
6332 |
hartmut |
12 |
|
1067 |
daniel |
13 |
?>
|
3444 |
daniel |
14 |
<div class="wpsg wpsg_overview">
|
1067 |
daniel |
15 |
|
5201 |
daniel |
16 |
<?php echo $this->writeFrontendMessage(); ?>
|
5013 |
daniel |
17 |
|
6149 |
hartmut |
18 |
<?php if ($this->hasMod('wpsg_mod_onepagecheckout') && ($this->get_option('wpsg_mod_onepagecheckout_basket') == 1)) { ?>
|
|
|
19 |
<?php } else {?>
|
|
|
20 |
<?php $GLOBALS['step'] = 4; $this->render(WPSG_PATH_VIEW.'/warenkorb/progress.phtml'); ?>
|
|
|
21 |
<?php } ?>
|
5201 |
daniel |
22 |
|
1116 |
daniel |
23 |
<form method="post" action="<?php echo $this->getURL(wpsg_ShopController::URL_BASKET); ?>">
|
1067 |
daniel |
24 |
|
3460 |
daniel |
25 |
<h2><?php echo __('Zusammenfassung', 'wpsg'); ?></h2>
|
6332 |
hartmut |
26 |
|
3460 |
daniel |
27 |
<div class="wpsg_spacer"></div>
|
6332 |
hartmut |
28 |
|
3657 |
daniel |
29 |
<?php if (!$this->hasMod('wpsg_mod_ordercondition')) { ?>
|
1218 |
daniel |
30 |
<div class="wpsg_agb">
|
|
|
31 |
<label>
|
|
|
32 |
<input type="checkbox" value="1" name="wpsg[agb]" />
|
6332 |
hartmut |
33 |
<?php echo wpsg_translate(__('Ich habe die #1# des Anbieters gelesen und erkläre mit dem Absenden der Bestellung mein Einverständnis. Die #2# habe ich zur Kenntnis genommen.', 'wpsg'),
|
|
|
34 |
'<a target="_blank" href="'.$this->getURL(wpsg_ShopController::URL_AGB).'">'.__('AGB', 'wpsg').'</a>',
|
|
|
35 |
'<a target="_blank" href="'.$this->getURL(wpsg_ShopController::URL_WIDERRUF).'">'.__('Widerrufsbelehrung', 'wpsg').'</a>');
|
1218 |
daniel |
36 |
?>
|
|
|
37 |
</label>
|
6332 |
hartmut |
38 |
</div>
|
3657 |
daniel |
39 |
<?php } ?>
|
6332 |
hartmut |
40 |
|
1429 |
daniel |
41 |
<?php $this->callMods('overview_top', array(&$this->view['basket'])); ?>
|
6332 |
hartmut |
42 |
|
1218 |
daniel |
43 |
<div class="shippayment">
|
3444 |
daniel |
44 |
<div class="subtitle"><?php echo __('Zahlung/Versand', 'wpsg'); ?>
|
1587 |
daniel |
45 |
<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT2)); ?></span>
|
1324 |
daniel |
46 |
</div>
|
1720 |
daniel |
47 |
<div class="payment"><?php echo wpsg_hspc($this->arPayment[$this->view['basket']['checkout']['payment']]['name']); ?></div>
|
|
|
48 |
<div class="shipping"><?php echo wpsg_hspc($this->arShipping[$this->view['basket']['checkout']['shipping']]['name']); ?></div>
|
1218 |
daniel |
49 |
</div>
|
6332 |
hartmut |
50 |
|
6149 |
hartmut |
51 |
<?php
|
|
|
52 |
$arAnrede = explode('|', $this->get_option('wpsg_admin_pflicht')['anrede_auswahl']);
|
|
|
53 |
?>
|
6332 |
hartmut |
54 |
|
5866 |
hartmut |
55 |
<?php if (wpsg_getStr($this->view['basket']['checkout']['diff_shippingadress']) == '1') { ?>
|
1329 |
david |
56 |
<div class="anschrift">
|
3444 |
daniel |
57 |
<div class="subtitle"><?php echo __('Rechnungsanschrift', 'wpsg'); ?>
|
|
|
58 |
<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
|
|
|
59 |
</div>
|
7130 |
thomas |
60 |
<?php if ($this->view['pflicht']['firma'] != '2') { ?>
|
|
|
61 |
<?php if (trim($this->view['basket']['checkout']['firma']) != '') { ?>
|
|
|
62 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?><br />
|
|
|
63 |
<?php } ?>
|
1329 |
david |
64 |
<?php } ?>
|
7130 |
thomas |
65 |
<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
|
|
|
66 |
<?php echo wpsg_hspc(($this->view['basket']['checkout']['title'] != '' && $this->view['basket']['checkout']['title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['title']]:''); ?>
|
6332 |
hartmut |
67 |
<?php } ?>
|
7130 |
thomas |
68 |
<?php if ($this->view['pflicht']['vname'] != '2') { ?>
|
|
|
69 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['vname']); ?>
|
|
|
70 |
<?php } ?>
|
|
|
71 |
<?php if ($this->view['pflicht']['name'] != '2') { ?>
|
|
|
72 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['name']); ?><br />
|
|
|
73 |
<?php } ?>
|
|
|
74 |
<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
|
7305 |
daniel |
75 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['strasse'].rtrim(' '.wpsg_getStr($this->view['basket']['checkout']['nr']))); ?><br />
|
7130 |
thomas |
76 |
<?php } ?>
|
|
|
77 |
<?php if ($this->view['pflicht']['plz'] != '2') { ?>
|
|
|
78 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['plz']); ?>
|
|
|
79 |
<?php } ?>
|
|
|
80 |
<?php if ($this->view['pflicht']['ort'] != '2') { ?>
|
|
|
81 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['ort']); ?><br />
|
|
|
82 |
<?php }?>
|
|
|
83 |
<?php if ($this->view['pflicht']['land'] != '2') { ?>
|
|
|
84 |
<?php if (wpsg_isSizedArray($this->view['basket']['land'])) { ?>
|
|
|
85 |
<?php echo wpsg_hspc($this->view['basket']['land']['name']); ?>
|
|
|
86 |
<?php } ?>
|
|
|
87 |
<?php } ?>
|
6332 |
hartmut |
88 |
</div>
|
1329 |
david |
89 |
<div class="wpsg_clear"></div><br />
|
6332 |
hartmut |
90 |
|
1329 |
david |
91 |
<div class="anschrift">
|
3444 |
daniel |
92 |
<div class="subtitle"><?php echo __('Lieferanschrift', 'wpsg'); ?>
|
|
|
93 |
<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
|
|
|
94 |
</div>
|
7130 |
thomas |
95 |
<?php if ($this->view['pflicht']['firma'] != '2') { ?>
|
|
|
96 |
<?php if (trim($this->view['basket']['checkout']['shipping_firma']) != '') { ?>
|
|
|
97 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_firma']); ?><br />
|
|
|
98 |
<?php } ?>
|
1329 |
david |
99 |
<?php } ?>
|
7130 |
thomas |
100 |
<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
|
|
|
101 |
<?php echo (($this->view['basket']['checkout']['shipping_title'] != '' && $this->view['basket']['checkout']['shipping_title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['shipping_title']]:''); ?>
|
6332 |
hartmut |
102 |
<?php } ?>
|
7130 |
thomas |
103 |
<?php if ($this->view['pflicht']['vname'] != '2') { ?>
|
|
|
104 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_vname']); ?>
|
|
|
105 |
<?php } ?>
|
|
|
106 |
<?php if ($this->view['pflicht']['name'] != '2') { ?>
|
|
|
107 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_name']); ?><br />
|
|
|
108 |
<?php } ?>
|
|
|
109 |
<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
|
7247 |
daniel |
110 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_strasse'].rtrim(' '.($this->view['basket']['checkout']['shipping_nr']))); ?><br />
|
7130 |
thomas |
111 |
<?php } ?>
|
|
|
112 |
<?php if ($this->view['pflicht']['plz'] != '2') { ?>
|
|
|
113 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_plz']); ?>
|
|
|
114 |
<?php } ?>
|
|
|
115 |
<?php if ($this->view['pflicht']['ort'] != '2') { ?>
|
|
|
116 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_ort']); ?><br />
|
|
|
117 |
<?php } ?>
|
|
|
118 |
<?php if ($this->view['pflicht']['land'] != '2') { ?>
|
|
|
119 |
<?php if (wpsg_isSizedArray($this->view['basket']['shipping_land'])) { ?>
|
|
|
120 |
<?php echo wpsg_hspc($this->view['basket']['shipping_land']['name']); ?>
|
|
|
121 |
<?php } ?>
|
|
|
122 |
<?php } ?>
|
6332 |
hartmut |
123 |
</div>
|
1329 |
david |
124 |
<div class="wpsg_clear"></div><br />
|
6332 |
hartmut |
125 |
|
1329 |
david |
126 |
<?php } else { ?>
|
6332 |
hartmut |
127 |
|
1218 |
daniel |
128 |
<div class="anschrift">
|
3444 |
daniel |
129 |
<div class="subtitle"><?php echo __('Liefer- und Rechnungsanschrift', 'wpsg'); ?>
|
6149 |
hartmut |
130 |
<?php if ($this->hasMod('wpsg_mod_onepagecheckout') && ($this->get_option('wpsg_mod_onepagecheckout_basket') == 1)) { ?>
|
3444 |
daniel |
131 |
<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
|
6149 |
hartmut |
132 |
<?php } else { ?>
|
|
|
133 |
<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
|
|
|
134 |
<?php } ?>
|
3444 |
daniel |
135 |
</div>
|
7130 |
thomas |
136 |
<?php if ($this->view['pflicht']['firma'] != '2') { ?>
|
|
|
137 |
<?php if (trim($this->view['basket']['checkout']['firma']) != '') { ?>
|
|
|
138 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?><br />
|
|
|
139 |
<?php } ?>
|
1327 |
daniel |
140 |
<?php } ?>
|
7130 |
thomas |
141 |
<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
|
|
|
142 |
<?php echo wpsg_hspc(($this->view['basket']['checkout']['title'] != '' && $this->view['basket']['checkout']['title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['title']]:''); ?>
|
|
|
143 |
<?php } ?>
|
|
|
144 |
<?php if ($this->view['pflicht']['vname'] != '2') { ?>
|
|
|
145 |
<?php echo $this->view['basket']['checkout']['vname']; ?>
|
6332 |
hartmut |
146 |
<?php } ?>
|
7130 |
thomas |
147 |
<?php if ($this->view['pflicht']['name'] != '2') { ?>
|
|
|
148 |
<?php echo $this->view['basket']['checkout']['name']; ?><br />
|
|
|
149 |
<?php } ?>
|
|
|
150 |
<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
|
7305 |
daniel |
151 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['strasse'].rtrim(' '.wpsg_getStr($this->view['basket']['checkout']['nr']))); ?><br />
|
7130 |
thomas |
152 |
<?php } ?>
|
|
|
153 |
<?php if ($this->view['pflicht']['plz'] != '2') { ?>
|
|
|
154 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['plz']); ?>
|
|
|
155 |
<?php } ?>
|
|
|
156 |
<?php if ($this->view['pflicht']['ort'] != '2') { ?>
|
|
|
157 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['ort']); ?><br />
|
|
|
158 |
<?php } ?>
|
|
|
159 |
<?php if ($this->view['pflicht']['land'] != '2') { ?>
|
|
|
160 |
<?php if (wpsg_isSizedArray($this->view['basket']['land'])) { ?>
|
|
|
161 |
<?php echo wpsg_hspc($this->view['basket']['land']['name']); ?>
|
|
|
162 |
<?php } ?>
|
|
|
163 |
<?php } ?>
|
6332 |
hartmut |
164 |
</div>
|
1218 |
daniel |
165 |
<div class="wpsg_clear"></div><br />
|
1329 |
david |
166 |
<?php } ?>
|
6332 |
hartmut |
167 |
|
4061 |
daniel |
168 |
<?php if (wpsg_isSizedString($this->view['basket']['checkout']['ustidnr'])) { ?>
|
|
|
169 |
<?php echo __('UStIdNr.', 'wpsg'); ?>: <?php echo wpsg_hspc($this->view['basket']['checkout']['ustidnr']); ?><br /><br />
|
|
|
170 |
<?php } ?>
|
6332 |
hartmut |
171 |
|
1324 |
daniel |
172 |
<div class="subtitle">
|
1587 |
daniel |
173 |
<?php echo __('Bestellte Produkte', 'wpsg'); ?>
|
1324 |
daniel |
174 |
<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_BASKET)); ?></span>
|
|
|
175 |
</div>
|
6332 |
hartmut |
176 |
|
2301 |
daniel |
177 |
<div class="wpsg_table_wrap">
|
6332 |
hartmut |
178 |
|
|
|
179 |
<?php $i = 0; foreach ($this->view['basket']['produkte'] as $k => $product_data) { $i ++; ?>
|
|
|
180 |
|
|
|
181 |
<div class="overview_product_row">
|
|
|
182 |
|
|
|
183 |
<?php $this->view['$bPicture'] = false; ?>
|
|
|
184 |
|
6454 |
hartmut |
185 |
<?php if ($this->get_option('wpsg_imagehandler_basketimage') == '1') {
|
6332 |
hartmut |
186 |
|
|
|
187 |
?>
|
|
|
188 |
<div class="productimage">
|
|
|
189 |
|
|
|
190 |
<?php
|
6454 |
hartmut |
191 |
|
6332 |
hartmut |
192 |
if (isset($product_data['product_key'])) {
|
6454 |
hartmut |
193 |
$arAttachmentIDs = $this->imagehandler->getAttachmentIDs($product_data['product_key']);
|
|
|
194 |
$attachmentID = $this->imagehandler->getAttachmentID($product_data['product_key']);
|
|
|
195 |
|
|
|
196 |
echo wp_get_attachment_image($attachmentID, 'medium');
|
|
|
197 |
|
6332 |
hartmut |
198 |
}
|
6454 |
hartmut |
199 |
if ($attachmentID > 0) $this->view['$bPicture'] = true;
|
|
|
200 |
|
6332 |
hartmut |
201 |
?>
|
|
|
202 |
|
|
|
203 |
</div>
|
|
|
204 |
<?php } ?>
|
|
|
205 |
|
|
|
206 |
<div class="product_content">
|
|
|
207 |
|
|
|
208 |
<div class="product_name">
|
|
|
209 |
<?php if ($this->getProduktLink($product_data)) { ?>
|
|
|
210 |
<a href="<?php echo $this->getProduktLink($product_data); ?>"><?php echo wpsg_hspc((($product_data['detailname'] != '')?$product_data['detailname']:$product_data['name'])); ?></a>
|
|
|
211 |
<?php } else { ?>
|
|
|
212 |
<?php echo wpsg_hspc((($product_data['detailname'] != '')?$product_data['detailname']:$product_data['name'])); ?>
|
|
|
213 |
<?php } ?>
|
|
|
214 |
|
|
|
215 |
<?php if (wpsg_isSizedString($product_data['shortdesc'])) { ?>
|
|
|
216 |
<div class="product_shortdesc"><?php echo $product_data['shortdesc']; ?></div>
|
|
|
217 |
<?php } ?>
|
|
|
218 |
|
|
|
219 |
</div>
|
|
|
220 |
|
|
|
221 |
<div class="product_action">
|
|
|
222 |
<div class="title">
|
|
|
223 |
<?php echo __("Anzahl", "wpsg"); ?>
|
|
|
224 |
</div>
|
|
|
225 |
<div class="amount">
|
|
|
226 |
<?php echo wpsg_hspc($product_data['menge']); ?>
|
|
|
227 |
</div>
|
|
|
228 |
</div>
|
7704 |
daniel |
229 |
|
|
|
230 |
<?php $this->callMods('overview_row_before', array(&$product_data, $i)); ?>
|
|
|
231 |
|
6332 |
hartmut |
232 |
<div class="product_action">
|
|
|
233 |
<div class="title">
|
|
|
234 |
<?php echo __("Einzelpreis", "wpsg"); ?>
|
|
|
235 |
</div>
|
|
|
236 |
<div class="price">
|
|
|
237 |
<?php echo wpsg_ff($product_data['preis'], $this->get_option('wpsg_currency')); ?>
|
|
|
238 |
</div>
|
|
|
239 |
</div>
|
|
|
240 |
<div class="product_action">
|
|
|
241 |
<div class="title">
|
|
|
242 |
<?php echo __("Gesamtpreis", "wpsg"); ?>
|
|
|
243 |
</div>
|
|
|
244 |
<div class="price_total">
|
|
|
245 |
<?php echo wpsg_ff($product_data['menge'] * $product_data['preis'], $this->get_option('wpsg_currency')); ?>
|
|
|
246 |
</div>
|
|
|
247 |
</div>
|
|
|
248 |
|
3444 |
daniel |
249 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
6332 |
hartmut |
250 |
<div class="product_info">
|
|
|
251 |
<div
|
|
|
252 |
<?php if ($this->view['$bPicture'] == true) { ?>class="titlep"><?php } else { ?>class="title"><?php } ?>
|
|
|
253 |
<?php echo __("MwSt.", "wpsg"); ?>
|
|
|
254 |
</div>
|
|
|
255 |
<div class="valuer">
|
|
|
256 |
<?php echo wpsg_ff($product_data['mwst_value'], ' %'); ?>
|
|
|
257 |
</div>
|
|
|
258 |
<div class="dummyr">
|
|
|
259 |
<?php echo __(' '); ?>
|
|
|
260 |
</div>
|
|
|
261 |
|
|
|
262 |
</div>
|
3444 |
daniel |
263 |
<?php } ?>
|
6332 |
hartmut |
264 |
|
|
|
265 |
<?php $strOverviewRow= ''; ob_start(); $this->callMods('overview_row', array(&$product_data, $i)); $strOverviewRow= ob_get_contents(); ob_end_clean(); ?>
|
|
|
266 |
<?php echo $strOverviewRow; ?>
|
|
|
267 |
|
|
|
268 |
</div>
|
|
|
269 |
|
|
|
270 |
</div>
|
|
|
271 |
<?php } // foreach products ?>
|
|
|
272 |
|
|
|
273 |
<div class="overview_sum_wrap">
|
|
|
274 |
|
|
|
275 |
<?php $bLine = false; ?>
|
7486 |
daniel |
276 |
<?php if (wpsg_isSizedArray($this->view['basket']['arCalculation']['voucher'])) { $bLine = true; ?>
|
|
|
277 |
|
|
|
278 |
<?php foreach ($this->view['basket']['arCalculation']['voucher'] as $gs) { ?>
|
|
|
279 |
|
|
|
280 |
<div class="overview_sum_row">
|
|
|
281 |
<div class="title">
|
|
|
282 |
<?php echo __('Gutschein', 'wpsg'); ?> <?php echo ($gs['code'] != '')? '('.$gs['code'].')':'' ?>
|
|
|
283 |
</div>
|
|
|
284 |
<div class="value"><?php
|
|
|
285 |
|
|
|
286 |
echo wpsg_ff($gs[$display_brutto_netto], $this->get_option('wpsg_currency'));
|
7349 |
daniel |
287 |
|
7486 |
daniel |
288 |
if (strpos($gs['set'], '%') !== false) {
|
|
|
289 |
|
|
|
290 |
echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($gs['set']), '%').')</span>';
|
|
|
291 |
|
|
|
292 |
}
|
7349 |
daniel |
293 |
|
7486 |
daniel |
294 |
?></div>
|
|
|
295 |
</div>
|
|
|
296 |
|
|
|
297 |
<?php } ?>
|
|
|
298 |
|
6332 |
hartmut |
299 |
<?php } ?>
|
7486 |
daniel |
300 |
|
6332 |
hartmut |
301 |
<div class="overview_sum_row">
|
3024 |
daniel |
302 |
<?php if (isset($this->view['basket']['sum']['preis_rabatt']) && wpsg_tf($this->view['basket']['sum']['preis_rabatt']) > 0) { ?>
|
6332 |
hartmut |
303 |
<div class="title">
|
|
|
304 |
<?php echo __("Rabatt", "wpsg"); $bLine = true; ?>:
|
|
|
305 |
</div>
|
3024 |
daniel |
306 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
6332 |
hartmut |
307 |
<div class="value">
|
|
|
308 |
<?php echo __('anteilig', 'wpsg'); ?>
|
|
|
309 |
</div>
|
3024 |
daniel |
310 |
<?php } ?>
|
6332 |
hartmut |
311 |
<div class="value">
|
|
|
312 |
<?php echo '-'.wpsg_ff($this->view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')); ?>
|
|
|
313 |
</div>
|
3024 |
daniel |
314 |
<?php } ?>
|
6332 |
hartmut |
315 |
</div>
|
|
|
316 |
|
|
|
317 |
<?php if ($bLine == true) { ?>
|
|
|
318 |
<div class="wpsg_spacer"></div>
|
|
|
319 |
<?php } ?>
|
|
|
320 |
|
|
|
321 |
<div class="overview_sum_row">
|
|
|
322 |
<div class="title2">
|
|
|
323 |
<?php if ($this->get_option("wpsg_kleinunternehmer") == "1") { ?>
|
|
|
324 |
<?php echo wpsg_translate(__('Summe (zzgl. #1#)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'</a>'); ?>:
|
|
|
325 |
<?php } else { ?>
|
|
|
326 |
<?php if ($this->getFrontendTaxview() == WPSG_NETTO) { ?>
|
|
|
327 |
<?php echo wpsg_translate(__('Summe (zzgl. #1#, zzgl. MwSt.)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'</a>'); ?>:
|
|
|
328 |
<?php } else { ?>
|
|
|
329 |
<?php echo wpsg_translate(__('Summe (zzgl. #1#, inkl. MwSt.)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'</a>'); ?>:
|
2301 |
daniel |
330 |
<?php } ?>
|
6332 |
hartmut |
331 |
<?php } ?>
|
|
|
332 |
</div>
|
|
|
333 |
<div class="value">
|
|
|
334 |
<?php echo wpsg_ff($this->view['basket']['sum']['preis'], $this->get_option('wpsg_currency')); ?>
|
|
|
335 |
</div>
|
|
|
336 |
</div>
|
|
|
337 |
|
|
|
338 |
<?php if ($this->view['basket']['sum']['preis_shipping'] != 0 || $this->get_option('wpsg_hideemptyshipping') != '1') { ?>
|
|
|
339 |
<div class="overview_sum_row">
|
|
|
340 |
<div class="title">
|
2301 |
daniel |
341 |
<?php echo wpsg_translate(__('<a href="#1#">Versandkosten</a> (#2#)', 'wpsg'),
|
|
|
342 |
$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN),
|
|
|
343 |
$this->arShipping[$this->view['basket']['checkout']['shipping']]['name']
|
6332 |
hartmut |
344 |
); ?>:
|
|
|
345 |
|
|
|
346 |
</div>
|
|
|
347 |
<div class="value">
|
7347 |
daniel |
348 |
|
6332 |
hartmut |
349 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') {
|
7347 |
daniel |
350 |
|
|
|
351 |
$shipping_tax_key = $this->view['basket']['arCalculation']['shipping'][0]['tax_key'];
|
|
|
352 |
|
|
|
353 |
if ($shipping_tax_key === '0') {
|
|
|
354 |
|
6332 |
hartmut |
355 |
echo __('anteilig', 'wpsg');
|
7347 |
daniel |
356 |
|
|
|
357 |
} else {
|
|
|
358 |
|
|
|
359 |
echo wpsg_ff($this->view['basket']['arCalculation']['tax'][$shipping_tax_key]['tax_value'], '%');
|
|
|
360 |
|
6332 |
hartmut |
361 |
}
|
7347 |
daniel |
362 |
|
|
|
363 |
} ?>
|
|
|
364 |
|
|
|
365 |
</div>
|
|
|
366 |
<div class="value">
|
|
|
367 |
<?php
|
|
|
368 |
|
|
|
369 |
echo wpsg_ff($this->view['basket']['sum']['preis_shipping'], $this->get_option('wpsg_currency'));
|
|
|
370 |
|
|
|
371 |
if (strpos($this->view['basket']['arCalculation']['shipping'][0]['set'], '%') !== false) {
|
|
|
372 |
|
|
|
373 |
echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($this->view['basket']['arCalculation']['shipping'][0]['set']), '%').')</span>';
|
|
|
374 |
|
6332 |
hartmut |
375 |
}
|
7347 |
daniel |
376 |
|
6332 |
hartmut |
377 |
?>
|
|
|
378 |
</div>
|
|
|
379 |
</div>
|
|
|
380 |
<?php } ?>
|
|
|
381 |
|
|
|
382 |
<?php /* Zeile für Zahlungsart BEGIN */ ?>
|
7691 |
daniel |
383 |
<?php if (!$this->hasMod('wpsg_mod_crefopay') && ($this->get_option('wpsg_hideemptypayment') !== '1' || $this->view['basket']['sum']['preis_payment'] > 0)) { ?>
|
6332 |
hartmut |
384 |
<div class="overview_sum_row">
|
|
|
385 |
<div class="title">
|
3024 |
daniel |
386 |
<?php echo wpsg_translate(__('Zahlungsart (#1#)', 'wpsg'), $this->arPayment[$this->view['basket']['checkout']['payment']]['name']); ?>:
|
6332 |
hartmut |
387 |
</div>
|
|
|
388 |
<div class="value">
|
7347 |
daniel |
389 |
|
6332 |
hartmut |
390 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') {
|
7347 |
daniel |
391 |
|
|
|
392 |
$payment_tax_key = $this->view['basket']['arCalculation']['payment'][0]['tax_key'];
|
|
|
393 |
|
|
|
394 |
if ($payment_tax_key === '0') {
|
|
|
395 |
|
6332 |
hartmut |
396 |
echo __('anteilig', 'wpsg');
|
7347 |
daniel |
397 |
|
|
|
398 |
} else {
|
|
|
399 |
|
|
|
400 |
echo wpsg_ff($this->view['basket']['arCalculation']['tax'][$payment_tax_key]['tax_value'], '%');
|
|
|
401 |
|
6332 |
hartmut |
402 |
}
|
7347 |
daniel |
403 |
|
|
|
404 |
} ?>
|
|
|
405 |
|
6332 |
hartmut |
406 |
</div>
|
|
|
407 |
<div class="value">
|
7347 |
daniel |
408 |
<?php
|
|
|
409 |
|
|
|
410 |
echo wpsg_ff($this->view['basket']['sum']['preis_payment'], $this->get_option('wpsg_currency'));
|
|
|
411 |
|
|
|
412 |
if (strpos($this->view['basket']['arCalculation']['payment'][0]['set'], '%') !== false) {
|
|
|
413 |
|
|
|
414 |
echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($this->view['basket']['arCalculation']['payment'][0]['set']), '%').')</span>';
|
|
|
415 |
|
|
|
416 |
}
|
|
|
417 |
|
|
|
418 |
?>
|
6332 |
hartmut |
419 |
</div>
|
|
|
420 |
</div>
|
|
|
421 |
<?php } ?>
|
|
|
422 |
<?php /* Zeile für Zahlungsart ENDE */ ?>
|
|
|
423 |
|
|
|
424 |
<?php if (get_option("wpsg_kleinunternehmer") == "1") { ?>
|
|
|
425 |
<div class="overview_sum_row">
|
|
|
426 |
<div class="title2">
|
|
|
427 |
<?php echo get_option('wpsg_kleinunternehmer_text'); ?>
|
|
|
428 |
</div>
|
|
|
429 |
<div class="value">
|
|
|
430 |
<?php echo __(' '); ?>
|
|
|
431 |
</div>
|
|
|
432 |
</div>
|
|
|
433 |
|
|
|
434 |
<div class="overview_sum_row">
|
|
|
435 |
<div class="title2">
|
3024 |
daniel |
436 |
<?php echo __('Gesamtpreis', 'wpsg'); ?>:
|
6332 |
hartmut |
437 |
</div>
|
|
|
438 |
<div class="sum">
|
|
|
439 |
<?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?>
|
|
|
440 |
</div>
|
|
|
441 |
</div>
|
|
|
442 |
<?php } else { ?>
|
|
|
443 |
|
|
|
444 |
<div class="overview_sum_row">
|
|
|
445 |
<div class="title2">
|
3024 |
daniel |
446 |
<?php echo __('Gesamtpreis (Netto)', 'wpsg'); ?>:
|
6332 |
hartmut |
447 |
</div>
|
|
|
448 |
<div class="sum">
|
|
|
449 |
<?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_netto'], $this->get_option('wpsg_currency')); ?>
|
|
|
450 |
</div>
|
|
|
451 |
</div>
|
|
|
452 |
|
|
|
453 |
<?php foreach ($this->view['basket']['mwst'] as $mwst) { ?>
|
|
|
454 |
<div class="overview_sum_row">
|
|
|
455 |
<div class="title2">
|
|
|
456 |
<?php echo wpsg_translate(__('zuzüglich MwSt. (#1#)', 'wpsg'), __($mwst['name'], 'wpsg')); ?>:
|
|
|
457 |
</div>
|
|
|
458 |
<div class="value">
|
|
|
459 |
<?php echo wpsg_ff($mwst['sum']); ?> <?php echo $this->get_option('wpsg_currency'); ?>
|
|
|
460 |
</div>
|
|
|
461 |
</div>
|
|
|
462 |
<?php } ?>
|
|
|
463 |
<div class="wpsg_spacer"></div>
|
|
|
464 |
<div class="overview_sum_row">
|
|
|
465 |
<div class="title2">
|
3024 |
daniel |
466 |
<?php echo __('Gesamtpreis (Brutto)', 'wpsg'); ?>:
|
6332 |
hartmut |
467 |
</div>
|
|
|
468 |
<div class="sum">
|
3024 |
daniel |
469 |
<?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?>
|
6332 |
hartmut |
470 |
</div>
|
|
|
471 |
</div>
|
|
|
472 |
<div class="wpsg_spacer"></div>
|
|
|
473 |
<?php } ?>
|
|
|
474 |
|
7486 |
daniel |
475 |
<?php echo $this->callMod('wpsg_mod_gutschein', 'overview_row_end_coupon'); ?>
|
|
|
476 |
|
6332 |
hartmut |
477 |
<?php $this->callMods('overview_row_end', array(&$this->view)); ?>
|
7486 |
daniel |
478 |
|
6332 |
hartmut |
479 |
<div class="wpsg_spacer"></div>
|
|
|
480 |
|
|
|
481 |
<br />
|
|
|
482 |
|
|
|
483 |
</div>
|
|
|
484 |
|
2301 |
daniel |
485 |
<div class="wpsg_versandhinweis"><?php echo __('Sofern die Lieferung in das Nicht-EU-Ausland erfolgt, können weitere Zölle, Steuern oder Gebühren vom Kunden zu zahlen sein, jedoch nicht an den Anbieter, sondern an die dort zuständigen Zoll- bzw. Steuerbehörden. Dem Kunden wird empfohlen, die Einzelheiten vor der Bestellung bei den Zoll- bzw. Steuerbehörden zu erfragen.', 'wpsg'); ?></div>
|
|
|
486 |
</div>
|
6332 |
hartmut |
487 |
|
2308 |
daniel |
488 |
<br />
|
6332 |
hartmut |
489 |
|
1739 |
david |
490 |
<?php if ($this->view['basket']['checkout']['comment'] != '') { ?>
|
2301 |
daniel |
491 |
<div class="subtitle">
|
|
|
492 |
<?php echo __('Bestellkommentar', 'wpsg'); ?>
|
|
|
493 |
<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
|
|
|
494 |
</div>
|
|
|
495 |
<div class="wpsg_ordercomment">
|
|
|
496 |
<?php echo $this->view['basket']['checkout']['comment'] ?>
|
|
|
497 |
</div>
|
6332 |
hartmut |
498 |
<?php }?>
|
|
|
499 |
|
|
|
500 |
|
1401 |
daniel |
501 |
<?php $this->callMods('overview_inner_prebutton', array(&$this->view)); ?>
|
6332 |
hartmut |
502 |
|
|
|
503 |
<div class="wpsg_spacer"></div>
|
3454 |
daniel |
504 |
<div class="wpsg_clear"></div>
|
6332 |
hartmut |
505 |
|
|
|
506 |
<input type="submit" class="wpsg_checkoutbutton" value="<?php echo __('zurück', 'wpsg'); ?>" name="wpsg_redirect_checkout" />
|
|
|
507 |
<input type="submit" class="wpsg_orderbutton" value="<?php echo __('zahlungspflichtig bestellen', 'wpsg'); ?>" name="wpsg_order" />
|
|
|
508 |
|
1067 |
daniel |
509 |
<div class="wpsg_clear"></div>
|
1068 |
daniel |
510 |
|
6332 |
hartmut |
511 |
</form>
|
|
|
512 |
|
1067 |
daniel |
513 |
</div>
|