If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Product Description in product listing view

Product Description in product listing view

Locked

Started by neit on 19 May 2010, 10:08 AM · Views: 627

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
19 May 2010, 10:08 AM
#1
neit avatar

neit

Zen Follower

Join Date:
Feb 2010
Posts:
140
Plugin Contributions:
0

Product Description in product listing view

I would like to show the complete product descriptions
in the product listings pages.

I have changed the following settings:

Featured Listing>Display Product Description: 1000

All Listing>Display Product Description: 1000

New Listing>Display Product Description: 1000

Product Listing>Display Product Description: 1000

But the product descriptions are still getting truncated.

Is there somewhere in the code that limiting the product
description length.

I am using zencart version 1.3.9b

When I look at the code I see:

zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>';

is this causing the issue?

Thanks
neit

19 May 2010, 10:42 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Product Description in product listing view

Yes. There are three places in that file that need to be commented out.

http://www.zen-cart.com/forum/showthread.php?t=136741

19 May 2010, 11:05 AM
#3
neit avatar

neit

Zen Follower

Join Date:
Feb 2010
Posts:
140
Plugin Contributions:
0

Re: Product Description in product listing view

I can already add html and had the those settings I mentioned above set to 500 and it worked ok,
But now some products descriptions are have greater than 500 characters so I changed it to 1000 and it made no difference.

I had already made a change to the zen_clean_html in the product_listing.php file I have now commented out the
rest and it has made no difference.

19 May 2010, 11:50 AM
#4
neit avatar

neit

Zen Follower

Join Date:
Feb 2010
Posts:
140
Plugin Contributions:
0

Re: Product Description in product listing view

Issue resolved thanks for your help