3679 |
daniel |
1 |
<div class="baskettable_wrap">
|
3681 |
daniel |
2 |
<table class="baskettable" cellpadding="2" cellspacing="0" style="cell-padding:4px;">
|
3679 |
daniel |
3 |
<tr class="head">
|
3681 |
daniel |
4 |
<th valign="middle" style="cell-padding:4px; padding:4px; line-height:100%; vertical-align:middle;" class="col_pos"><?php echo __('Pos', 'wpsg'); ?></th>
|
|
|
5 |
<th valign="middle" style="cell-padding:4px; padding:4px; line-height:100%; vertical-align:middle;" class="col_name"><?php echo __('Produkt', 'wpsg'); ?></th>
|
|
|
6 |
<th valign="middle" style="cell-padding:4px; padding:4px; line-height:100%; vertical-align:middle;" class="col_price"><?php echo __('Stückpreis', 'wpsg'); ?></th>
|
3679 |
daniel |
7 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
4446 |
daniel |
8 |
<th valign="middle" style="cell-padding:4px; padding:4px; line-height:100%; min-width:50px; width:50px; vertical-align:middle;" class="col_mwst"><?php echo __('MwSt.', 'wpsg'); ?></th>
|
3679 |
daniel |
9 |
<?php } ?>
|
3681 |
daniel |
10 |
<th valign="middle" style="cell-padding:4px; padding:4px; line-height:100%; vertical-align:middle;" class="col_amount"><?php echo __('Anzahl', 'wpsg'); ?></th>
|
|
|
11 |
<th valign="middle" style="cell-padding:4px; padding:4px; line-height:100%; vertical-align:middle;" class="col_sum"><?php echo __('Summe', 'wpsg'); ?></th>
|
3679 |
daniel |
12 |
</tr>
|
|
|
13 |
<?php $i = 0; foreach ((array)$this->view['basket']['produkte'] as $p) { $i ++; ?>
|
|
|
14 |
<tr class="productrow <?php echo ((($i % 2) == 0)?'productrow_odd':'productrow_even'); ?>">
|
3681 |
daniel |
15 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_pos td_bt"><?php echo $i; ?>.</td>
|
4388 |
daniel |
16 |
<td style="padding:0px; vertical-align:middle;" class="col_name td_bt">
|
|
|
17 |
|
4385 |
daniel |
18 |
<table cellpadding="0" cellspacing="0">
|
4388 |
daniel |
19 |
<tr>
|
|
|
20 |
<td style="padding:0px; ">
|
6491 |
hartmut |
21 |
<?php if (wpsg_isSizedInt($this->get_option('wpsg_imagehandler_overviewimage'))) {
|
|
|
22 |
|
|
|
23 |
if (isset($p['product_key'])) {
|
|
|
24 |
$bild = $this->imagehandler->getAttachmentID($p['product_key']);
|
|
|
25 |
} else {
|
|
|
26 |
$arBilder = $this->imagehandler->getAttachmentIDs($this->getProduktId($p['id']));
|
|
|
27 |
$bild = $arBilder[0];
|
|
|
28 |
}
|
|
|
29 |
?>
|
|
|
30 |
<?php if (wpsg_isSizedString($bild)) { ?>
|
4440 |
daniel |
31 |
<a style="width:50px; width:50px; margin-right:10px; float:left;" href="<?php echo $this->getProduktLink($this->getProduktId($p['id'])); ?>" title="<?php echo wpsg_hspc(((wpsg_isSizedString($p['detailname'])?$p['detailname']:$p['name']))); ?>">
|
6038 |
daniel |
32 |
|
6491 |
hartmut |
33 |
<?php echo wp_get_attachment_image($bild, Array(50, 50)); ?>
|
4384 |
daniel |
34 |
</a>
|
4388 |
daniel |
35 |
<?php } ?>
|
|
|
36 |
<?php } ?>
|
4384 |
daniel |
37 |
</td>
|
4442 |
daniel |
38 |
<td valign="middle" style="padding:4px; line-height:125%; vertical-align:middle; min-height:50px;">
|
4440 |
daniel |
39 |
<a href="<?php echo $this->getProduktLink($this->getProduktId($p['id'])); ?>" title="<?php echo wpsg_hspc(((wpsg_isSizedString($p['detailname'])?$p['detailname']:$p['name']))); ?>"><?php echo wpsg_hspc(((wpsg_isSizedString($p['detailname'])?$p['detailname']:$p['name']))); ?></a>
|
4388 |
daniel |
40 |
</td>
|
4384 |
daniel |
41 |
</tr>
|
|
|
42 |
</table>
|
4388 |
daniel |
43 |
|
4379 |
daniel |
44 |
</td>
|
3681 |
daniel |
45 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price td_bt"><?php echo wpsg_ff($p['preis'], $this->get_option('wpsg_currency')); ?></td>
|
3679 |
daniel |
46 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
3681 |
daniel |
47 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst td_bt"><?php echo wpsg_ff($p['mwst_value'], '%'); ?></td>
|
3679 |
daniel |
48 |
<?php } ?>
|
3681 |
daniel |
49 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount td_bt"><?php echo $p['menge']; ?></td>
|
|
|
50 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum td_bt"><?php echo wpsg_ff($p['preis'] * $p['menge'], $this->get_option('wpsg_currency')); ?></td>
|
3679 |
daniel |
51 |
</tr>
|
|
|
52 |
<tr class="productrow productrow2 <?php echo ((($i % 2) == 0)?'productrow_odd':'productrow_even'); ?>">
|
3681 |
daniel |
53 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_pos"> </td>
|
|
|
54 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name"><?php echo __('Art. Nr.', 'wpsg'); ?>:</td>
|
|
|
55 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'4':'3'); ?>">
|
3679 |
daniel |
56 |
<?php echo wpsg_hspc($p['anr']); ?>
|
|
|
57 |
</td>
|
|
|
58 |
</tr>
|
|
|
59 |
<?php $this->view['i'] = $i; $this->callMods('mail_row', array($i, $p)); ?>
|
4132 |
daniel |
60 |
<?php if (wpsg_isSizedArray($p['order_allowedshipping'])) { ?>
|
|
|
61 |
<tr class="productrow productrow2 <?php echo ((($this->view['i'] % 2) == 0)?'productrow_odd':'productrow_even'); ?>">
|
|
|
62 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_pos"> </td>
|
|
|
63 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name"><?php echo __('Mögliche Versandarten', 'wpsg'); ?>:</td>
|
|
|
64 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_productvars_value">
|
|
|
65 |
<?php $j = 0; foreach ($p['order_allowedshipping'] as $shipping) { $j ++; ?>
|
|
|
66 |
<?php echo $this->getShippingName($shipping); ?><?php if ($j < sizeof($p['order_allowedshipping'])) { ?>, <?php } ?>
|
|
|
67 |
<?php } ?>
|
|
|
68 |
</td>
|
|
|
69 |
</tr>
|
3648 |
daniel |
70 |
<?php } ?>
|
4132 |
daniel |
71 |
<?php } ?>
|
3679 |
daniel |
72 |
<?php if (isset($this->view['basket']['gs'])) { ?>
|
|
|
73 |
<tr class="voucherrow">
|
3681 |
daniel |
74 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_pos"><?php echo $i + 1; ?>.</td>
|
|
|
75 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name"><?php echo wpsg_translate(__('Gutschein (#1#)', 'wpsg'), $this->view['basket']['gs']['code']); ?></td>
|
|
|
76 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price"><?php echo wpsg_ff($this->view['basket']['gs']['value'], (($this->view['basket']['gs']['calc'] == 'w')?$this->get_option('wpsg_currency'):'%')); ?></td>
|
3679 |
daniel |
77 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
3681 |
daniel |
78 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst"><?php echo __('anteilig', 'wpsg'); ?></td>
|
3679 |
daniel |
79 |
<?php } ?>
|
3681 |
daniel |
80 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount">1</td>
|
|
|
81 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum"><?php echo '-'.wpsg_ff($this->view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?></td>
|
3679 |
daniel |
82 |
</tr>
|
3648 |
daniel |
83 |
<?php } ?>
|
3679 |
daniel |
84 |
<tr class="spacer">
|
3681 |
daniel |
85 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="td_bt" colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'6':'5'); ?>"> </td>
|
3679 |
daniel |
86 |
</tr>
|
|
|
87 |
<?php if (isset($this->view['basket']['sum']['preis_rabatt']) && $this->view['basket']['sum']['preis_rabatt'] > 0) { ?>
|
3681 |
daniel |
88 |
<tr class="discountrow">
|
|
|
89 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="2"><?php echo __('Abzüglich Rabatt', 'wpsg'); ?>:</td>
|
|
|
90 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price"> </td>
|
|
|
91 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
|
|
92 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst"> </td>
|
3648 |
daniel |
93 |
<?php } ?>
|
3681 |
daniel |
94 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount"> </td>
|
|
|
95 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum"><?php echo wpsg_ff($this->view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')); ?></td>
|
3679 |
daniel |
96 |
</tr>
|
3648 |
daniel |
97 |
<?php } ?>
|
3679 |
daniel |
98 |
<tr class="subtotalrow">
|
3681 |
daniel |
99 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="2"><?php echo __('Zwischensumme', 'wpsg'); ?>:</td>
|
|
|
100 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price"> </td>
|
|
|
101 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
|
|
102 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst"></td>
|
3648 |
daniel |
103 |
<?php } ?>
|
3681 |
daniel |
104 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount"> </td>
|
|
|
105 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum"><?php echo wpsg_ff($this->view['basket']['sum']['preis'], $this->get_option('wpsg_currency')); ?></td>
|
3679 |
daniel |
106 |
</tr>
|
|
|
107 |
<tr class="shippingtotalrow">
|
3681 |
daniel |
108 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="2"><?php echo __('Versandkosten', 'wpsg'); ?>:</td>
|
|
|
109 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price"> </td>
|
3679 |
daniel |
110 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
3681 |
daniel |
111 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst">
|
3679 |
daniel |
112 |
<?php if (!wpsg_isSizedInt($this->arShipping[$this->view['basket']['checkout']['payment']]['mwst'])) { ?>
|
|
|
113 |
<?php echo __('Anteilig', 'wpsg'); ?>
|
|
|
114 |
<?php } else { ?>
|
|
|
115 |
<?php echo wpsg_ff($this->arShipping[$this->view['basket']['checkout']['shipping']]['mwst_value'], '% '); ?>
|
|
|
116 |
<?php } ?>
|
|
|
117 |
</td>
|
|
|
118 |
<?php } ?>
|
3681 |
daniel |
119 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount"> </td>
|
|
|
120 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum"><?php echo wpsg_ff($this->view['basket']['sum']['preis_shipping'], $this->get_option('wpsg_currency')); ?></td>
|
3679 |
daniel |
121 |
</tr>
|
4132 |
daniel |
122 |
<?php if (wpsg_isSizedArray($this->view['basket']['shipping']['methods'])) { ?>
|
|
|
123 |
<?php foreach ($this->view['basket']['shipping']['methods'] as $shipping) { ?>
|
|
|
124 |
<tr class="shippingtotalrow shippingsubrow">
|
|
|
125 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_pos"> </td>
|
|
|
126 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" colspan="2" class="col_name"><?php echo wpsg_hspc($this->getShippingName($shipping)); ?></td>
|
|
|
127 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
|
|
128 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst">
|
|
|
129 |
<?php if ($this->view['basket']['shipping'][$shipping]['tax_rata'] == 1) { ?>
|
|
|
130 |
<?php echo __('Anteilig', 'wpsg'); ?>
|
|
|
131 |
<?php } else { ?>
|
|
|
132 |
<?php echo wpsg_ff($this->view['basket']['shipping'][$shipping]['mwst'], '%'); ?>
|
|
|
133 |
<?php } ?>
|
|
|
134 |
</td>
|
|
|
135 |
<?php } ?>
|
|
|
136 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount"> </td>
|
|
|
137 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum">
|
|
|
138 |
<?php if ($this->get_option('wpsg_preisangaben_frontend') == WPSG_NETTO) { ?>
|
|
|
139 |
<?php echo wpsg_ff($this->view['basket']['shipping'][$shipping]['preis_shipping_netto'], $this->get_option('wpsg_currency')); ?>
|
|
|
140 |
<?php } else { ?>
|
|
|
141 |
<?php echo wpsg_ff($this->view['basket']['shipping'][$shipping]['preis_shipping_brutto'], $this->get_option('wpsg_currency')); ?>
|
|
|
142 |
<?php } ?>
|
|
|
143 |
</td>
|
|
|
144 |
</tr>
|
|
|
145 |
<?php } ?>
|
|
|
146 |
<?php } ?>
|
3679 |
daniel |
147 |
<tr class="paymenttotalrow">
|
3681 |
daniel |
148 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="2"><?php echo __('Zahlungskosten', 'wpsg'); ?>:</td>
|
|
|
149 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price"> </td>
|
3679 |
daniel |
150 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
3681 |
daniel |
151 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst">
|
3679 |
daniel |
152 |
<?php if (!wpsg_isSizedInt($this->arPayment[$this->view['basket']['checkout']['payment']]['mwst'])) { ?>
|
|
|
153 |
<?php echo __('Anteilig', 'wpsg'); ?>
|
|
|
154 |
<?php } else { ?>
|
|
|
155 |
<?php echo wpsg_ff($this->arPayment[$this->view['basket']['checkout']['payment']]['mwst_value'], '% '); ?>
|
|
|
156 |
<?php } ?>
|
|
|
157 |
</td>
|
|
|
158 |
<?php } ?>
|
3681 |
daniel |
159 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount"> </td>
|
|
|
160 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum"><?php echo wpsg_ff($this->view['basket']['sum']['preis_payment'], $this->get_option('wpsg_currency')); ?></td>
|
3679 |
daniel |
161 |
</tr>
|
|
|
162 |
<?php if ($this->get_option('wpsg_kleinunternehmer') == '1') { ?>
|
3681 |
daniel |
163 |
<tr class="smallbuisnessrulerow">
|
|
|
164 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') === '1')?'6':'5'); ?>">
|
3679 |
daniel |
165 |
<?php echo $this->get_option('wpsg_kleinunternehmer_text'); ?>
|
|
|
166 |
</td>
|
|
|
167 |
</tr>
|
|
|
168 |
<?php } else { ?>
|
|
|
169 |
<?php foreach ($this->view['basket']['mwst'] as $mwst_id => $mwst) { ?>
|
|
|
170 |
<tr class="taxrow">
|
3681 |
daniel |
171 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'5':'4'); ?>">
|
3679 |
daniel |
172 |
<?php if ($this->getFrontendTaxview() == WPSG_NETTO) { ?>
|
|
|
173 |
<?php echo wpsg_translate(__('zuzüglich MwSt. (#1#)', 'wpsg'), $mwst['name']); ?>
|
|
|
174 |
<?php } else { ?>
|
|
|
175 |
<?php echo wpsg_translate(__('darin enthaltene MwSt. (#1#)', 'wpsg'), $mwst['name']); ?>
|
|
|
176 |
<?php } ?>:
|
|
|
177 |
</td>
|
3681 |
daniel |
178 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum"><?php echo wpsg_ff($mwst['sum'], $this->get_option('wpsg_currency')); ?></td>
|
3679 |
daniel |
179 |
</tr>
|
3648 |
daniel |
180 |
<?php } ?>
|
|
|
181 |
<?php } ?>
|
3679 |
daniel |
182 |
<tr class="totalrow">
|
3681 |
daniel |
183 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="2"><?php echo __('Gesamtpreis', 'wpsg'); ?>:</td>
|
|
|
184 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price"> </td>
|
3679 |
daniel |
185 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
3681 |
daniel |
186 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst"></td>
|
3679 |
daniel |
187 |
<?php } ?>
|
3681 |
daniel |
188 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount"> </td>
|
|
|
189 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum"><strong><?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?></strong></td>
|
3679 |
daniel |
190 |
</tr>
|
|
|
191 |
</table>
|
|
|
192 |
</div>
|
|
|
193 |
|
3648 |
daniel |
194 |
<br />
|