I am trying to set up an attribute for EOL (end of life) products. The idea is to leave these products on site, but now buying option would be available for them, and also they shouldn't appear on category listing pages and in the datafeeds.
I set up a boolean attribute for this and already did the product page, but I can't figure out how to filter out these products from the category listing. In list.phtml I see that the $_productCollection already contains all products, how can I filter out the products with the eol attribute set to yes?