summaryrefslogtreecommitdiff
path: root/views/mods/mod_productvariants/basket_row.phtml
blob: 112156d07163a05f9a6d81896c8b56bd8f23e5ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 <?php

	/**
	 * Render ein Variantenprodukt im Warenkorb (basket.phtml)
	 * @version 4.6.1
	 */
	
?>
 
<div class="product_info">
	<div class="title">
		<span class="fa  fa-share-alt"></span>
		<?php echo __("Variante", "wpsg"); ?>:
		
		
		
		<?php if (get_option('wpsg_vp_detailview') == 1) { ?>
		<?php foreach ($this->view['variante'] as $vari => $value) { ?>
		
		<?php if (is_numeric($vari)) { ?>
            <?php echo $value['name'] ?>: 
            <strong>
            <?php echo $value['value'] ?>; <?php if (wpsg_getStr($value['artnr']) !== '') echo __('Art. Nr.', 'wpsg').': '.$value['artnr'].'; '; ?>
            <?php if ($this->callMod('wpsg_mod_productvariants', 'showVariPrice', array($value['preis']))) { ?>
                (<?php echo wpsg_ff($value['preis'], $this->get_option('wpsg_currency')); ?>)
            <?php } ?>
            <br />
            </strong>
		<?php } ?>
		<?php } ?>							
		<?php } else { ?>
		<?php echo $this->view['variante']['key']; ?>
		<?php } ?>
		
	</div> 
</div>