summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/mods/mod_productindex/css/productindex.css4
-rw-r--r--views/mods/mod_productindex/layouts/grid.phtml22
2 files changed, 10 insertions, 16 deletions
diff --git a/views/mods/mod_productindex/css/productindex.css b/views/mods/mod_productindex/css/productindex.css
index 6262150..137b64d 100644
--- a/views/mods/mod_productindex/css/productindex.css
+++ b/views/mods/mod_productindex/css/productindex.css
@@ -34,4 +34,6 @@
.wpsg_mod_productindex_grid .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_mod_productindex_price { font-size:1.4em; font-weight:normal; color:#000000; }
.wpsg_mod_productindex_grid .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_produkt_preishinweis { font-size:0.8em; font-weight:normal; font-style:italic; }
.wpsg_mod_productindex_grid .wpsg_produkt_soldout { color:#FF0000; }
-.wpsg_mod_productindex_kuhint { font-size:1em; line-height:125%; margin-top:20px; font-style:italic; } \ No newline at end of file
+.wpsg_mod_productindex_kuhint { font-size:1em; line-height:125%; margin-top:20px; font-style:italic; }
+
+.wpsg_mod_productindex .wpsg_mod_fuellmenge_info { font-size:0.75em; } \ No newline at end of file
diff --git a/views/mods/mod_productindex/layouts/grid.phtml b/views/mods/mod_productindex/layouts/grid.phtml
index 427b532..79b309e 100644
--- a/views/mods/mod_productindex/layouts/grid.phtml
+++ b/views/mods/mod_productindex/layouts/grid.phtml
@@ -110,21 +110,7 @@
<?php } ?>
<?php } ?>
</div>
-
- <div class="wpsg_mod_productindex_fmenge">
- <?php if ($this->hasMod('wpsg_mod_fuellmenge') && $this->get_option('wpsg_mod_fuellmenge_showProductindex_fmenge') == '1') { ?>
- <?php if (($p['fmenge']) > '0') { ?>
- <?php echo wpsg_translate(__('Füllmenge: #1#', 'wpsg'), wpsg_ff($p['fmenge'], $p['feinheit'])); ?>
- <br />
- <?php if ($this->get_option('wpsg_mod_fuellmenge_showProductindex_grundpreis') == '1') { ?>
- <?php echo wpsg_translate(__('Grundpreis: #1# / #2#', 'wpsg'),
- wpsg_ff($p['fmenge_preis'], $this->get_option('wpsg_currency')),
- wpsg_ff($this->get_option('wpsg_mod_fuellmenge_bezug'), $p['feinheit'])
- ); ?>
- <?php } ?>
- <?php } ?>
- <?php } ?>
- </div>
+
</div>
<?php if ($this->hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showProductindex') == '1') { ?>
@@ -172,6 +158,12 @@
<?php echo wpsg_translate(__('Preise nur für eingeloggte Benutzer', 'wpsg')); ?>
<?php } /* Abfrage Preisanzeige nur für eingeloggte Benutzer ENDE */?>
+ <div class="wpsg_mod_productindex_fmenge">
+ <?php if ($this->hasMod('wpsg_mod_fuellmenge') && $this->get_option('wpsg_mod_fuellmenge_showProductindex_fmenge') == '1') { ?>
+ <?php echo $this->callMod('wpsg_mod_fuellmenge', 'renderPriceInfo', [$oProduct->getPrice($p['product_key']), $p['fmenge'], $oProduct->getId()]); ?>
+ <?php } ?>
+ </div>
+
<div class="wpsg_mod_productindex_button">
<?php //if ($this->hasMod('wpsg_mod_stock') && $this->callMod('wpsg_mod_stock', 'checkBestand', array($this->getProduktID($p['id']), 1)) === false) { ?>