Line 19... |
Line 19... |
19 |
|
19 |
|
20 |
<?php if ($this->view['wpsg_mod_scaleprice']['typ'] != wpsg_mod_scaleprice::TYP_QUANTITY || $this->view['wpsg_mod_scaleprice']['scale'][0]['scale'] != '1') { ?>
|
20 |
<?php if ($this->view['wpsg_mod_scaleprice']['typ'] != wpsg_mod_scaleprice::TYP_QUANTITY || $this->view['wpsg_mod_scaleprice']['scale'][0]['scale'] != '1') { ?>
|
21 |
<li>
|
21 |
<li>
|
22 |
<?php echo __('Bis ', 'wpsg'); ?>
|
22 |
<?php echo __('Bis ', 'wpsg'); ?>
|
23 |
<?php if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?>
|
23 |
<?php if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?>
|
24 |
<?php echo wpsg_ff($this->view['wpsg_mod_scaleprice']['scale'][0]['scale'], $this->get_option('wpsg_mod_scaleprice_unit')); ?>
|
24 |
<?php echo wpsg_ff($this->view['wpsg_mod_scaleprice']['scale'][0]['scale'], $this->get_option('wpsg_mod_scaleprice_unit'), false, false, 0); ?>
|
25 |
<?php } else if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?>
|
25 |
<?php } else if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?>
|
26 |
<?php echo wpsg_ff($this->view['wpsg_mod_scaleprice']['scale'][0]['scale'], $this->get_option('wpsg_mod_weight_unit')); ?>
|
26 |
<?php echo wpsg_ff($this->view['wpsg_mod_scaleprice']['scale'][0]['scale'], $this->get_option('wpsg_mod_weight_unit')); ?>
|
27 |
<?php } ?>
|
27 |
<?php } ?>
|
28 |
<?php echo __(' kostet das Produkt ', 'wpsg'); ?>
|
28 |
<?php echo __(' kostet das Produkt ', 'wpsg'); ?>
|
29 |
<?php echo wpsg_ff($this->view['wpsg_mod_scaleprice']['base'], $this->get_option('wpsg_currency')); ?> <?php // echo $this->get_option('wpsg_mod_scaleprice_unit'); ?>
|
29 |
<?php echo wpsg_ff($this->view['wpsg_mod_scaleprice']['base'], $this->get_option('wpsg_currency')); ?> <?php // echo $this->get_option('wpsg_mod_scaleprice_unit'); ?>
|
Line 33... |
Line 33... |
33 |
|
33 |
|
34 |
<?php foreach ((array)$this->view['wpsg_mod_scaleprice']['scale'] as $scale) { ?>
|
34 |
<?php foreach ((array)$this->view['wpsg_mod_scaleprice']['scale'] as $scale) { ?>
|
35 |
<li>
|
35 |
<li>
|
36 |
<?php echo __('Ab ', 'wpsg'); ?>
|
36 |
<?php echo __('Ab ', 'wpsg'); ?>
|
37 |
<?php if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?>
|
37 |
<?php if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?>
|
38 |
<?php echo wpsg_ff($scale['scale'], $this->get_option('wpsg_mod_scaleprice_unit')); ?>
|
38 |
<?php echo wpsg_ff($scale['scale'], $this->get_option('wpsg_mod_scaleprice_unit'), false, false, 0); ?>
|
39 |
<?php } else if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?>
|
39 |
<?php } else if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?>
|
40 |
<?php echo wpsg_ff($scale['scale'], $this->get_option('wpsg_mod_weight_unit')); ?>
|
40 |
<?php echo wpsg_ff($scale['scale'], $this->get_option('wpsg_mod_weight_unit')); ?>
|
41 |
<?php } ?>
|
41 |
<?php } ?>
|
42 |
<?php echo __(' kostet das Produkt ', 'wpsg'); ?>
|
42 |
<?php echo __(' kostet das Produkt ', 'wpsg'); ?>
|
43 |
<?php echo wpsg_ff($scale['value'], $this->get_option('wpsg_currency')); ?> <?php //echo $this->get_option('wpsg_mod_scaleprice_unit'); ?>
|
43 |
<?php echo wpsg_ff($scale['value'], $this->get_option('wpsg_currency')); ?> <?php //echo $this->get_option('wpsg_mod_scaleprice_unit'); ?>
|