VM2.0+ Product detail page - show all categories a product is assigned to

Started by hoknight, March 20, 2013, 08:34:25 AM

Previous topic - Next topic

hoknight

Hi,

How can I show the Categories name on the product detail page?
I have tried to add  <?php echo $this->category->category_name; ?>.
But it only shown one category name for each product.


VM version:2.0.18a
Joomla 2.5.9

Thanks.

naboman

Hi... Do you know now how showing Subcategory and Category of any product?
Thx

Maxim Pishnyak

Quote from: hoknight on March 20, 2013, 08:34:25 AM
<?php echo $this->category->category_name; ?>.
this page is not category page
use product word for product page
simple
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart