View Full Version : Enhanced Categories Box

09-18-2012, 04:09 PM
This is an osCommerce 2.3.x rewrite of the original RC2 version of the enhanced categories box. The primary differences between this and the osCommerce version version are as follows:

1) The current category is highlighted in red so it is easy to spot.

2) Direct links are added to the specials and newest products lists to make them easy to get to.

3) A dropdown list of all categories is included to make it easy to go to any category without requiring multiple mouse clicks.

4) A nice little pointer image replaces the -> text to indicate that a category has a subcategory.

5) When product counts are shown each category is counted only once in the database and the results added to parent categories as needed. The osCommerce category product count function is inefficient when categories are deeply nested since the nested categories being shown are counted multiple times, once for each level down, which slows the server down.

All category information needed by this box for both the category tree and the dropdown is retrieved from the database only once for efficiency.

Install is extremely easy requiring only one file edit. Everything else is just a matter of copying files to the correct position.

More... (http://addons.oscommerce.com/info/8561)