Subversion Repositories wpShopGermany4

Rev

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

Rev 7206 Rev 7480
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 $this->view['wpsg_mod_scaleprice']['scale'][0]['scale'].' '.__('Stück', 'wpsg'); ?>
24
					<?php echo wpsg_ff($this->view['wpsg_mod_scaleprice']['scale'][0]['scale'], $this->get_option('wpsg_mod_scaleprice_unit')); ?>
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 __('je Stück', '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'); ?>
30
				<?php $this->callMod('wpsg_mod_fuellmenge', 'renderPriceInfo', array($this->view['wpsg_mod_scaleprice']['base'], $this->view['data']['fmenge'], $this->view['data']['feinheit'])); ?>			
30
				<?php $this->callMod('wpsg_mod_fuellmenge', 'renderPriceInfo', array($this->view['wpsg_mod_scaleprice']['base'], $this->view['data']['fmenge'], $this->view['data']['feinheit'])); ?>			
31
			</li>
31
			</li>
32
			<?php } ?>
32
			<?php } ?>
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 $scale['scale'].' '.__('Stück', 'wpsg'); ?>
38
					<?php echo wpsg_ff($scale['scale'], $this->get_option('wpsg_mod_scaleprice_unit')); ?>
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 __('je Stück', 'wpsg'); ?>
43
				<?php echo wpsg_ff($scale['value'], $this->get_option('wpsg_currency')); ?> <?php //echo $this->get_option('wpsg_mod_scaleprice_unit'); ?>
44
				<?php $this->callMod('wpsg_mod_fuellmenge', 'renderPriceInfo', array($scale['value'], $this->view['data']['fmenge'] , $this->view['data']['feinheit'])); ?>
44
				<?php $this->callMod('wpsg_mod_fuellmenge', 'renderPriceInfo', array($scale['value'], $this->view['data']['fmenge'] , $this->view['data']['feinheit'])); ?>
45
			</li>
45
			</li>
46
			<?php } ?>
46
			<?php } ?>
47
		</ul>
47
		</ul>
48
	<?php }else{?>
48
	<?php }else{?>