1067 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für die Zusammenfassung der Bestellung
|
|
|
5 |
* Anzeige vor dem Abschluß einer Bestellung
|
|
|
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>
|
6332 |
hartmut |
57 |
<?php if (trim($this->view['basket']['checkout']['firma']) != '') { ?>
|
1720 |
daniel |
58 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?><br />
|
1329 |
david |
59 |
<?php } ?>
|
6149 |
hartmut |
60 |
<?php echo wpsg_hspc(($this->view['basket']['checkout']['title'] != '' && $this->view['basket']['checkout']['title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['title']]:''); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['vname']); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['name']); ?><br />
|
1720 |
daniel |
61 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['strasse']); ?><br />
|
|
|
62 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['plz']); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['ort']); ?><br />
|
1658 |
daniel |
63 |
<?php if (wpsg_isSizedArray($this->view['basket']['land'])) { ?>
|
|
|
64 |
<?php echo wpsg_hspc($this->view['basket']['land']['name']); ?>
|
6332 |
hartmut |
65 |
<?php } ?>
|
|
|
66 |
</div>
|
1329 |
david |
67 |
<div class="wpsg_clear"></div><br />
|
6332 |
hartmut |
68 |
|
1329 |
david |
69 |
<div class="anschrift">
|
3444 |
daniel |
70 |
<div class="subtitle"><?php echo __('Lieferanschrift', 'wpsg'); ?>
|
|
|
71 |
<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
|
|
|
72 |
</div>
|
6332 |
hartmut |
73 |
<?php if (trim($this->view['basket']['checkout']['shipping_firma']) != '') { ?>
|
1720 |
daniel |
74 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_firma']); ?><br />
|
1329 |
david |
75 |
<?php } ?>
|
6149 |
hartmut |
76 |
<?php echo (($this->view['basket']['checkout']['shipping_title'] != '' && $this->view['basket']['checkout']['shipping_title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['shipping_title']]:''); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_vname']); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_name']); ?><br />
|
1720 |
daniel |
77 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_strasse']); ?><br />
|
|
|
78 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_plz']); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_ort']); ?><br />
|
1658 |
daniel |
79 |
<?php if (wpsg_isSizedArray($this->view['basket']['shipping_land'])) { ?>
|
|
|
80 |
<?php echo wpsg_hspc($this->view['basket']['shipping_land']['name']); ?>
|
6332 |
hartmut |
81 |
<?php } ?>
|
|
|
82 |
</div>
|
1329 |
david |
83 |
<div class="wpsg_clear"></div><br />
|
6332 |
hartmut |
84 |
|
1329 |
david |
85 |
<?php } else { ?>
|
6332 |
hartmut |
86 |
|
1218 |
daniel |
87 |
<div class="anschrift">
|
3444 |
daniel |
88 |
<div class="subtitle"><?php echo __('Liefer- und Rechnungsanschrift', 'wpsg'); ?>
|
6149 |
hartmut |
89 |
<?php if ($this->hasMod('wpsg_mod_onepagecheckout') && ($this->get_option('wpsg_mod_onepagecheckout_basket') == 1)) { ?>
|
3444 |
daniel |
90 |
<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
|
6149 |
hartmut |
91 |
<?php } else { ?>
|
|
|
92 |
<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
|
|
|
93 |
<?php } ?>
|
3444 |
daniel |
94 |
</div>
|
6332 |
hartmut |
95 |
<?php if (trim($this->view['basket']['checkout']['firma']) != '') { ?>
|
1720 |
daniel |
96 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?><br />
|
1327 |
daniel |
97 |
<?php } ?>
|
6149 |
hartmut |
98 |
<?php echo wpsg_hspc(($this->view['basket']['checkout']['title'] != '' && $this->view['basket']['checkout']['title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['title']]:''); ?> <?php echo $this->view['basket']['checkout']['vname']; ?> <?php echo $this->view['basket']['checkout']['name']; ?><br />
|
1720 |
daniel |
99 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['strasse']); ?><br />
|
|
|
100 |
<?php echo wpsg_hspc($this->view['basket']['checkout']['plz']); ?> <?php echo wpsg_hspc($this->view['basket']['checkout']['ort']); ?><br />
|
1658 |
daniel |
101 |
<?php if (wpsg_isSizedArray($this->view['basket']['land'])) { ?>
|
|
|
102 |
<?php echo wpsg_hspc($this->view['basket']['land']['name']); ?>
|
6332 |
hartmut |
103 |
<?php } ?>
|
|
|
104 |
</div>
|
1218 |
daniel |
105 |
<div class="wpsg_clear"></div><br />
|
1329 |
david |
106 |
<?php } ?>
|
6332 |
hartmut |
107 |
|
4061 |
daniel |
108 |
<?php if (wpsg_isSizedString($this->view['basket']['checkout']['ustidnr'])) { ?>
|
|
|
109 |
<?php echo __('UStIdNr.', 'wpsg'); ?>: <?php echo wpsg_hspc($this->view['basket']['checkout']['ustidnr']); ?><br /><br />
|
|
|
110 |
<?php } ?>
|
6332 |
hartmut |
111 |
|
1324 |
daniel |
112 |
<div class="subtitle">
|
1587 |
daniel |
113 |
<?php echo __('Bestellte Produkte', 'wpsg'); ?>
|
1324 |
daniel |
114 |
<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_BASKET)); ?></span>
|
|
|
115 |
</div>
|
6332 |
hartmut |
116 |
|
2301 |
daniel |
117 |
<div class="wpsg_table_wrap">
|
6332 |
hartmut |
118 |
|
|
|
119 |
<?php $i = 0; foreach ($this->view['basket']['produkte'] as $k => $product_data) { $i ++; ?>
|
|
|
120 |
|
|
|
121 |
<div class="overview_product_row">
|
|
|
122 |
|
|
|
123 |
<?php $this->view['$bPicture'] = false; ?>
|
|
|
124 |
|
6454 |
hartmut |
125 |
<?php if ($this->get_option('wpsg_imagehandler_basketimage') == '1') {
|
6332 |
hartmut |
126 |
|
|
|
127 |
?>
|
|
|
128 |
<div class="productimage">
|
|
|
129 |
|
|
|
130 |
<?php
|
6454 |
hartmut |
131 |
|
6332 |
hartmut |
132 |
if (isset($product_data['product_key'])) {
|
6454 |
hartmut |
133 |
$arAttachmentIDs = $this->imagehandler->getAttachmentIDs($product_data['product_key']);
|
|
|
134 |
$attachmentID = $this->imagehandler->getAttachmentID($product_data['product_key']);
|
|
|
135 |
|
|
|
136 |
echo wp_get_attachment_image($attachmentID, 'medium');
|
|
|
137 |
|
6332 |
hartmut |
138 |
}
|
6454 |
hartmut |
139 |
if ($attachmentID > 0) $this->view['$bPicture'] = true;
|
|
|
140 |
|
6332 |
hartmut |
141 |
?>
|
|
|
142 |
|
|
|
143 |
</div>
|
|
|
144 |
<?php } ?>
|
|
|
145 |
|
|
|
146 |
<div class="product_content">
|
|
|
147 |
|
|
|
148 |
<div class="product_name">
|
|
|
149 |
<?php if ($this->getProduktLink($product_data)) { ?>
|
|
|
150 |
<a href="<?php echo $this->getProduktLink($product_data); ?>"><?php echo wpsg_hspc((($product_data['detailname'] != '')?$product_data['detailname']:$product_data['name'])); ?></a>
|
|
|
151 |
<?php } else { ?>
|
|
|
152 |
<?php echo wpsg_hspc((($product_data['detailname'] != '')?$product_data['detailname']:$product_data['name'])); ?>
|
|
|
153 |
<?php } ?>
|
|
|
154 |
|
|
|
155 |
<?php if (wpsg_isSizedString($product_data['shortdesc'])) { ?>
|
|
|
156 |
<div class="product_shortdesc"><?php echo $product_data['shortdesc']; ?></div>
|
|
|
157 |
<?php } ?>
|
|
|
158 |
|
|
|
159 |
</div>
|
|
|
160 |
|
|
|
161 |
<div class="product_action">
|
|
|
162 |
<div class="title">
|
|
|
163 |
<?php echo __("Anzahl", "wpsg"); ?>
|
|
|
164 |
</div>
|
|
|
165 |
<div class="amount">
|
|
|
166 |
<?php echo wpsg_hspc($product_data['menge']); ?>
|
|
|
167 |
</div>
|
|
|
168 |
</div>
|
|
|
169 |
<div class="product_action">
|
|
|
170 |
<div class="title">
|
|
|
171 |
<?php echo __("Einzelpreis", "wpsg"); ?>
|
|
|
172 |
</div>
|
|
|
173 |
<div class="price">
|
|
|
174 |
<?php echo wpsg_ff($product_data['preis'], $this->get_option('wpsg_currency')); ?>
|
|
|
175 |
</div>
|
|
|
176 |
</div>
|
|
|
177 |
<div class="product_action">
|
|
|
178 |
<div class="title">
|
|
|
179 |
<?php echo __("Gesamtpreis", "wpsg"); ?>
|
|
|
180 |
</div>
|
|
|
181 |
<div class="price_total">
|
|
|
182 |
<?php echo wpsg_ff($product_data['menge'] * $product_data['preis'], $this->get_option('wpsg_currency')); ?>
|
|
|
183 |
</div>
|
|
|
184 |
</div>
|
|
|
185 |
|
3444 |
daniel |
186 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
6332 |
hartmut |
187 |
<div class="product_info">
|
|
|
188 |
<div
|
|
|
189 |
<?php if ($this->view['$bPicture'] == true) { ?>class="titlep"><?php } else { ?>class="title"><?php } ?>
|
|
|
190 |
<?php echo __("MwSt.", "wpsg"); ?>
|
|
|
191 |
</div>
|
|
|
192 |
<div class="valuer">
|
|
|
193 |
<?php echo wpsg_ff($product_data['mwst_value'], ' %'); ?>
|
|
|
194 |
</div>
|
|
|
195 |
<div class="dummyr">
|
|
|
196 |
<?php echo __(' '); ?>
|
|
|
197 |
</div>
|
|
|
198 |
|
|
|
199 |
</div>
|
3444 |
daniel |
200 |
<?php } ?>
|
6332 |
hartmut |
201 |
|
|
|
202 |
<?php $strOverviewRow= ''; ob_start(); $this->callMods('overview_row', array(&$product_data, $i)); $strOverviewRow= ob_get_contents(); ob_end_clean(); ?>
|
|
|
203 |
<?php echo $strOverviewRow; ?>
|
|
|
204 |
|
|
|
205 |
</div>
|
|
|
206 |
|
|
|
207 |
</div>
|
|
|
208 |
<?php } // foreach products ?>
|
|
|
209 |
|
|
|
210 |
<div class="overview_sum_wrap">
|
|
|
211 |
|
|
|
212 |
<?php $bLine = false; ?>
|
|
|
213 |
<?php if (isset($this->view['basket']['gs'])) { $bLine = true; ?>
|
|
|
214 |
<div class="overview_sum_row">
|
|
|
215 |
<div class="titlegs">
|
|
|
216 |
<?php echo __('Gutschein', 'wpsg'); ?> <?php echo ($this->view['basket']['gs']['code'] != '')? '('.$this->view['basket']['gs']['code'].')':'' ?>
|
|
|
217 |
</div>
|
|
|
218 |
</div>
|
|
|
219 |
<div class="overview_sum_row">
|
|
|
220 |
<div class="delgs"> </div>
|
|
|
221 |
<div class="colgsl">1</div>
|
|
|
222 |
<div class="colgsl">
|
|
|
223 |
<?php if ($this->view['basket']['gs']['calc'] == 'p') { ?>
|
|
|
224 |
<?php echo '-'.wpsg_ff($this->view['basket']['gs']['value'], '%'); ?>
|
|
|
225 |
<?php } else { ?>
|
|
|
226 |
<?php echo '-'.wpsg_ff($this->view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?>
|
2766 |
daniel |
227 |
<?php } ?>
|
6332 |
hartmut |
228 |
</div>
|
|
|
229 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
|
|
230 |
<div class="colgsr"><?php echo __('anteilig', 'wpsg'); ?></div>
|
1067 |
daniel |
231 |
<?php } ?>
|
6332 |
hartmut |
232 |
<div class="colgsr"><?php echo '-'.wpsg_ff($this->view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?></div>
|
|
|
233 |
</div>
|
|
|
234 |
<?php } ?>
|
|
|
235 |
|
|
|
236 |
<div class="overview_sum_row">
|
3024 |
daniel |
237 |
<?php if (isset($this->view['basket']['sum']['preis_rabatt']) && wpsg_tf($this->view['basket']['sum']['preis_rabatt']) > 0) { ?>
|
6332 |
hartmut |
238 |
<div class="title">
|
|
|
239 |
<?php echo __("Rabatt", "wpsg"); $bLine = true; ?>:
|
|
|
240 |
</div>
|
3024 |
daniel |
241 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
6332 |
hartmut |
242 |
<div class="value">
|
|
|
243 |
<?php echo __('anteilig', 'wpsg'); ?>
|
|
|
244 |
</div>
|
3024 |
daniel |
245 |
<?php } ?>
|
6332 |
hartmut |
246 |
<div class="value">
|
|
|
247 |
<?php echo '-'.wpsg_ff($this->view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')); ?>
|
|
|
248 |
</div>
|
3024 |
daniel |
249 |
<?php } ?>
|
6332 |
hartmut |
250 |
</div>
|
|
|
251 |
|
|
|
252 |
<?php if ($bLine == true) { ?>
|
|
|
253 |
<div class="wpsg_spacer"></div>
|
|
|
254 |
<?php } ?>
|
|
|
255 |
|
|
|
256 |
<div class="overview_sum_row">
|
|
|
257 |
<div class="title2">
|
|
|
258 |
<?php if ($this->get_option("wpsg_kleinunternehmer") == "1") { ?>
|
|
|
259 |
<?php echo wpsg_translate(__('Summe (zzgl. #1#)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'</a>'); ?>:
|
|
|
260 |
<?php } else { ?>
|
|
|
261 |
<?php if ($this->getFrontendTaxview() == WPSG_NETTO) { ?>
|
|
|
262 |
<?php echo wpsg_translate(__('Summe (zzgl. #1#, zzgl. MwSt.)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'</a>'); ?>:
|
|
|
263 |
<?php } else { ?>
|
|
|
264 |
<?php echo wpsg_translate(__('Summe (zzgl. #1#, inkl. MwSt.)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'</a>'); ?>:
|
2301 |
daniel |
265 |
<?php } ?>
|
6332 |
hartmut |
266 |
<?php } ?>
|
|
|
267 |
</div>
|
|
|
268 |
<div class="value">
|
|
|
269 |
<?php echo wpsg_ff($this->view['basket']['sum']['preis'], $this->get_option('wpsg_currency')); ?>
|
|
|
270 |
</div>
|
|
|
271 |
</div>
|
|
|
272 |
|
|
|
273 |
<?php if ($this->view['basket']['sum']['preis_shipping'] != 0 || $this->get_option('wpsg_hideemptyshipping') != '1') { ?>
|
|
|
274 |
<div class="overview_sum_row">
|
|
|
275 |
<div class="title">
|
2301 |
daniel |
276 |
<?php echo wpsg_translate(__('<a href="#1#">Versandkosten</a> (#2#)', 'wpsg'),
|
|
|
277 |
$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN),
|
|
|
278 |
$this->arShipping[$this->view['basket']['checkout']['shipping']]['name']
|
6332 |
hartmut |
279 |
); ?>:
|
|
|
280 |
|
|
|
281 |
</div>
|
|
|
282 |
<div class="value">
|
|
|
283 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') {
|
|
|
284 |
if (isset($this->view['basket']['shipping']['tax_rata']) && $this->view['basket']['shipping']['tax_rata'] === true)
|
|
|
285 |
{
|
|
|
286 |
|
|
|
287 |
echo __('anteilig', 'wpsg');
|
|
|
288 |
|
|
|
289 |
}
|
|
|
290 |
else if (array_key_exists($this->view['basket']['checkout']['shipping'], $this->arShipping))
|
|
|
291 |
{
|
|
|
292 |
|
|
|
293 |
echo wpsg_ff($this->arShipping[$this->view['basket']['checkout']['shipping']]['mwst_value'], '%');
|
|
|
294 |
|
|
|
295 |
}
|
|
|
296 |
}
|
|
|
297 |
?>
|
|
|
298 |
</div>
|
|
|
299 |
<div class="value">
|
|
|
300 |
<?php echo wpsg_ff($this->view['basket']['sum']['preis_shipping'], $this->get_option('wpsg_currency')); ?>
|
|
|
301 |
</div>
|
|
|
302 |
</div>
|
|
|
303 |
<?php } ?>
|
|
|
304 |
|
|
|
305 |
<?php /* Zeile für Zahlungsart BEGIN */ ?>
|
|
|
306 |
<?php if (!$this->hasMod('wpsg_mod_crefopay')) { ?>
|
|
|
307 |
<div class="overview_sum_row">
|
|
|
308 |
<div class="title">
|
3024 |
daniel |
309 |
<?php echo wpsg_translate(__('Zahlungsart (#1#)', 'wpsg'), $this->arPayment[$this->view['basket']['checkout']['payment']]['name']); ?>:
|
6332 |
hartmut |
310 |
</div>
|
|
|
311 |
<div class="value">
|
|
|
312 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') {
|
|
|
313 |
|
|
|
314 |
if (isset($this->view['basket']['payment']['tax_rata']) && $this->view['basket']['payment']['tax_rata'] === true)
|
|
|
315 |
{
|
|
|
316 |
|
|
|
317 |
echo __('anteilig', 'wpsg');
|
|
|
318 |
|
|
|
319 |
}
|
|
|
320 |
else if (array_key_exists(wpsg_getStr($this->view['basket']['checkout']['payment']), $this->arPayment))
|
|
|
321 |
{
|
|
|
322 |
|
|
|
323 |
echo wpsg_ff($this->arPayment[$this->view['basket']['checkout']['payment']]['mwst_value'], '%');
|
|
|
324 |
|
|
|
325 |
}
|
|
|
326 |
|
|
|
327 |
} ?>
|
|
|
328 |
</div>
|
|
|
329 |
<div class="value">
|
2301 |
daniel |
330 |
<?php echo wpsg_ff($this->view['basket']['sum']['preis_payment'], $this->get_option('wpsg_currency')); ?>
|
6332 |
hartmut |
331 |
</div>
|
|
|
332 |
</div>
|
|
|
333 |
<?php } ?>
|
|
|
334 |
<?php /* Zeile für Zahlungsart ENDE */ ?>
|
|
|
335 |
|
|
|
336 |
<?php if (get_option("wpsg_kleinunternehmer") == "1") { ?>
|
|
|
337 |
<div class="overview_sum_row">
|
|
|
338 |
<div class="title2">
|
|
|
339 |
<?php echo get_option('wpsg_kleinunternehmer_text'); ?>
|
|
|
340 |
</div>
|
|
|
341 |
<div class="value">
|
|
|
342 |
<?php echo __(' '); ?>
|
|
|
343 |
</div>
|
|
|
344 |
</div>
|
|
|
345 |
|
|
|
346 |
<div class="overview_sum_row">
|
|
|
347 |
<div class="title2">
|
3024 |
daniel |
348 |
<?php echo __('Gesamtpreis', 'wpsg'); ?>:
|
6332 |
hartmut |
349 |
</div>
|
|
|
350 |
<div class="sum">
|
|
|
351 |
<?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?>
|
|
|
352 |
</div>
|
|
|
353 |
</div>
|
|
|
354 |
<?php } else { ?>
|
|
|
355 |
|
|
|
356 |
<div class="overview_sum_row">
|
|
|
357 |
<div class="title2">
|
3024 |
daniel |
358 |
<?php echo __('Gesamtpreis (Netto)', 'wpsg'); ?>:
|
6332 |
hartmut |
359 |
</div>
|
|
|
360 |
<div class="sum">
|
|
|
361 |
<?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_netto'], $this->get_option('wpsg_currency')); ?>
|
|
|
362 |
</div>
|
|
|
363 |
</div>
|
|
|
364 |
|
|
|
365 |
<?php foreach ($this->view['basket']['mwst'] as $mwst) { ?>
|
|
|
366 |
<div class="overview_sum_row">
|
|
|
367 |
<div class="title2">
|
|
|
368 |
<?php echo wpsg_translate(__('zuzüglich MwSt. (#1#)', 'wpsg'), __($mwst['name'], 'wpsg')); ?>:
|
|
|
369 |
</div>
|
|
|
370 |
<div class="value">
|
|
|
371 |
<?php echo wpsg_ff($mwst['sum']); ?> <?php echo $this->get_option('wpsg_currency'); ?>
|
|
|
372 |
</div>
|
|
|
373 |
</div>
|
|
|
374 |
<?php } ?>
|
|
|
375 |
<div class="wpsg_spacer"></div>
|
|
|
376 |
<div class="overview_sum_row">
|
|
|
377 |
<div class="title2">
|
3024 |
daniel |
378 |
<?php echo __('Gesamtpreis (Brutto)', 'wpsg'); ?>:
|
6332 |
hartmut |
379 |
</div>
|
|
|
380 |
<div class="sum">
|
3024 |
daniel |
381 |
<?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?>
|
6332 |
hartmut |
382 |
</div>
|
|
|
383 |
</div>
|
|
|
384 |
<div class="wpsg_spacer"></div>
|
|
|
385 |
<?php } ?>
|
|
|
386 |
|
|
|
387 |
<?php $this->callMods('overview_row_end', array(&$this->view)); ?>
|
|
|
388 |
<div class="wpsg_spacer"></div>
|
|
|
389 |
|
|
|
390 |
<br />
|
|
|
391 |
|
|
|
392 |
</div>
|
|
|
393 |
|
2301 |
daniel |
394 |
<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>
|
|
|
395 |
</div>
|
6332 |
hartmut |
396 |
|
2308 |
daniel |
397 |
<br />
|
6332 |
hartmut |
398 |
|
1739 |
david |
399 |
<?php if ($this->view['basket']['checkout']['comment'] != '') { ?>
|
2301 |
daniel |
400 |
<div class="subtitle">
|
|
|
401 |
<?php echo __('Bestellkommentar', 'wpsg'); ?>
|
|
|
402 |
<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
|
|
|
403 |
</div>
|
|
|
404 |
<div class="wpsg_ordercomment">
|
|
|
405 |
<?php echo $this->view['basket']['checkout']['comment'] ?>
|
|
|
406 |
</div>
|
6332 |
hartmut |
407 |
<?php }?>
|
|
|
408 |
|
|
|
409 |
|
1401 |
daniel |
410 |
<?php $this->callMods('overview_inner_prebutton', array(&$this->view)); ?>
|
6332 |
hartmut |
411 |
|
|
|
412 |
<div class="wpsg_spacer"></div>
|
3454 |
daniel |
413 |
<div class="wpsg_clear"></div>
|
6332 |
hartmut |
414 |
|
|
|
415 |
<input type="submit" class="wpsg_checkoutbutton" value="<?php echo __('zurück', 'wpsg'); ?>" name="wpsg_redirect_checkout" />
|
|
|
416 |
<input type="submit" class="wpsg_orderbutton" value="<?php echo __('zahlungspflichtig bestellen', 'wpsg'); ?>" name="wpsg_order" />
|
|
|
417 |
|
1067 |
daniel |
418 |
<div class="wpsg_clear"></div>
|
1068 |
daniel |
419 |
|
6332 |
hartmut |
420 |
</form>
|
|
|
421 |
|
1067 |
daniel |
422 |
</div>
|