Here is how to make items stay displayed in your product listings, even if they are out of stock. Some people reported not being able to do this, while others had just the opposite problem. For my own site, there was no other way except to delete a few lines of code.
remove these lines from catalog/checkout_process.php:
if ( ($stock_left < 1) && (STOCK_ALLOW_CHECKOUT == 'false') ) {
tep_db_query("update " . TABLE_PRODUCTS . " set products_status = // '0' where products_id = '" . tep_get_prid($order->products[$i]['id']) . "'");
}
-just put // in front of each line. This will stop the .php file from writing the products_status as out of stock in the database.
Top 4 Download periodically updates information of Keep Products Displayed When Out of Stock script from the developer, but some information may be slightly out-of-date.
Our script download links are directly from our mirrors or publisher's website. Keep Products Displayed When Out of Stock torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!