VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: El_Loboo on November 21, 2013, 17:03:10 PM

Title: Get category_description in virtuemart product module
Post by: El_Loboo on November 21, 2013, 17:03:10 PM
Hi all,

I'm trying to get category description to use in virtuemart product module. Look at this page:


http://www.juguetitossex.es/aceites-lubricantes/aceites/cremas-polvos

I would like something similar to picture attached. I need to get category title and category description to use in vm product module. I've tried using $this->category->category_description but I get a blank page. Is there any way to get that variable?

Regards

[attachment cleanup by admin]
Title: Re: Get category_description in virtuemart product module
Post by: El_Loboo on November 23, 2013, 01:38:01 AM
Not idea anybody?

I can get category_id but category_description is empty... Anybody can help me, please?
Title: Re: Get category_description in virtuemart product module
Post by: Maxim Pishnyak on November 23, 2013, 05:50:44 AM
You could do this by modifying template override for category page.
Title: Re: Get category_description in virtuemart product module
Post by: El_Loboo on November 23, 2013, 13:50:50 PM
Quote from: Maxim Pishnyak on November 23, 2013, 05:50:44 AM
You could do this by modifying template override for category page.

How I can do it?

I'm looking for model folder to get array with category_title, category_description,... but I can't get it succesfully...
Title: Re: Get category_description in virtuemart product module
Post by: Maxim Pishnyak on November 24, 2013, 17:05:52 PM
Check related sticked thread in Template forum, related manual on official VM site.
Title: Re: Get category_description in virtuemart product module
Post by: El_Loboo on November 25, 2013, 11:04:06 AM
Maxim, my friend...

I've spent long time looking for information and I published a new thread because nothing I found help me to resolve this. I was looking for related thread but nothing helped me, so answers like "check related sticked thread" or "related manual on official VM site" don't help me nothing...

Can you give me more specific information?