blob: 1b2818d3896db37bd770789427cfe16c5d714661 (
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
37
|
<?php
/**
* Render ein Variantenprodukt in der Bestellübersicht (basket.phtml)
* @version 4.6.1
*/
?>
<?php //wpsg_debug($this->view['variante']) ?>
<div class="product_info">
<div
<?php if (wpsg_isTrue($this->view['$bPicture'])) { ?>class="titlep"><?php } else { ?>class="title"><?php } ?>
<span class="fa fa-share-alt"></span>
<?php echo __("Variante", "wpsg"); ?>:
</div>
<div class="valuel">
<?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 />
<?php } ?>
<?php } ?>
<?php } else { ?>
<?php echo $this->view['variante']['key']; ?>
<?php } ?>
</strong>
</div>
<br/>
</div>
|