Jump to content

How to Get a parent category id in productlist.tpl file?


Recommended Posts

I would like to get a parent category id of my products in product listing or category pages.

 

http://wholesale-genie.com/index.php?id_category=229&controller=category

 

I have tried follwing code in productlist.tpl file but no luck.

 

I have used version 1.5.x

 

<span><b>Parent category id :{$product->id_category_default}</b></span>

 

So please any one help me would be better?

Edited by Prabukaran (see edit history)
Link to comment
Share on other sites

  • 4 months later...
×
×
  • Create New...