| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How do I check which subcategory a product is included in? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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) |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Use the "location" value .
It holds the category and subcategory of the product .
__________________
MercuryMinds Technologies Development Team, Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com X-Cart Mailchimp Ecommerce 360 Plugin/integration module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) Smasher, a smart search engine for x-cart store (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) One Page Checkout (OPC) - X-Cart module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x) |
|||||||||
|
|||
X-Cart forums © 2001-2020
|