Community Add-Ons

Maintainers: naghi
Add file to this package
Top » Features

Activate or inactivate category of catalog
for osCommerce Online Merchant v2.2

This contributions allows you to display or hide any category or subcategory.

The install is very easy and take a 1 or 2 min.

Legend:  Download   Report
Expand All / Collapse All
activate or Inactivate Categories of Catalog v 1.31 wdepot 1 Oct 2009  

Bug fixed for compatiblity with MySQL 4. If you are using a version of MySQL prior to version 5 you need this correction since in SQL queries version 4 processes NOT before IN rather than IN before NOT as in version 5 under which this contribution was tested. The solution is simply to put parenthesis around the IN operators wherever used in a query to make sure they are processed first regardless of the version of MySQL.

Complete corrected instructions attached. If you've already installed version 1.3 the only changes are that the SQL queries are changed from

and (not p2c.categories_id in (" . implode(',', $hiddencats) . "))

to

and (not (p2c.categories_id in (" . implode(',', $hiddencats) . ")))

in eleven files (one place each in ten files and twice in index.php).

Activate or Inactivate Categories of Catalog v 1.3 wdepot 23 Sep 2009  
Activate or Inactivate Categories of Catalog wdepot 18 Sep 2009  
Activate or Inactivate Categories of Catalog wdepot 16 Sep 2009  
Fix for Main categories as thubnails on index Lgn.Magic 13 Aug 2009  
correction doinitanistor 20 Feb 2009  
Activate or inactivate category of catalog naghi 2 Jan 2009