Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2007
    Posts
    1
    Plugin Contributions
    0

    Default Product Description Truncating

    We have a really long product description for some of our products and when I try to add the product description to Zencart it only shows the description up to a certain point. I am referring to the long description on the product_info page. I don't see why there would be a limit on the length of that. Where would I change it?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Product Description Truncating

    The limit is 64k on the products_description field ...

    You can set this to longer if you need to write a bigger book on your products ...
    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!

  3. #3
    Join Date
    Feb 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: Product Description Truncating

    ok, I give up, how do you increase this limit?

  4. #4
    Join Date
    Feb 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: Product Description Truncating

    Let me answer my own question as I just figured it out, in case someone else is having the same issue...

    go into phpmyadmin (supplied by your hosting company), find product description, edit the field from "text" to "longtext" or "mediumtext". That increases that allowable size of the description field so that won't get cut off.

    this was bugging the hell out of me.

  5. #5
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Product Description Truncating

    Just out of curiosity, what product is this which crossed even the limit of 64K? :)
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  6. #6
    Join Date
    Sep 2007
    Location
    Vancouver, CA
    Posts
    94
    Plugin Contributions
    0

    Default Re: Product Description Truncating

    That worked great, Avarshav, thanks for posting the solution. You saved me an untold amount of work.

    The reason my descriptions get so long is because I use tabbed products lite to load a lot of extra info in a description, while keeping it neat and organized. Should be good for SEO purposes too since google loves text.

  7. #7
    Join Date
    Sep 2007
    Location
    Vancouver, CA
    Posts
    94
    Plugin Contributions
    0

    Default Re: Product Description Truncating

    Hi,

    Hopefully this thread is not dead now.

    After upgrading to 1.3.8 it seems like LONGTEXT for product description no longer seems to work. The behavior is actually worse now. If we have an extra long description (due to compatibility lists) that goes over 64k it no longer truncates the description, but deletes it entirely.

    This is observable by setting your product description to "longtext" then pasting about 100k of text into the description of a product. I have tried it without html characters too, just to eliminate that possibility.

    Not sure what might be the issue.

    Note that long description listings created before the upgrade to 1.3.8 (from 1.3.7.1) still display fine. However, if I try to edit one or create a new "long product" the problem appears.

    Ideas much appreciated,

    Thanks - Todd

 

 

Similar Threads

  1. v154 Truncating email_archive
    By kalastaja in forum General Questions
    Replies: 1
    Last Post: 23 Jan 2015, 04:27 PM
  2. v138a Acute é character truncating line
    By blarney in forum General Questions
    Replies: 0
    Last Post: 10 Jul 2012, 08:02 PM
  3. Truncating copy in the Product Listing page
    By datatv in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Mar 2011, 12:00 AM
  4. some char in product desc is truncating
    By svakanda in forum General Questions
    Replies: 1
    Last Post: 16 Jun 2009, 11:37 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