Community Add-Ons

Maintainers: crwhite57
Add file to this package
Top » Features

Show Soldout For 2.3
for osCommerce Online Merchant v2.2

This is a modified contibution that was for 2.2 and I just modified it for 2.3

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.3
. Includes HTML manual with checkboxes to monitor your progress through the steps.
. Includes screenshots.
. Full package.

Legend:  Download   Report

Expand All / Collapse All

warning and update beatznbleepz 31 Jan 2013  

This add-on works as advertised for 2.3, except that the author took out the "product status toggle" from all of the SQL queries.

You will manually have to go back and add:

and p.products_status = '1'

or

p.products_status = '1' and

to each of the changed queries to re-enable the ability to turn off a product in the control panel.

If you don't, then you will see every item in your database, active or not!

The attached file is just this text.

Show Soldout For 2.3 crwhite57 25 Jul 2012