Ok, I think I found a solution, or rather the part of the code that needs changing. Maybe this isn't the exact proper way to do it, but it will have to do.
Code:
if($new_style=='category-subs'){
if ($k==0) $content .= '</ul>';
$content .= '<h2><a href="javascript:void(0)">'.$box_categories_array[$i]['name'].'</a></h2>'."\n";
$content .='<ul>'. "\n";
$k=0;
This part, when I change the javascript part in <a href="javascript:void(0)"> to say, my homepage, when I click on the brand it takes me to the homepage. Obviously, this applies for all brands and I need it so that when I click on a brand, it takes me to that specific page.
Does anyone know that correct zencart code or whatever to place there so that each brand will take me to its respective page? I'm guessing it might be something like zen_href_link(FILENAME_DEFAULT