Subversion Repositories wpShopGermany4

Rev

Rev 5261 | Rev 6113 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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; ">
21
							<?php if ($this->hasMod('wpsg_mod_produktbilder') && wpsg_isSizedInt($this->get_option('wpsg_mod_produktbilder_overviewimage'))) { $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->getProduktId($p['id']))); ?>
22
							<?php if (wpsg_isSizedArray($arBilder)) { ?>
4440 daniel 23
							<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 24
 
25
								<?php if (wpsg_isSizedString($p['varianten_image'])) $arBilder = array($p['varianten_image']);	?>
26
 
4440 daniel 27
								<img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->getProduktId($p['id']), array_shift($arBilder), 50, 50, 'sz')); ?>" alt="<?php echo wpsg_hspc(((wpsg_isSizedString($p['detailname'])?$p['detailname']:$p['name']))); ?>" />
4384 daniel 28
							</a>
4388 daniel 29
							<?php } ?>
30
							<?php } ?>
4384 daniel 31
						</td>
4442 daniel 32
						<td valign="middle" style="padding:4px; line-height:125%; vertical-align:middle; min-height:50px;">
4440 daniel 33
							<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 34
						</td>
4384 daniel 35
					</tr>
36
				</table>
4388 daniel 37
 
4379 daniel 38
			</td>
3681 daniel 39
			<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 40
			<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
3681 daniel 41
			<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 42
			<?php } ?>
3681 daniel 43
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount td_bt"><?php echo $p['menge']; ?></td>
44
			<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 45
		</tr>
46
		<tr class="productrow productrow2 <?php echo ((($i % 2) == 0)?'productrow_odd':'productrow_even'); ?>">
3681 daniel 47
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_pos">&nbsp;</td>
48
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name"><?php echo __('Art. Nr.', 'wpsg'); ?>:</td>
49
			<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 50
				<?php echo wpsg_hspc($p['anr']); ?>
51
			</td>
52
		</tr>
53
		<?php $this->view['i'] = $i; $this->callMods('mail_row', array($i, $p)); ?>
4132 daniel 54
		<?php if (wpsg_isSizedArray($p['order_allowedshipping'])) { ?>
55
		<tr class="productrow productrow2 <?php echo ((($this->view['i'] % 2) == 0)?'productrow_odd':'productrow_even'); ?>">
56
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_pos">&nbsp;</td>
57
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name"><?php echo __('Mögliche Versandarten', 'wpsg'); ?>:</td>
58
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_productvars_value">
59
				<?php $j = 0; foreach ($p['order_allowedshipping'] as $shipping) { $j ++; ?>
60
				<?php echo $this->getShippingName($shipping); ?><?php if ($j < sizeof($p['order_allowedshipping'])) { ?>, <?php } ?>
61
				<?php } ?>
62
			</td>
63
		</tr>
3648 daniel 64
		<?php } ?>
4132 daniel 65
		<?php } ?>
3679 daniel 66
		<?php if (isset($this->view['basket']['gs'])) { ?>
67
		<tr class="voucherrow">
3681 daniel 68
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_pos"><?php echo $i + 1; ?>.</td>
69
			<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>
70
			<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 71
			<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
3681 daniel 72
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst"><?php echo __('anteilig', 'wpsg'); ?></td>
3679 daniel 73
			<?php } ?>
3681 daniel 74
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount">1</td>
75
			<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 76
		</tr>
3648 daniel 77
		<?php } ?>
3679 daniel 78
		<tr class="spacer">
3681 daniel 79
			<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'); ?>">&nbsp;</td>
3679 daniel 80
		</tr>
81
	 	<?php if (isset($this->view['basket']['sum']['preis_rabatt']) && $this->view['basket']['sum']['preis_rabatt'] > 0) { ?>
3681 daniel 82
	  <tr class="discountrow">
83
	    <td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="2"><?php echo __('Abzüglich Rabatt', 'wpsg'); ?>:</td>
84
	    <td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price">&nbsp;</td>
85
	    <?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
86
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst">&nbsp;</td>
3648 daniel 87
			<?php } ?>
3681 daniel 88
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount">&nbsp;</td>
89
			<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 90
		</tr>
3648 daniel 91
		<?php } ?>
3679 daniel 92
		<tr class="subtotalrow">
3681 daniel 93
	    <td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="2"><?php echo __('Zwischensumme', 'wpsg'); ?>:</td>
94
	    <td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price">&nbsp;</td>
95
	    <?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
96
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst"></td>
3648 daniel 97
			<?php } ?>
3681 daniel 98
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount">&nbsp;</td>
99
			<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 100
		</tr>
101
		<tr class="shippingtotalrow">
