Magento: Only show items in stock in catalog and search

My online store uses Magento for our shopping cart solution.

Currently ALL items are shown on the website whether they are in stock or out of stock. We would like to ONLY show items that are in stock with inventory greater than 0.

I have heard that there is one line of code that dictates this, but I am not familiar enough with Magento to figure it out.

I just read a forum that my site is posting all products associated with a category and not just the ones with quantity > 0. Hope this helps explain the problem more.

Skills: eCommerce, Magento, PHP, Shopping Carts

See more: magento search stock, magento show stock, stock magento, magento catalog items, magento show, search show stock magento, magento catalog search stock, show stock magento, magento stock, stock, shopping search, magento inventory, magento catalog, magento 20, in stock, code line 137, magento show store, magento website code, search solution, magento online catalog, stock website code php, magento php code, shopping cart solution, stock inventory php, code php shopping cart magento

About the Employer:
( 10 reviews ) Irvine, United States

Project ID: #1137063

Awarded to:


Hi kindly check my PMB.

$30 USD in 0 days
(37 Reviews)