Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Apr 2006
    Posts
    178
    Plugin Contributions
    0

    Default Missing description in product listing

    Hello! Since I installed the column_layout_grid mod
    http://www.zen-cart.com/forum/attach...3&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.

  2. #2
    Join Date
    Apr 2006
    Posts
    178
    Plugin Contributions
    0

    Default 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!

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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. #4
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    287
    Plugin Contributions
    3

    Default Re: Missing description in product listing

    I am using that mod too and have no problems with the product description.

  5. #5
    Join Date
    Apr 2006
    Posts
    178
    Plugin Contributions
    0

    Default Re: Missing description in product listing

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

  6. #6
    Join Date
    Apr 2006
    Posts
    178
    Plugin Contributions
    0

    Default 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.

  7. #7
    Join Date
    Apr 2006
    Posts
    178
    Plugin Contributions
    0

    Default 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.

  8. #8
    Join Date
    Apr 2006
    Posts
    178
    Plugin Contributions
    0

    Default 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/cata..._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.

  9. #9
    Join Date
    Jul 2004
    Location
    Nevada City, CA
    Posts
    113
    Plugin Contributions
    0

    Default Re: Missing description in product listing

    Quote Originally Posted by 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!

  10. #10
    Join Date
    Apr 2006
    Posts
    178
    Plugin Contributions
    0

    Default Re: Missing description in product listing

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

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Product Listing is missing listing display order dropdown
    By ideasco in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 15 Nov 2010, 04:06 AM
  2. Add more info link to product listing description when description is truncated
    By MaureenT in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 16 Sep 2010, 05:44 PM
  3. Products listing on main page - description missing
    By jonnyboy22 in forum General Questions
    Replies: 2
    Last Post: 3 Mar 2010, 04:07 AM
  4. Product Images & Description MISSING in the NEW PRODUCTS & ALL PRODUCTS LISTING pages
    By TJB in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 30 Apr 2008, 03:36 PM
  5. Product description in product more info in html format but not in product listing?
    By this side up in forum Customization from the Admin
    Replies: 1
    Last Post: 18 Dec 2006, 06:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg