title: Products still showing when set to Not Visible Individually
body: <p>Using Magmi to upload a CSV to set simple products to be Not Visible Individually.</p>
  
  <p>After clearing Magento Cache and Reindexing, the products still show on the category page however clicking on the simple products give you a 404 page. </p>
  
  <p>Is there anyway to stop these products showing on the category page.</p>
  
  <p>Example of were this happens <a href="http://boxchilli.co/s2as/kayaks-1.html" rel="nofollow">http://boxchilli.co/s2as/kayaks-1.html</a></p>
  
  <p>PROTEC ACE WATER HELMET - WHITE at the top isn't ment to show but the PROTEC ACE WATER HELMET - WHITE2 is</p>
  
  <p>Code for list.phtml added below</p>
  
  <pre><code>&lt;?php
      $_productCollection=$this-&gt;getLoadedProductCollection();
      $_helper = $this-&gt;helper('catalog/output');
  
  ?&gt;
  &lt;?php if(!$_productCollection-&gt;count()): ?&gt;
  &lt;p class="note-msg"&gt;&lt;?php echo $this-&gt;__('There are no products matching the selection.') ?&gt;&lt;/p&gt;
  &lt;!--&lt;script type="text/javascript"&gt;
  jQuery(window).load(function() {
      jQuery('.page').css('background-image','none');
  });
  &lt;/script&gt;--&gt;
  &lt;?php else: ?&gt;
  &lt;div class="category-products"&gt;
  &lt;?php $position = 'top'; ?&gt;
      &lt;?php echo $this-&gt;getToolbarHtml($position) ?&gt;
      &lt;?php // List mode ?&gt;
      &lt;?php if($this-&gt;getMode()!='grid'): ?&gt;
      &lt;?php $_iterator = 0; ?&gt;
      &lt;ol class="products-list" id="products-list"&gt;
      &lt;?php foreach ($_productCollection as $_product): ?&gt;
          &lt;li class="item&lt;?php if( ++$_iterator == sizeof($_productCollection) ): ?&gt; last&lt;?php endif; ?&gt;"&gt;
              &lt;?php // Product Image ?&gt;
              &lt;a href="&lt;?php echo $_product-&gt;getProductUrl() ?&gt;" title="&lt;?php echo $this-&gt;stripTags($this-&gt;getImageLabel($_product, 'small_image'), null, true) ?&gt;" class="product-image"&gt;&lt;img src="&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($_product, 'small_image')-&gt;resize(130); ?&gt;" width="130" height="130" alt="&lt;?php echo $this-&gt;stripTags($this-&gt;getImageLabel($_product, 'small_image'), null, true) ?&gt;" /&gt;&lt;/a&gt;
              &lt;?php // Product description ?&gt;
              &lt;div class="product-shop"&gt;
                  &lt;div class="f-fix"&gt;
                      &lt;?php $_productNameStripped = $this-&gt;stripTags($_product-&gt;getName(), null, true); ?&gt;
                      &lt;h2 class="product-name"&gt;&lt;a href="&lt;?php echo $_product-&gt;getProductUrl() ?&gt;" title="&lt;?php echo $_productNameStripped; ?&gt;"&gt;&lt;?php echo $_helper-&gt;productAttribute($_product, $_product-&gt;getName() , 'name'); ?&gt;&lt;/a&gt;&lt;/h2&gt;
                      &lt;?php if($_product-&gt;getRatingSummary()): ?&gt;
                      &lt;?php echo $this-&gt;getReviewsSummaryHtml($_product) ?&gt;
                      &lt;?php endif; ?&gt;
                      &lt;?php echo $this-&gt;getPriceHtml($_product, true) ?&gt;
                      &lt;?php if($_product-&gt;isSaleable()): ?&gt;
                          &lt;p&gt;&lt;button type="button" title="&lt;?php echo $this-&gt;__('BUY NOW') ?&gt;" class="button btn-cart" onclick="setLocation('&lt;?php echo $this-&gt;getAddToCartUrl($_product) ?&gt;')"&gt;&lt;span&gt;&lt;span&gt;&lt;?php echo $this-&gt;__('BUY NOW') ?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/p&gt;
                      &lt;?php else: ?&gt;
                          &lt;p class="availability out-of-stock"&gt;&lt;span&gt;&lt;?php echo $this-&gt;__('Out of stock') ?&gt;&lt;/span&gt;&lt;/p&gt;
                      &lt;?php endif; ?&gt;
                      &lt;div class="desc std"&gt;
                          &lt;?php $shortened = truncateText($_product['description'],250,'.'); ?&gt;
                          &lt;?php 
                          $product_data = $_product-&gt;getData();
                          if($_product-&gt;getName() == 'Mystic Warrior III (3) Kitesurf Waist Harness 2012 - Black'){print_r($product_data);} 
                          ?&gt;
                          &lt;?php print_r($_product['description']); ?&gt;
                          &lt;a href="&lt;?php echo $_product-&gt;getProductUrl() ?&gt;" title="&lt;?php echo $_productNameStripped ?&gt;" class="link-learn"&gt;&lt;?php echo $this-&gt;__('Learn More') ?&gt;&lt;/a&gt;
                      &lt;/div&gt;
                      &lt;ul class="add-to-links"&gt;
                          &lt;?php if ($this-&gt;helper('wishlist')-&gt;isAllow()) : ?&gt;
                              &lt;li&gt;&lt;a href="&lt;?php echo $this-&gt;helper('wishlist')-&gt;getAddUrl($_product) ?&gt;" class="link-wishlist"&gt;&lt;?php echo $this-&gt;__('Add to Wishlist') ?&gt;&lt;/a&gt;&lt;/li&gt;
                          &lt;?php endif; ?&gt;
                      &lt;/ul&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/li&gt;
      &lt;?php endforeach; ?&gt;
      &lt;/ol&gt;
      &lt;script type="text/javascript"&gt;decorateList('products-list', 'none-recursive')&lt;/script&gt;
  
      &lt;?php else: ?&gt;
  
      &lt;?php // Grid Mode ?&gt;
  
      &lt;?php $_collectionSize = $_productCollection-&gt;count() ?&gt;
      &lt;?php $_columnCount = $this-&gt;getColumnCount(); ?&gt;
      &lt;?php $_columnCount = 4; ?&gt;
      &lt;?php $i=0; foreach ($_productCollection as $_product): ?&gt;
          &lt;?php if ($i++%$_columnCount==0): ?&gt;
          &lt;ul class="products-grid"&gt;
          &lt;?php endif ?&gt;
              &lt;li class="item&lt;?php if(($i-1)%$_columnCount==0): ?&gt; first&lt;?php elseif($i%$_columnCount==0): ?&gt; last&lt;?php endif; ?&gt;"&gt;
                  &lt;a href="&lt;?php echo $_product-&gt;getProductUrl() ?&gt;" title="&lt;?php echo $this-&gt;stripTags($this-&gt;getImageLabel($_product, 'small_image'), null, true) ?&gt;" class="product-image"&gt;&lt;img src="&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($_product, 'small_image')-&gt;resize(158); ?&gt;" alt="&lt;?php echo $this-&gt;stripTags($this-&gt;getImageLabel($_product, 'small_image'), null, true) ?&gt;" /&gt;&lt;/a&gt;
                  &lt;?php $shortened = truncateText($_product-&gt;getName(),250,'.'); ?&gt;
                  &lt;h2 class="product-name"&gt;&lt;a href="&lt;?php echo $_product-&gt;getProductUrl() ?&gt;" title="&lt;?php echo $this-&gt;stripTags($shortened, null, true) ?&gt;"&gt;&lt;?php echo $_helper-&gt;productAttribute($_product, $_product-&gt;getName(), 'name') ?&gt;&lt;/a&gt;&lt;/h2&gt;
                  &lt;?php if($_product-&gt;getRatingSummary()): ?&gt;
                  &lt;?php echo $this-&gt;getReviewsSummaryHtml($_product, 'short') ?&gt;
                  &lt;?php endif; ?&gt;
                  &lt;?php echo $this-&gt;getPriceHtml($_product, true) ?&gt;
                  &lt;div class="actions"&gt;
                      &lt;?php if($_product-&gt;isSaleable()): ?&gt;
                          &lt;button type="button" title="&lt;?php echo $this-&gt;__('BUY NOW') ?&gt;" class="button btn-cart" onclick="setLocation('&lt;?php echo $this-&gt;getAddToCartUrl($_product) ?&gt;')"&gt;&lt;span&gt;&lt;span&gt;&lt;?php echo $this-&gt;__('BUY NOW') ?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;
                      &lt;?php else: ?&gt;
                          &lt;p class="availability out-of-stock"&gt;&lt;span&gt;&lt;?php echo $this-&gt;__('Out of stock') ?&gt;&lt;/span&gt;&lt;/p&gt;
                      &lt;?php endif; ?&gt;
                      &lt;ul class="add-to-links"&gt;
                          &lt;?php if ($this-&gt;helper('wishlist')-&gt;isAllow()) : ?&gt;
                              &lt;li&gt;&lt;a href="&lt;?php echo $this-&gt;helper('wishlist')-&gt;getAddUrl($_product) ?&gt;" class="link-wishlist"&gt;&lt;?php echo $this-&gt;__('Add to Wishlist') ?&gt;&lt;/a&gt;&lt;/li&gt;
                          &lt;?php endif; ?&gt;
                      &lt;/ul&gt;
                  &lt;/div&gt;
              &lt;/li&gt;
          &lt;?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?&gt;
          &lt;/ul&gt;
          &lt;?php endif ?&gt;
          &lt;?php endforeach ?&gt;
          &lt;script type="text/javascript"&gt;decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])&lt;/script&gt;
      &lt;?php endif; ?&gt;
      &lt;?php $position = 'bottom'; ?&gt;
      &lt;div class="toolbar-bottom"&gt;
          &lt;?php  echo $this-&gt;getToolbarBlock()-&gt;setTemplate('catalog/product/list/toolbar_bottom.phtml')-&gt;toHtml(); ?&gt; 
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;?php endif; ?&gt;
  </code></pre>