Subversion Repositories wpShopGermany4

Compare Revisions

Ignore whitespace Rev 7648 → Rev 7649

/produkttemplates/standard.phtml
10,6 → 10,9
// Damit keine Zubehörprodukte ausgegeben werden
//$this->noReleatedProducts = true;
 
/** @var wpsg_product $oProduct */
$oProduct = $this->view['oProduct'];
?>
 
<div class="wpsg_produkt_wrapper">
158,7 → 161,7
</div>
 
<div class="wpsg_clear"></div>
 
<?php /* Lagerbestand START*/?>
<?php if ($this->hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showProduct') == '1') { ?>
180,29 → 183,7
<?php /* Lagerbestand ENDE*/?>
 
<?php /* Füllmengenanzeige START */ ?>
<?php if ($this->hasMod('wpsg_mod_fuellmenge')) { ?>
<div class="wpsg_produkt_fuellmenge">
<?php if (($this->view['data']['fmenge']) > '0') { ?>
<span class="label label_fuellmenge"><?php echo wpsg_translate(__('Füllmenge:', 'wpsg')); ?></span>
<?php echo wpsg_translate(__('#1# (#2# / #3#)', 'wpsg'),
'<span class="wpsg_fmenge">'.wpsg_ff($this->view['data']['fmenge'], '', true).'</span> '.$this->view['data']['feinheit'],
'<span class="fmenge_preis">'.wpsg_ff($this->view['data']['fmenge_preis'], $this->get_option('wpsg_currency')).'</span> ',
wpsg_ff($this->get_option('wpsg_mod_fuellmenge_bezug'), $this->view['data']['feinheit'])
); ?>
<?php } else { ?>
<label><?php echo wpsg_translate(__('', 'wpsg')); ?></label>
<?php } ?>
</div>
 
<?php } ?>
<?php echo $this->callMod('wpsg_mod_fuellmenge', 'renderPriceInfo', [$oProduct->getPrice($this->view['data']['product_key']), $this->view['data']['fmenge'], $oProduct->getId()]); ?>
<?php /* Füllmengenanzeige ENDE */ ?>
 
<?php /* Gewichtsanzeige START */ ?>
/produkttemplates/standard2.phtml
194,31 → 194,9
</div>
<?php } ?>
<?php /* Lagerbestand ENDE*/?>
 
<?php /* Füllmengenanzeige START */ ?>
<?php if ($this->hasMod('wpsg_mod_fuellmenge')) { ?>
<div class="wpsg_produkt_fuellmenge">
<?php if (($this->view['data']['fmenge']) > '0') { ?>
<span class="label label_fuellmenge"><?php echo wpsg_translate(__('Füllmenge:', 'wpsg')); ?></span>
<?php echo wpsg_translate(__('#1# (#2# / #3#)', 'wpsg'),
'<span class="wpsg_fmenge">'.wpsg_ff($this->view['data']['fmenge'], '', true).'</span> '.$this->view['data']['feinheit'],
'<span class="fmenge_preis">'.wpsg_ff($this->view['data']['fmenge_preis'], $this->get_option('wpsg_currency')).'</span> ',
wpsg_ff($this->get_option('wpsg_mod_fuellmenge_bezug'), $this->view['data']['feinheit'])
); ?>
<?php } else { ?>
<label><?php echo wpsg_translate(__('', 'wpsg')); ?></label>
<?php } ?>
</div>
 
<?php } ?>
<?php echo $this->callMod('wpsg_mod_fuellmenge', 'renderPriceInfo', [$oProduct->getPrice($this->view['data']['product_key']), $this->view['data']['fmenge'], $oProduct->getId()]); ?>
<?php /* Füllmengenanzeige ENDE */ ?>
 
<?php /* Gewichtsanzeige START */ ?>