3681 daniel 102
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="2"><?php echo __('Versandkosten', 'wpsg'); ?>:</td>
103
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price">&nbsp;</td>
3679 daniel 104
			<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
3681 daniel 105
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst">
3679 daniel 106
				<?php if (!wpsg_isSizedInt($this->arShipping[$this->view['basket']['checkout']['payment']]['mwst'])) { ?>
107
				<?php echo __('Anteilig', 'wpsg'); ?>
108
				<?php } else { ?>
109
				<?php echo wpsg_ff($this->arShipping[$this->view['basket']['checkout']['shipping']]['mwst_value'], '% '); ?>
110
				<?php } ?>
111
			</td>
112
			<?php } ?>
3681 daniel 113
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount">&nbsp;</td>
114
			<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 115
		</tr>
4132 daniel 116
		<?php if (wpsg_isSizedArray($this->view['basket']['shipping']['methods'])) { ?>
117
		<?php foreach ($this->view['basket']['shipping']['methods'] as $shipping) { ?>
118
		<tr class="shippingtotalrow shippingsubrow">
119
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_pos">&nbsp;</td>
120
			<td style="padding:4px; line-height:100%; vertical-align:middle;" colspan="2" class="col_name"><?php echo wpsg_hspc($this->getShippingName($shipping)); ?></td>
121
			<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
122
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst">
123
				<?php if ($this->view['basket']['shipping'][$shipping]['tax_rata'] == 1) { ?>
124
				<?php echo __('Anteilig', 'wpsg'); ?>
125
				<?php } else { ?>
126
				<?php echo wpsg_ff($this->view['basket']['shipping'][$shipping]['mwst'], '%'); ?>
127
				<?php } ?>
128
			</td>
129
			<?php } ?>
130
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount">&nbsp;</td>
131
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum">
132
				<?php if ($this->get_option('wpsg_preisangaben_frontend') == WPSG_NETTO) { ?>
133
				<?php echo wpsg_ff($this->view['basket']['shipping'][$shipping]['preis_shipping_netto'], $this->get_option('wpsg_currency')); ?>
134
				<?php } else { ?>
135
				<?php echo wpsg_ff($this->view['basket']['shipping'][$shipping]['preis_shipping_brutto'], $this->get_option('wpsg_currency')); ?>
136
				<?php } ?>
137
			</td>
138
		</tr>
139
		<?php } ?>
140
		<?php } ?>
3679 daniel 141
		<tr class="paymenttotalrow">
3681 daniel 142
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="2"><?php echo __('Zahlungskosten', 'wpsg'); ?>:</td>
143
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price">&nbsp;</td>
3679 daniel 144
			<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
3681 daniel 145
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst">
3679 daniel 146
				<?php if (!wpsg_isSizedInt($this->arPayment[$this->view['basket']['checkout']['payment']]['mwst'])) { ?>
147
				<?php echo __('Anteilig', 'wpsg'); ?>
148
				<?php } else { ?>
149
				<?php echo wpsg_ff($this->arPayment[$this->view['basket']['checkout']['payment']]['mwst_value'], '% '); ?>
150
				<?php } ?>
151
			</td>
152
			<?php } ?>
3681 daniel 153
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount">&nbsp;</td>
154
			<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 155
		</tr>
156
		<?php if ($this->get_option('wpsg_kleinunternehmer') == '1') { ?>
3681 daniel 157
		<tr class="smallbuisnessrulerow">
158
			<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 159
				<?php echo $this->get_option('wpsg_kleinunternehmer_text'); ?>
160
			</td>
161
		</tr>
162
		<?php } else { ?>
163
		<?php foreach ($this->view['basket']['mwst'] as $mwst_id => $mwst) { ?>
164
		<tr class="taxrow">
3681 daniel 165
			<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 166
				<?php if ($this->getFrontendTaxview() == WPSG_NETTO) { ?>
167
				<?php echo wpsg_translate(__('zuzüglich MwSt. (#1#)', 'wpsg'), $mwst['name']); ?>
168
				<?php } else { ?>
169
				<?php echo wpsg_translate(__('darin enthaltene MwSt. (#1#)', 'wpsg'), $mwst['name']); ?>
170
				<?php } ?>:
171
			</td>
3681 daniel 172
			<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 173
		</tr>
3648 daniel 174
		<?php } ?>
175
		<?php } ?>
3679 daniel 176
		<tr class="totalrow">
3681 daniel 177
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="2"><?php echo __('Gesamtpreis', 'wpsg'); ?>:</td>
178
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price">&nbsp;</td>
3679 daniel 179
			<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
3681 daniel 180
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst"></td>
3679 daniel 181
			<?php } ?>
3681 daniel 182
			<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount">&nbsp;</td>
183
			<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 184
		</tr>
185
	</table>
186
</div>
187
 
3648 daniel 188
<br />