Post by Caps » Sun Dec 23, 2012 9:35 am

How may I make the parent category a label so that I may only click on the subcategories below it?

New member


Sat Apr 23, 2011 7:51 am

Post by Avvici » Thu Dec 27, 2012 12:10 pm

Just open: catalog/view/theme/your_theme/template/module/category.tpl and find this code:

Code: Select all

 <a href="<?php echo $category['href']; ?>" class="active"><?php echo $category['name']; ?></a>
Replace it with this:

Code: Select all

<a href="javascript:void();" class="active"><?php echo $category['name']; ?></a>

User avatar
Expert Member


Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC
Who is online

Users browsing this forum: No registered users and 67 guests