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