Index: /mods/wpsg_mod_productindex.class.php
===================================================================
--- /mods/wpsg_mod_productindex.class.php	(revision 6328)
+++ /mods/wpsg_mod_productindex.class.php	(revision 6329)
@@ -278,28 +278,14 @@
 			{
 			
+				$oProduct = wpsg_product::getInstance($p_id);
+				if ($oProduct->canDisplay()) continue;
+				
 				$product_data = $this->shop->loadProduktArray($p_id);
 					
-				if ($product_data['pstatus'] != 1) {
-					if ($this->shop->hasMod('wpsg_mod_stock'))
-					{
-							
-						// Wenn Lagerbestand aktiv dann nur wenn Option aktiv oder verfÃŒgbar
-						$showAusverkauft = get_post_meta($post_id, 'wpsg_mod_productindex_showAusverkauft', true);
-				 
-						if ($showAusverkauft == '1' || $this->shop->callMod('wpsg_mod_stock', 'checkBestand', array($p_id, 1)) == true)
-						{
-				
-							$arProducts[] = $product_data;
-				
-						} 
-							
-					}
-					else
-					{
-							
-						// Sonst immer hinzufÃŒgen
-						$arProducts[] = $product_data;
-							
-					}
+				if ($product_data['pstatus'] != 1) 
+				{
+					
+					// Sonst immer hinzufÃŒgen
+					$arProducts[] = $product_data;
 				}
 					
@@ -407,12 +393,5 @@
 			$this->update_post_meta($post_ID, 'wpsg_mod_productindex_hideOrder', $_REQUEST['wpsg_mod_productindex_hideOrder']);
 			$this->update_post_meta($post_ID, 'wpsg_mod_productindex_hideViewSelect', $_REQUEST['wpsg_mod_productindex_hideViewSelect']);
-			
-			if ($this->shop->hasMod('wpsg_mod_stock'))
-			{
-				
-				$this->update_post_meta($post_ID, 'wpsg_mod_productindex_showAusverkauft', $_REQUEST['wpsg_mod_productindex_showAusverkauft']);
-				
-			}
-			
+						
 		} // function wpsg_save_postdata($post_id) 
 			
Index: /views/mods/mod_productindex/page_metabox.phtml
===================================================================
--- /views/mods/mod_productindex/page_metabox.phtml	(revision 6328)
+++ /views/mods/mod_productindex/page_metabox.phtml	(revision 6329)
@@ -33,9 +33,5 @@
 	<?php echo wpsg_drawForm_Checkbox('wpsg_mod_productindex_hideOrder', __('Sortierungsauswahl ausblenden', 'wpsg'), get_post_meta($this->view['wpsg_mod_productindex']['post_id'], 'wpsg_mod_productindex_hideOrder', true)); ?>
 	<?php echo wpsg_drawForm_Checkbox('wpsg_mod_productindex_hideViewSelect', __('Ansichtenwechsel ausblenden', 'wpsg'), get_post_meta($this->view['wpsg_mod_productindex']['post_id'], 'wpsg_mod_productindex_hideViewSelect', true)); ?>
-	
-	<?php if ($this->hasMod('wpsg_mod_stock')) { ?>
-	<?php echo wpsg_drawForm_Checkbox('wpsg_mod_productindex_showAusverkauft', __('Ausverkaufte anzeigen', 'wpsg'), get_post_meta($this->view['wpsg_mod_productindex']['post_id'], 'wpsg_mod_productindex_showAusverkauft', true)); ?>
-	<?php } ?>
-	
+	 	
 	<?php echo wpsg_drawForm_Select('wpsg_mod_productindex_order', __('Standardsortierung', 'wpsg'), $this->view['wpsg_mod_productindex']['arOrder'], get_post_meta($this->view['wpsg_mod_productindex']['post_id'], 'wpsg_mod_productindex_order', true)); ?>
 	
