News:

Looking for documentation? Take a look on our wiki

Main Menu

Product full description on category page

Started by bolonia, March 04, 2012, 22:27:04 PM

Previous topic - Next topic

bolonia

Is there any way to show product full description on category page?

Thanks for help!

bolonia

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.

SamF

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]

bolonia

Oh, im so stupid. Missing one character :)

Now it works. Thanks!

dana9marie

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.

bolonia

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.

dana9marie

Whoops, I suppose that's obvious, but I didn't notice.  Thanks and sorry.

dm

metosas

maybe somebody could help with this, because i tried several times on the latest VM version and could not succeed.

Maxim Pishnyak

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