Quote Originally Posted by Gamethrall View Post
I'm having this issue too. I'm running 2.03 of the module on Zen Cart 1.5.5e.

In tpl_modules_advanced_search_categories.php, if I change
Code:
 
        $lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new). '">' . $listing->fields['categories_name'] . '</a></h3><div class="listingDescription">'. zen_trunc_string(zen_clean_html(stripslashes(zen_get_category_description($listing->fields['categories_id'], $_SESSION['languages_id'])))) . '</div>' ;
to
Code:
        $lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new). '">' . $listing->fields['categories_id'] . '</a></h3><div class="listingDescription">'. zen_trunc_string(zen_clean_html(stripslashes(zen_get_category_description($listing->fields['categories_id'], $_SESSION['languages_id'])))) . '</div>' ;
I do see a hyperlink to the category ID number.

I love this module and it fixes what I consider to be a big oversight in Zen Cart, so I'm hoping this can be resolved.
The Fix:
includes/modules/YOUR_TEMPLATE/advanced_search_categories.php

replace line 45

$select_str_cat = "SELECT DISTINCT " . $select_column_list_cat . "cd.categories_description, cd.categories_id, c.parent_id ";

with this:
$select_str_cat = "SELECT DISTINCT " . $select_column_list_cat . "cd.categories_description, cd.categories_id, c.parent_id, cd.categories_name ";

This will display the correctly named category name below the image as a clickable link.