View Single Post
Old 05-04-2017, 08:34 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline

Join Date: Dec 2010
Posts: 6,373

Default Re: how to get a product root category name?

I think X-Cart 4 doesn't pass information on the product's category to the product page template, so you should tweak product.php first: use the func_get_category_data() function to load information on the category and send it to the template with $smarty->assign('NAME_OF_SMARTY_VARIABLE', $DATA).
Alex Solovev,


User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote