View Single Post
  #1  
Old 10-24-2010, 08:27 AM
 
purpose purpose is offline
 

Newbie
  
Join Date: Oct 2006
Posts: 4
 

Default How do I check which subcategory a product is included in?

When looking at a root category I want to add a CSS class to my products based on which sub category they are included in.

Say I have the following:

Mens
- Hoddies
- Tshirts

When looking at the Mens root category I want to add a CSS class if the product is listed in Hoodies or Tshirts.

Is there an easy way to determine which subcategories a product is listed in?

Thanks.
__________________
Version 4.1.6 (linux)
Reply With Quote