Found a small bug. When I have a product info page with no cPath in the URL, the link to the main category won't have the right cPath, causing it to essentially link to my home page. Simple solution:
Rewrote /includes/templates/template_default/templates/tpl_modules_category_icon_display.php to fix the problem. See below:
<?php
$importcPath = $_GET['cPath'];
if ($importcPath == '')
$usecPath = $categories_cPath;
else
$usecPath = $importcPath;
?>
<div align="<?php echo $align; ?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $usecPath , 'NONSSL') . '">' . $category_icon_display_image . $category_icon_display_name . '</a>'; ?></div>
Then, make a small change in /includes/modules/category_icon_display.php on line 16 add this line:
$categories_cPath = $cPath;
That's it! Hope that helps!



