Index: /changelog
===================================================================
--- /changelog	(revision 7383)
+++ /changelog	(revision 7384)
@@ -230,2 +230,8 @@
 - Bugfix: Kundenverwaltung vergleicht die E-Mailadresse aus der Datenbank (eingeloggter User) mit dem aktuell bestellenden Kundendatensatz
 - Feature: "Weiter shoppen"-Seite kann ÃŒber die Seitenkonfiguration zugeordnet werden
+- Feature: Optionale Darstellung des Produktgewichtes in der Produktverwaltung
+- Feature: Optionale Darstellung der FÃŒllmenge in der Produktverwaltung
+- Feature: Optionale Darstellung der EAN und GTIN in der Produktverwaltung
+- Feature: Optionale Darstellung der Lieferzeit in der Produktverwaltung
+- Feature: Optionale Darstellung des Lagerbestandes in der Produktverwaltung
+- Feature: Optionale Darstellung der Produktgruppe in der Produktverwaltung
Index: /mods/wpsg_mod_produktartikel.class.php
===================================================================
--- /mods/wpsg_mod_produktartikel.class.php	(revision 7383)
+++ /mods/wpsg_mod_produktartikel.class.php	(revision 7384)
@@ -63,5 +63,6 @@
             $sql = "CREATE TABLE ".WPSG_TBL_PRODUCTS." (
                     ean VARCHAR(255) NOT NULL,
-                    gtin VARCHAR (255) NOT NULL
+                    gtin VARCHAR (255) NOT NULL, 
+                    pos varchar (255) NOT NULL
                 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;";
     
@@ -91,4 +92,7 @@
             $this->shop->checkDefault('wpsg_mod_produktartikel_rating', '10');
             $this->shop->checkDefault('wpsg_mod_produktartikel_postthumbnail', '1');
+            $this->shop->checkDefault('wpsg_mod_produktartikel_ean_backend', '0');
+            $this->shop->checkDefault('wpsg_mod_produktartikel_gtin_backend', '0');
+            $this->shop->checkDefault('wpsg_mod_produktartikel_positionnumber', '0');
             /*
              * Posts Tabelle erweitern
@@ -337,4 +341,6 @@
             $this->shop->update_option('wpsg_mod_produktartikel_postthumbnail', $_REQUEST['wpsg_mod_produktartikel_postthumbnail']);
     
+            $this->shop->update_option('wpsg_mod_produktartikel_positionnumber', $_REQUEST['wpsg_mod_produktartikel_positionnumber']); 
+            
             $pathkey_alt = $this->shop->get_option('wpsg_mod_produktartikel_pathkey');
             $pathkey_new = $this->shop->clear($_REQUEST['wpsg_mod_produktartikel_pathkey']);
Index: /views/mods/mod_produktartikel/settings_edit.phtml
===================================================================
--- /views/mods/mod_produktartikel/settings_edit.phtml	(revision 7383)
+++ /views/mods/mod_produktartikel/settings_edit.phtml	(revision 7384)
@@ -19,6 +19,14 @@
 <?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_showFeed', __('Direkt in den Feeds anzeigen', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_showFeed'), array('help' => 'wpsg_mod_produktartikel_showFeed')); ?>
 <?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_onlyMainQuery', __('Nur Main Query berÃŒcksichtigen', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_onlyMainQuery'), array('help' => 'wpsg_mod_produktartikel_onlyMainQuery')); ?>
-<?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_ean', __('Darstellung der EAN', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_ean'), array('help' => 'wpsg_mod_produktartikel_ean')); ?>
-<?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_gtin', __('Darstellung der GTIN', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_gtin'), array('help' => 'wpsg_mod_produktartikel_gtin')); ?>
+
+<br />
+
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_ean', __('Darstellung der EAN aktivieren', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_ean'), array('help' => 'wpsg_mod_produktartikel_ean')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_gtin', __('Darstellung der GTIN aktivieren', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_gtin'), array('help' => 'wpsg_mod_produktartikel_gtin')); ?>
+<br />
+
+<?php /* echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_positionnumber', __('Positionsnummer in Produktverwaltung anzeigen', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_positionnumber'), array('help' => 'wpsg_mod_produktartikel_positionnumber'));  */ ?>
+
+<br />
 
 <?php echo wpsg_drawForm_Select('wpsg_mod_produktartikel_comment', __('Kommentarfunktion', 'wpsg'), array(
Index: /views/produkt/index.phtml
===================================================================
--- /views/produkt/index.phtml	(revision 7383)
+++ /views/produkt/index.phtml	(revision 7384)
@@ -142,7 +142,33 @@
                         <th class="manage-column column-title wpsg_pic_col"></th>
                         <th class="wpsg_order" data-order="name"><?php echo __("Name", 'wpsg'); ?></th>
-                        <th class="wpsg_order" data-order="anr"><?php echo __("Artikelnummer", 'wpsg'); ?></th>
-
-                        <?php if ($this->hasMod('wpsg_mod_productgroups')) { ?>
+                        <?php if ($this->get_option('wpsg_ProductArticleNumber') == '1') { ?>
+	                        <th class="wpsg_order" data-order="anr"><?php echo __("Artikelnummer", 'wpsg'); ?></th>
+    					<?php } ?>    
+    					                
+                        <?php /* if ($this->hasMod('wpsg_mod_produktartikel') && $this->get_option('wpsg_mod_produktartikel_positionnumber') == '1') { ?>
+							<th class="wpsg_order" data-order="pos-nr"><?php echo __("Positionsnummer", "wpsg"); ?></th>
+						<?php } */ ?>
+						
+						<?php if ($this->hasMod('wpsg_mod_produktartikel') && $this->get_option('wpsg_mod_produktartikel_gtin') == '1') { ?>
+							<th class="wpsg_order" data-order="gtin-nr"><?php echo __("GTIN", "wpsg"); ?></th>
+						<?php } ?>
+						
+						<?php if ($this->hasMod('wpsg_mod_produktartikel') && $this->get_option('wpsg_mod_produktartikel_ean') == '1') { ?>
+							<th class="wpsg_order" data-order="ean-nr"><?php echo __("EAN", "wpsg"); ?></th>
+						<?php } ?>					
+						
+						<?php if ($this->hasMod('wpsg_mod_deliverytime') && $this->get_option('wpsg_mod_deliverytime_productindex') == '1') { ?>
+                        <th class="wpsg_order" data-order="deliverytime"><?php echo __("Lieferzeit", 'wpsg'); ?></th>
+                        <?php  } ?>
+                        
+                        <?php if ($this->hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProductindexBackend') == '1') { ?>
+                        <th class="wpsg_order" data-order="weight"><?php echo __("Gewicht", 'wpsg'); ?></th>
+                        <?php  } ?>
+                        
+                        <?php if ($this->hasMod('wpsg_mod_fuellmenge') && $this->get_option('wpsg_mod_fuellmenge_showProductindexBackend_fmenge') == '1') { ?>
+                        <th class="wpsg_order" data-order="fuellmenge"><?php echo __("FÃŒllmenge", 'wpsg'); ?></th>
+                        <?php  } ?>
+						
+                        <?php if ($this->hasMod('wpsg_mod_productgroups') && $this->get_option('wpsg_mod_productgroups_productindex') == '1') { ?>
                         <th class="wpsg_order" data-order="pgruppe"><?php echo __("Produktgruppe", 'wpsg'); ?></th>
                         <?php } ?>
@@ -195,6 +221,70 @@
                             </div>
                         </td>
-                        <td><?php echo wpsg_hspc($d['anr']); ?></td>
-                        <?php if ($this->hasMod('wpsg_mod_productgroups')) { ?>
+                        <?php if ($this->get_option('wpsg_ProductArticleNumber') == '1') { ?>
+                        	<td><?php echo wpsg_hspc($d['anr']); ?></td>
+                        <?php } ?>
+                        <?php /* if ($this->hasMod('wpsg_mod_produktartikel') && $this->get_option('wpsg_mod_produktartikel_positionnumber') == '1') { ?>
+                        	<td>
+                        	<?php  ?>
+                        	</td>                     	
+                        <?php } */ ?>
+                        <?php if ($this->hasMod('wpsg_mod_produktartikel') && $this->get_option('wpsg_mod_produktartikel_gtin') == '1') { ?>
+                        	<td><?php echo wpsg_hspc($d['gtin']); ?></td>
+                        <?php } ?>
+                        <?php if ($this->hasMod('wpsg_mod_produktartikel') && $this->get_option('wpsg_mod_produktartikel_ean') == '1') { ?>
+                        	<td><?php echo wpsg_hspc($d['ean']); ?></td>
+                        <?php } ?>
+                        
+                        <?php  if ($this->hasMod('wpsg_mod_deliverytime') && $this->get_option('wpsg_mod_deliverytime_productindex') == '1') { ?>
+                        <td>
+                        	<?php if ($this->callMod('wpsg_mod_deliverytime', 'isStoreProduct', array($oProduct->getProductKey()))) { ?>
+						
+								<div class="wpsg_product_only_store">
+									<?php echo __($this->callMod('wpsg_mod_deliverytime', 'displayStoreText', array($oProduct->getProductKey()))); ?>
+								</div>									
+								<?php $stl = 0; $stl = $this->callMod('wpsg_mod_deliverytime', 'displayStoreLink', array($oProduct->getProductKey())) ?>
+								<?php if (wpsg_isSizedInt($stl)) { ?>
+									&nbsp;<a href="<?php echo get_permalink($stl); ?>"><?php echo __('So erreichen Sie uns.'); ?></a>
+								<?php } ?>
+								
+							<?php } else { ?>
+																										
+							<?php $strDelayNote = $this->callMod('wpsg_mod_deliverytime', 'displayDelayTime', array($oProduct->getProductKey())); ?>
+							<?php if (wpsg_isSizedString($strDelayNote)) { ?>
+								<div class="wpsg_mod_deliverytime_offline">
+								    <div class="wpsg_mod_deliverytime_delay"><?php echo wpsg_hspc($strDelayNote); ?></div>
+								</div>										
+							<?php } else { ?>			
+                            	<?php if ($d['wpsg_mod_deliverytime_deliverytime'] == '' ) { ?>
+	                            	<?php echo $this->callMod('wpsg_mod_deliverytime', 'displayDeliveryTime', array($oProduct->getProductKey())); ?>
+                           		<?php } else { ?>
+                            		<?php echo $this->callMod('wpsg_mod_deliverytime', 'displayDeliveryTime', array($oProduct->getProductKey())); ?>										
+                            	<?php } ?>
+                            <?php } ?>
+                        	<?php } ?>
+                        </td>
+                        <?php } ?>
+                        
+                        <?php if ($this->hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProductindexBackend') == '1') { ?>
+                        <td>
+                             <?php if (($oProduct->weight) > '0') { ?>
+    							<?php echo wpsg_translate(__('#1# #2#', 'wpsg'), '<span class="wpsg_weight" id="weight_'.$oProduct->id.'">'.wpsg_ff($oProduct->weight).'</span>', $this->get_option('wpsg_mod_weight_unit')); ?>
+    						<?php } else { ?>
+    							<label><?php wpsg_translate(__('', 'wpsg'))?></label>
+    						<?php } ?>
+                        </td>
+                        <?php } ?>
+                        
+                        <?php if ($this->hasMod('wpsg_mod_fuellmenge') && $this->get_option('wpsg_mod_fuellmenge_showProductindexBackend_fmenge') == '1') { ?>
+                        <td>
+                        	<?php if (($oProduct->fmenge) > '0') { ?>										
+								<?php echo wpsg_translate(__('#1#', 'wpsg'), '<span class="wpsg_fmenge">'.wpsg_ff($oProduct->fmenge, '', true).'</span> '.$this->callMod('wpsg_mod_fuellmenge', 'getUnit', [$oProduct->feinheit])); ?>										
+							<?php } else { ?>					
+								<label><?php echo wpsg_translate(__('', 'wpsg')); ?></label>						
+							<?php } ?>	 
+                        </td>
+                        <?php } ?>
+                        
+                        <?php if ($this->hasMod('wpsg_mod_productgroups') && $this->get_option('wpsg_mod_productgroups_productindex') == '1') { ?>
                         <td>
                             <?php if ($d['pgruppe'] <= 0) { ?>
