Subversion Repositories wpShopGermany4

Rev

Rev 6857 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6332 hartmut 1
 <?php
2
 
3
	/**
4
	 * Render ein Variantenprodukt in der Bestellübersicht (basket.phtml)
5
	 */
6
 
7
?>
8
<?php //wpsg_debug($this->view['variante']) ?>
9
<div class="product_info">
10
	<div
7369 daniel 11
	<?php if (wpsg_isTrue($this->view['$bPicture'])) { ?>class="titlep"><?php } else { ?>class="title"><?php } ?>
6857 hartmut 12
		<span class="fa  fa-share-alt"></span>
6726 thomas 13
		<?php echo __("Variante", "wpsg"); ?>:
6332 hartmut 14
	</div>
15
	<div class="valuel">
16
		<?php if (get_option('wpsg_vp_detailview') == 1) { ?>
17
		<?php foreach ($this->view['variante'] as $vari => $value) { ?>
6857 hartmut 18
 
6332 hartmut 19
		<?php if (is_numeric($vari)) { ?>
6857 hartmut 20
		<?php echo $value['name'] ?>:
21
		<strong>
22
		<?php echo $value['value'] ?>; <?php echo __('Art. Nr.', 'wpsg').': '.$value['artnr'] ?>;
6362 hartmut 23
		<?php if ($this->callMod('wpsg_mod_productvariants', 'showVariPrice', array($value['preis']))) { ?>
24
			(<?php echo wpsg_ff($value['preis'], $this->get_option('wpsg_currency')); ?>)
25
		<?php } ?>
6332 hartmut 26
		<br />
27
		<?php } ?>
28
		<?php } ?>
29
		<?php } else { ?>
30
		<?php echo $this->view['variante']['key']; ?>
31
		<?php } ?>
6857 hartmut 32
		</strong>
6332 hartmut 33
	</div>
6857 hartmut 34
	<br/>
6332 hartmut 35
 
36
</div>