Jump to content

[SOLVED] how to show Category on Product description


Recommended Posts

Hi,

 

If you use version 1.5, there is the $category variable on the product page. Place where you want in your product.tpl file something like:

 

<p>{$category->name}</p>

 

and it will show the category name.

 

No idea if it is the same for the versions below 1.5.

 

Try using the ?SMARTY_DEBUG console on your test version to see which variables are available on the page.

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...