VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: bolonia on March 04, 2012, 22:27:04 PM

Title: Product full description on category page
Post by: bolonia on March 04, 2012, 22:27:04 PM
Is there any way to show product full description on category page?

Thanks for help!
Title: Re: Product full description on category page
Post by: bolonia on March 05, 2012, 08:56:22 AM
Product has 2 fields with description: 1) product_s_desc — short description & 2) product_desc — product full decription
All 2 fields works on product page. But on a category page only product_s_desc works, i want to show full.
Title: Re: Product full description on category page
Post by: SamF on March 05, 2012, 13:11:00 PM
Quote from: bolonia on March 05, 2012, 08:56:22 AM
But on a category page only product_s_desc works, i want to show full.

Try to enter:

Code (\com_virtuemart\category\default.php about line 249) Select
echo $product->product_desc;

The result is on the screenshot below.

[attachment cleanup by admin]
Title: Re: Product full description on category page
Post by: bolonia on March 05, 2012, 14:46:49 PM
Oh, im so stupid. Missing one character :)

Now it works. Thanks!
Title: Re: Product full description on category page
Post by: dana9marie on March 17, 2012, 20:18:08 PM
Hi there,

I've looked in both administrator\components\com_virtuemart\ and \components\com_virtuemart\  and I can not find a folder called \category and a file called default.php

Can you help me find this file so I can modify it?

I am using Version 1.1.9 if that helps.

Dana-Marie

Quote from: SamF on March 05, 2012, 13:11:00 PM
Quote from: bolonia on March 05, 2012, 08:56:22 AM
But on a category page only product_s_desc works, i want to show full.

Try to enter:

Code (\com_virtuemart\category\default.php about line 249) Select
echo $product->product_desc;

The result is on the screenshot below.
Title: Re: Product full description on category page
Post by: bolonia on March 17, 2012, 20:23:09 PM
Quote from: dana9marie on March 17, 2012, 20:18:08 PM
Hi there,

I've looked in both administrator\components\com_virtuemart\ and \components\com_virtuemart\  and I can not find a folder called \category and a file called default.php

Can you help me find this file so I can modify it?

I am using Version 1.1.9 if that helps.

Dana-Marie

Quote from: SamF on March 05, 2012, 13:11:00 PM
Quote from: bolonia on March 05, 2012, 08:56:22 AM
But on a category page only product_s_desc works, i want to show full.

Try to enter:

Code (\com_virtuemart\category\default.php about line 249) Select
echo $product->product_desc;

The result is on the screenshot below.

This forum is about Virtuemart 2.0.
Title: Re: Product full description on category page
Post by: dana9marie on March 17, 2012, 20:37:21 PM
Whoops, I suppose that's obvious, but I didn't notice.  Thanks and sorry.

dm
Title: Re: Product full description on category page
Post by: metosas on November 17, 2013, 18:36:05 PM
maybe somebody could help with this, because i tried several times on the latest VM version and could not succeed.
Title: Re: Product full description on category page
Post by: Maxim Pishnyak on November 22, 2013, 22:33:06 PM
What did you try? Really latest? http://forum.virtuemart.net/index.php?topic=79799