This contribution enables you to show sold out / out of stock products just like other normal products, but without the ability to add them to the shopping cart. Instead, a "sold out" button (inactive) is shown.
Please note that if the status of a product is set to "out of stock" by the administrator but the product quantity is greater than zero - this contribution will still show a "sold out" image. So it shows a product as "sold out" if the product quantity is zero OR the product status is zero i.e. out of stock.
The product count in the categories box also includes sold out items (though it is very easy for you to change that if you like). Product listing for any category doesn't show the "buy now" button if "sold out conditions" (as detailed above) are met.
. Tested on oscommerce-2.2ms2-060817.
. Includes HTML manual with checkboxes to monitor your progress through the steps.
. Includes screenshots.
. Full package.
Legend: 
Download

Report
This includes instructions to modify the code to show the Sold Out button on the Product Reviews, Product Reviews Write and the Product Reviews Info Pages.
You need to install the previous package first, this is only the additional instructions for the Product Reviews, Product Reviews Write and the Product Reviews Info Pages.
With credit to Sabaina who authored the original contribution and to Sparklies, aka Kate Burgess because I used her latest update as a template to create this one.
WHEN THE STOCK OF A PRODUCT GOES EQUAL FOR 0 (ZERO) THE IMAGE is LINK OF THE BUTTON OF PURCHASE THEY WILL DISAPPEAR AND IN ITS PLACE THE IMAGE OF ANOTHER BUTTON WRITING "NOT AVAILABLE" AND " NOTIFY ME" WILL APPEAR WITH A LINK FOR THE CUSTOMER TO CLICK TO BE NOTIFYDED ABOUT PRODUCT.
This includes instructions to modify the code to show the Sold Out button on the What's New pages. Without this, your customers will be able to add a Sold Out item to their cart from the What's New pages, only to be told it's out of stock when they come to check out.
You need to install the previous package first, this is only the additional instructions for the What's New page.
With credit to Sabaina who authored the original contribution.
Fixed advanced_search_results.php to show the correct status on the results page.
Full Package.
If the quantity was not being displayed in the product listings, the select query did not include products_quantity and hence the products always showed as sold out. Made the required change in index.php, line 165 -- checked if select clause has no mention of 'products_quantity' then added it to the select clause.
Full package.
Contains the updated install instructions.
This contribution enables you to show sold out / out of stock products just like other normal products, but without the ability to add them to the shopping cart. Instead, a "sold out" button (inactive) is shown.
Please note that if the status of a product is set to "out of stock" by the administrator but the product quantity is greater than zero - this contribution will still show a "sold out" image. So it shows a product as "sold out" if the product quantity is zero OR the product status is zero i.e. out of stock.
The product count in the categories box also includes sold out items (though it is very easy for you to change that if you like). Product listing for any category doesn't show the "buy now" button if "sold out conditions" (as detailed above) are met.
. Tested on oscommerce-2.2ms2-060817.
. Includes HTML manual with checkboxes to monitor your progress through the steps.
. Includes screenshots.
. Full package.