Subversion Repositories wpShopGermany4

Rev

Rev 6165 | Rev 6362 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6165 Rev 6330
Line 3... Line 3...
3
	/**
3
	/**
4
	 * Render ein Variantenprodukt im Warenkorb (basket.phtml)
4
	 * Render ein Variantenprodukt im Warenkorb (basket.phtml)
5
	 */
5
	 */
6
 
6
 
7
?>
7
?>
8
<?php //wpsg_debug($this->view['variante']) ?> 
8
<?php //wpsg_debug($this->view['variante']) ?>
-
 
9
<div class="product_info">
-
 
10
	<div 
9
<tr class="wpsg_<?php echo (($this->view['i'] % 2 == 0)?'odd':'even'); ?>">
11
	<?php if ($this->view['$bPicture'] == true) { ?>class="titlep"><?php } else { ?>class="title"><?php } ?>
10
	<td><?php echo __('Variante', 'wpsg'); ?>:</td>
12
		<?php echo __("Variante", "wpsg"); ?>
-
 
13
	</div>
11
	<td colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'3':'2'); ?>">
14
	<div class="valuel">
12
		<?php if (get_option('wpsg_vp_detailview') == 1) { ?>
15
		<?php if (get_option('wpsg_vp_detailview') == 1) { ?>
13
		<?php foreach ($this->view['variante'] as $vari => $value) { ?>
16
		<?php foreach ($this->view['variante'] as $vari => $value) { ?>
14
		<?php if (is_numeric($vari)) { ?>
17
		<?php if (is_numeric($vari)) { ?>
15
		<?php echo $value['name'] ?>: <?php echo $value['value'] ?>; <?php echo __('Art. Nr.', 'wpsg').': '.$value['artnr'] ?>; <?php echo $value['preis'] ?> <?php echo $this->get_option('wpsg_currency') ?>
18
		<?php echo $value['name'] ?>: <?php echo $value['value'] ?>; <?php echo __('Art. Nr.', 'wpsg').': '.$value['artnr'] ?>; <?php echo $value['preis'] ?> <?php echo $this->get_option('wpsg_currency') ?>
16
		<br />
19
		<br />
17
		<?php } ?>
20
		<?php } ?>
18
		<?php } ?>							
21
		<?php } ?>							
19
		<?php } else { ?>
22
		<?php } else { ?>
20
		<?php echo $this->view['variante']['key']; ?>
23
		<?php echo $this->view['variante']['key']; ?>
21
		<?php } ?>
24
		<?php } ?>
22
	</td>
-
 
23
</tr>
-
 
24
25
	</div>
-
 
26
	<div class="dummyr">
-
 
27
		<?php echo __('&nbsp;'); ?>
-
 
28
	</div>
-
 
29
	
-
 
30
</div>
-
 
31
25
32