Filtered products display products with Visibility Not Visible Individually

Hi,

within filtered products also products are displayed with Visibility "Not Visible Individually".
Take e.g. this link
http://playground.oneinsixbillion.de…ndex/?color=12

Also the product "Hand Apple (L)" is displayed which is configured to "Not Visible Individually".
If i set the article to "Deactivated" it is not displayed bu then I also can’t buy it ๐Ÿ™

I walked through all the settings in the Admin Backend but could not find any option to configure this.

I placed this question in this forum because I assume maybe a relation to the JM Siotis theme. If this is not the case I’ll move on to the Magento Forums.

Maybe somebody can help me here?

Thanks
Daniel

4 answers

Profile photo of Sherlock 0.00 $tone October 9, 2013
Public

Hi Daniel,

you can open the file of app\code\local\JoomlArt\JmProducts\Block\list.php there around line number 167 you would see this line of code

PHP Code:

 $this->setProductCollection $products ); 




right below it you add this

PHP Code:

 Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($products); 




Try it and let me know if it helps !

#1
Profile photo of Sherlock 0.00 $tone October 9, 2013
Public

Hi Daniel,

you can open the file of app\code\local\JoomlArt\JmProducts\Block\list.php there around line number 167 you would see this line of code

PHP Code:

 $this->setProductCollection $products ); 




right below it you add this

PHP Code:

 Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($products); 




Try it and let me know if it helps !

#2
Profile photo of Sherlock 0.00 $tone November 11, 2013
Public

That sadly doesen’t work.
I use Magento 1.8.0. Could this be a problem?

That’s strange, I tried and it works for me, you can pm me your admin account, FTP url for further checking on this !

#4

Please login or Register to Submit Answer

Written By

Comments