![]() |
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. |
Re: How do I check which subcategory a product is included in?
Use the "location" value .
It holds the category and subcategory of the product . |
All times are GMT -8. The time now is 07:04 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.