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