Search code examples
magentostockavailability

How do i remove 'availability in stock' display from magento category view


I run a Magento store which we want to run without stock management but with all items displayed regardless of stock status.

I have switched off stock management & have everything I want showing but I cannot find a way to remove the 'Availability: In Stock' message from search results, category & brand views. How can I stop this from showing?

I have found an edit to the style.css file but this only removes it from product pages & not from search results, category & brand lists.


Solution

  • this will be in your theme's list.phtml file. Go here;

    Mage Root/app/design/frontend/XXX/YYY/template/catalog/product/list.html
    

    You will find the logic for displaying the message in there.

    XXX/YYY will be the path of your particular theme. In the unlikely event that your theme doesnt have a list.phtml file, then check here;

    Mage Root/app/design/frontend/base/default/template/catalog/product/list.phtml