Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Product description in new products listing

Product description in new products listing

Locked

Views: 2,638

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
15 Sep 2007, 3:53 AM
#1
ahsengmusic avatar

ahsengmusic

New Zenner

Join Date:
Sep 2007
Posts:
19
Plugin Contributions:
0

Product description in new products listing

Hi all,

how to change the length of product description in new products listing.
I want it longer more than 150 words.

Thanks:smile:

15 Sep 2007, 4:03 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product description in new products listing

Admin->Configuration->Product Listing->Display Product Description> Display Product Description

Do you want to display the Product Description?

0= OFF
150= Suggested Length, or enter the maximum number of characters to display

15 Sep 2007, 4:59 AM
#3
ahsengmusic avatar

ahsengmusic

New Zenner

Join Date:
Sep 2007
Posts:
19
Plugin Contributions:
0

Re: Product description in new products listing

DrByte:

Admin->Configuration->Product Listing->Display Product Description

Thanks for reply,DrByte.
I tried that setting before,
it doesn't effect on New Products Listing.

15 Sep 2007, 8:44 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product description in new products listing

Then use the same setting under Admin->Configuration->New Listing

15 Sep 2007, 11:51 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Product description in new products listing

The Configuration > New Listing page doesn't have that option, only on/off (1/0).

Display Product Description
Please make any necessary changes

Display Product Description
Do you want to display the Product Description - First 150 characters?
0= off
1= on

0
1

Cancel

Ajeh described several months ago how to add the variable functionality into new/all/featured listings, and said that it would be built into v1.3.8.

15 Sep 2007, 11:52 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product description in new products listing

gjh42:

The Configuration > New Listing page doesn't have that option, only on/off (1/0).

Ajeh described several months ago how to add the variable functionality into new/all/featured listings, and said that it would be built into v1.3.8.

Oops ... I was looking at 1.3.8 when I answered that question ... sorry :blush:

15 Sep 2007, 2:04 PM
#7
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Product description in new products listing

DrByte, I want that 1.3.8 to test drive ^^.

16 Sep 2007, 2:20 AM
#8
ahsengmusic avatar

ahsengmusic

New Zenner

Join Date:
Sep 2007
Posts:
19
Plugin Contributions:
0

Re: Product description in new products listing

so,no other way to change the setting in 1.3.7?

16 Sep 2007, 5:32 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product description in new products listing

edit your custom tpl_modules_products_new_listing.php file
find this, and change the 150 to whatever you like:```
$display_products_description = stripslashes(zen_trunc_string($disp_text, [B]150[/B], '<a href="' . zen_href_link(zen_get_info_page($products_new->fields['products_id']), 'products_id=' . $products_new->fields['products_id']) . '"> ' . MORE_INFO_TEXT . '</a>'));

16 Sep 2007, 5:59 AM
#10
ahsengmusic avatar

ahsengmusic

New Zenner

Join Date:
Sep 2007
Posts:
19
Plugin Contributions:
0

Re: Product description in new products listing

Thanks a lot~~DrByte