Index: /changelog
===================================================================
--- /changelog	(revision 6994)
+++ /changelog	(revision 6995)
@@ -100,2 +100,6 @@
 - Bugfix: Kein Abbruch wenn es keine administrator Rolle gibt
 - Feature: mehrzeilige Eingabe von FuÃtexten
+
+#4.0.8
+- Feature: Modul (FÃŒllmenge, Gewicht, ...) aktiv und keine Eingabe in Produktbackend, wird keine Darstellung im Produktfrontend
+- Feature: Grundpreis in FÃŒllmenge separat ausgewiesen
Index: /views/mods/mod_productindex/layouts/grid.phtml
===================================================================
--- /views/mods/mod_productindex/layouts/grid.phtml	(revision 6994)
+++ /views/mods/mod_productindex/layouts/grid.phtml	(revision 6995)
@@ -112,9 +112,11 @@
 							<div class="wpsg_mod_productindex_weight">
 								<?php if ($this->hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProductindex') == '1') { ?>
-								<?php if ($p['min_weight'] == $p['max_weight']) { ?>
-								<?php echo wpsg_translate(__('Gewicht: #1#', 'wpsg'), wpsg_ff($p['weight'], $this->get_option('wpsg_mod_weight_unit'))); ?>
-								<?php } else { ?>
-								<?php echo wpsg_translate(__('Gewicht: ab #1#', 'wpsg'), wpsg_ff($p['min_weight'], $this->get_option('wpsg_mod_weight_unit'))); ?>
-								<?php } ?>
+									<?php if (($p['weight']) > '0') { ?>
+										<?php if ($p['min_weight'] == $p['max_weight']) { ?>
+											<?php echo wpsg_translate(__('Gewicht: #1#', 'wpsg'), wpsg_ff($p['weight'], $this->get_option('wpsg_mod_weight_unit'))); ?>
+										<?php } else { ?>
+											<?php echo wpsg_translate(__('Gewicht: ab #1#', 'wpsg'), wpsg_ff($p['min_weight'], $this->get_option('wpsg_mod_weight_unit'))); ?>
+										<?php } ?>
+									<?php } ?>
 								<?php } ?>
 							</div>
@@ -122,16 +124,16 @@
 							<div class="wpsg_mod_productindex_fmenge">
 								<?php if ($this->hasMod('wpsg_mod_fuellmenge') && $this->get_option('wpsg_mod_fuellmenge_showProductindex_fmenge') == '1') {Â ?>
-								<?php echo wpsg_translate(__('FÃŒllmenge: #1#', 'wpsg'), wpsg_ff($p['fmenge'], $p['feinheit'])); ?>
-								<?php } ?>
-							</div>
-
-							<div class="wpsg_mod_productindex_gpreis">
-								<?php if ($this->hasMod('wpsg_mod_fuellmenge') && $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 } ?>
-							</div>
+									<?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>
 
Index: /views/mods/mod_productindex/layouts/list.phtml
===================================================================
--- /views/mods/mod_productindex/layouts/list.phtml	(revision 6994)
+++ /views/mods/mod_productindex/layouts/list.phtml	(revision 6995)
@@ -99,9 +99,11 @@
 					<div class="wpsg_mod_productindex_weight">
 						<?php if ($this->hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProductindex') == '1') { ?>
-						<?php if ($p['min_weight'] == $p['max_weight']) { ?>
-						<?php echo wpsg_translate(__('Gewicht: #1#', 'wpsg'), wpsg_ff($p['weight'], $this->get_option('wpsg_mod_weight_unit'))); ?>
-						<?php } else { ?>
-						<?php echo wpsg_translate(__('Gewicht: ab #1#', 'wpsg'), wpsg_ff($p['min_weight'], $this->get_option('wpsg_mod_weight_unit'))); ?>
-						<?php } ?>
+							<?php if (($p['weight']) > '0') { ?>
+								<?php if ($p['min_weight'] == $p['max_weight']) { ?>
+									<?php echo wpsg_translate(__('Gewicht: #1#', 'wpsg'), wpsg_ff($p['weight'], $this->get_option('wpsg_mod_weight_unit'))); ?>
+								<?php } else { ?>
+									<?php echo wpsg_translate(__('Gewicht: ab #1#', 'wpsg'), wpsg_ff($p['min_weight'], $this->get_option('wpsg_mod_weight_unit'))); ?>
+								<?php } ?>
+							<?php } ?>
 						<?php } ?>
 					</div>
@@ -109,5 +111,14 @@
 					<div class="wpsg_mod_productindex_fmenge">
 						<?php if ($this->hasMod('wpsg_mod_fuellmenge') && $this->get_option('wpsg_mod_fuellmenge_showProductindex_fmenge') == '1') {Â ?>
-						<?php echo wpsg_translate(__('FÃŒllmenge: #1#', 'wpsg'), wpsg_ff($p['fmenge'], $p['feinheit'])); ?>
+							<?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>
@@ -119,12 +130,4 @@
 					<?php } ?>
 
-					<div class="wpsg_mod_productindex_gpreis">
-						<?php if ($this->hasMod('wpsg_mod_fuellmenge') && $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 } ?>
-					</div>
 				</div>
 				<div class="wpsg_mod_productindex_title">
Index: /views/produkttemplates/standard.phtml
===================================================================
--- /views/produkttemplates/standard.phtml	(revision 6994)
+++ /views/produkttemplates/standard.phtml	(revision 6995)
@@ -131,5 +131,7 @@
 
 		<div itemprop="description" class="wpsg_produkt_shortdescription">
+		
 			<span><?php echo $this->view['data']['shortdesc']; ?></span>
+			
 		</div>
 
@@ -138,6 +140,17 @@
 		<?php /* Lagerbestand START*/?>
 		<?php if ($this->hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showProduct') == '1') { ?>
+		
 		<div class="wpsg_mod_produktindex_stock">
-			<label><?php echo wpsg_translate(__('#1#','wpsg'), $this->view['data']['stock']);  ?></label><?php echo wpsg_translate(__(' Artikel auf Lager', 'wpsg')); ?>
+		
+			<?php if (($this->view['data']['stock']) > '0') {?>		
+				
+				<label><?php echo wpsg_translate(__('#1#','wpsg'), $this->view['data']['stock']);  ?></label><?php echo wpsg_translate(__(' Artikel auf Lager', 'wpsg')); ?>
+			
+			<?php } else { ?>
+			 
+			 	<label><?php echo wpsg_translate(__('', 'wpsg')); ?></label>
+			
+			<?php } ?>	
+		
 		</div>
 		<?php } ?>
@@ -146,12 +159,23 @@
 		<?php /* FÃŒllmengenanzeige START */ ?>
 		<?php if ($this->hasMod('wpsg_mod_fuellmenge')) { ?>
-
+		
 			<div class="wpsg_produkt_fuellmenge">
-			<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 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>
 
@@ -162,6 +186,11 @@
 		<?php if ($this->hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProduct') === '1') { ?>
 		<div class="wpsg_mod_weight_produkt">
-			<span class="label label_weight"><?php echo wpsg_translate(__('Gewicht:', 'wpsg')); ?></span>
-			<?php echo wpsg_translate(__('#1# #2#', 'wpsg'), '<span class="wpsg_weight" id="weight_'.$this->view['data']['id'].'">'.wpsg_ff($this->view['data']['weight']).'</span>', $this->get_option('wpsg_mod_weight_unit')); ?>
+			
+			<?php if (($this->view['data']['weight']) > '0') { ?>
+				<span class="label label_weight"><?php echo wpsg_translate(__('Gewicht:', 'wpsg')); ?></span>
+				<?php echo wpsg_translate(__('#1# #2#', 'wpsg'), '<span class="wpsg_weight" id="weight_'.$this->view['data']['id'].'">'.wpsg_ff($this->view['data']['weight']).'</span>', $this->get_option('wpsg_mod_weight_unit')); ?>
+			<?php } else { ?>
+				<label><?php wpsg_translate(__('', 'wpsg'))?></label>
+			<?php } ?>
 		</div>
 		<?php } ?>
