Subversion Repositories wpShopGermany4

Rev

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