Hide Categories & Products V1

for osCommerce Online Merchant v2.2

Hide Categories & Products For OScommerce2.2 rc1 I searched for a solution for this, solutions I found were either over complex, or poorly done, so this is my solution. I believe in keeping things as simple as possible & not re-inventing the wheel. OSC already has functions to hide any product, so I use that for products. This adds a new entry in the category table (categories_status) so all thats needed on the client side is to add a filter to sql queries ( and categories_status = 1 ). This does not allow for per-customer filtering, although I reckon it wouldent be too difficult to add. Most changes occur in admin/categories.php. These allow you to change the status of any category & the status of all products within a category. My site is heavily modified, so you may need to alter this contribution to fit your site.

Changelog