Corinne Posted February 28, 2007 Posted February 28, 2007 Hi All, I am almost ready to make my site "live" but I have one more problem. How do I make "out of stock" show (for items out of stock) on the products listing page? I do not want to show item in stock numbers on this page, but I just want to show if it is out of stock. "out of stock" does not show until you go to the shopping cart page. Thanks for any help Corinne
Guest Posted March 1, 2007 Posted March 1, 2007 you need to edit your catalog\index.php and catalog\includes\modules\product_listing.php For the first file you edit the sql query string to remove the p.products_status = '1' from the where clause and you move the p.products_status to the select clause. Then in your product_listing.php you check the products_status field from the query and you display out of stock or in stock. you may also want to check the contributions there might be something there that does that.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.