Show category description in product page

09.02.2014 11:41
#1
mokis
Joomshopping forum user no avatar
Name: montse
23.08.2011
Posts: 10
Quote
Show category description in product page

Hello,

Is there any way to show the category description in single product pages?
Thanks.

joomshopping version : 4.3.3

 
09.02.2014 18:12
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Show category description in product page

No.

Only chahge template product.

 
09.02.2014 19:16
#3
mokis
Joomshopping forum user no avatar
Name: montse
23.08.2011
Posts: 10
Quote
Aw: Show category description in product page

Couldn't I add a line of code to show it?

Thanks

 
09.02.2014 19:53
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Show category description in product page

components\com_jshopping\templates\default\product/product_default.php

...

$category = JTable::getInstance('category', 'jshop');
$category->load($this->category_id);
$category->getDescription();
print $category->description;

 
09.02.2014 20:06
#5
mokis
Joomshopping forum user no avatar
Name: montse
23.08.2011
Posts: 10
Quote
Aw: Show category description in product page

Is Perfect!

Thank you very much!

 
Copyrights MAXXmarketing GmbH. All Rights Reserved