PDA

View Full Version : Display matching categories in search results



michael_s
08-28-2008, 03:02 AM
Added options to category_listing.php:
$cat_tree=true;//set to true to display the full tree of category (related categories), otherwise false
$duplicates=false;// Related categories are only shown with matching if they have not been shown already, set this to true to it will show category from tree though its shown already.
Changed Files: category_listing.php

Tested on PHP 4 & 5, SQL 4 & 5, osC 2.2 ms2, rc1 & rc2a and is register_globals compatible.

FULL PACKAGE

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