Forums / Templates, Stylesheets, Page Layout / Missing description in product listing

Missing description in product listing

Locked

Views: 2,672

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
30 May 2006, 12:14 AM
#1
cheekycockney avatar

cheekycockney

Zen Follower

Join Date:
Apr 2006
Posts:
172
Plugin Contributions:
0

Missing description in product listing

Hello! Since I installed the column_layout_grid mod
http://www.zen-cart.com/forum/attachment.php?attachmentid=23&d=1147670273
my product descriptions have gone. They worked before, and in the admin under product listing the value is still set to 150 as a max character limit. Is there somewhere else where it could be turned off? If I need to add it myslef in the php can somebody please point me in the right direction? Thanks in advance.

4 Jun 2006, 11:49 AM
#2
cheekycockney avatar

cheekycockney

Zen Follower

Join Date:
Apr 2006
Posts:
172
Plugin Contributions:
0

Re: Missing description in product listing

Right I'm gonna try and pull the code out of the old product listing page, please let me know if I'm wasting my time!

4 Jun 2006, 7:59 PM
#3
gjh42 avatar

gjh42

Black Belt

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

Re: Missing description in product listing

I don't know anything about the column_layout_grid mod, but it could include suppressing the description. Try looking through that code first.

4 Jun 2006, 11:42 PM
#5
cheekycockney avatar

cheekycockney

Zen Follower

Join Date:
Apr 2006
Posts:
172
Plugin Contributions:
0

Re: Missing description in product listing

Really? Are you using this exact one? 1.2.5 version?

7 Jun 2006, 12:40 AM
#6
cheekycockney avatar

cheekycockney

Zen Follower

Join Date:
Apr 2006
Posts:
172
Plugin Contributions:
0

Re: Missing description in product listing

One last try for this, I'm going live tomorrow and I've reverted back to the row layout but I'd love to get this working. I think this is the file I need to work on

\catalog\includes\modules\product_listing

and I can kind of see how it works, but I cant seem to find any code that generates th descrption whether the layout is set to rows or columns. There's too many ifs in there for me. Cheers if you can shed some light on this.

20 Jun 2006, 4:28 PM
#7
cheekycockney avatar

cheekycockney

Zen Follower

Join Date:
Apr 2006
Posts:
172
Plugin Contributions:
0

Re: Missing description in product listing

Sorry to keep bringing this up but it's reeeally buggin me. I've tried swapping the product_listing.php from the 1.2.5 mod I used for loads of different versions, 1, 1.2, even 1.3 just out of sheer desperation. In each case, the description was still missing. What does this mean for it to still work fine on the row layout? Have I messed up the database somehow? I just dont get it.

21 Jun 2006, 4:43 PM
#8
cheekycockney avatar

cheekycockney

Zen Follower

Join Date:
Apr 2006
Posts:
172
Plugin Contributions:
0

Re: Missing description in product listing

Right, I think I'm getting somewhere. I've managed to get some descriptions to show on the page by bodging some code in the product_listing.php, but it's a bit glitchy.

http://www.cotswood-doors.co.uk/catalog/apollo-ambassador-style-c-2_21_22_24_33.html

As you can see, the descriptions are listed at the bottom. No matter where I put my code, the descriptions end up there. Also, the first description is missing altogether, in this case the 'euro profile'. This is code that I'm working with. Don't laugh.

if (PRODUCT_LIST_DESCRIPTION > 0 && (PRODUCT_LISTING_LAYOUT_STYLE == 'columns')) {
$columns++;

$list_box_contents[$columns][] = array('params' => 'class="' . $list_box_description . '" colspan="' . $zc_col_count_description . '"',
'text' => zen_trunc_string(zen_clean_html(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id'])), PRODUCT_LIST_DESCRIPTION));
}

Alright, you can laugh. Any help would be soooo appreciated.

28 Jun 2006, 9:42 PM
#9
lovere avatar

lovere

Zen Follower

Join Date:
Jul 2004
Location:
Nevada City, CA
Posts:
95
Plugin Contributions:
0

Re: Missing description in product listing

CheekyCockney:

Alright, you can laugh. Any help would be soooo appreciated.

This is an area of ZC that I have described to my clients as a rubik's cube. The product listing code is interrelated with admin switches that control positioning, but is not really documented as to how it all works together.

Check Configuration->Product Listing->Display Product Name to see if it is enabled. Believe it or not, the description and the name are controlled by this one switch.

Tip: 0 is off, 1, 2, 3 etc. set the left to right positions of the various elements.

Hope this helps!

6 Jul 2006, 12:17 AM
#10
cheekycockney avatar

cheekycockney

Zen Follower

Join Date:
Apr 2006
Posts:
172
Plugin Contributions:
0

Re: Missing description in product listing

Thanks for the idea, but no joy I'm afraid. It was already set to 2. Yargh.

6 Jul 2006, 2:43 AM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Missing description in product listing

You appear to be using an add-on ... and it may have its own settings or exclude the existing settings for the Product Listing ...

I do not use this so I cannot tell you off the top of my head what, if any, of the switches are built in ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!