Category Name

Views: 412

Results 1 to 1 of 1
7 Dec 2011, 10:52 PM
#1
nina avatar

nina

New Zenner

Join Date:
Jul 2011
Posts:
6
Plugin Contributions:
0

Category Name

Hi all,

I wasn't sure where to put this exactly.

I have set up to echo the category name in Product Info, and it worked.

<?php echo $categories->fields['categories_name'];?>

However, under Product Listing, I changed it up using someone's module to get my products to show under its parent categories.

While it works as it should, when I use the link to check out a product, I noticed that the category name isn't displaying correctly when I use the parent category link (ie. if I click on the menu item with the navigation set directly to the parent category), but would display correctly if I go directly to the subcategory's link (if I type in the href directly to a subcategory). I was wondering if anyone out there would know a way around that so that it'll read correctly again.

I would provide a link to the site itself, but at the moment it's still in development. However, I've provided images of what it looks like if I go through a direct link and through a parent category for the same product.

Any help is appreciated!