Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Location
    MI
    Posts
    14
    Plugin Contributions
    0

    Default Option Value Length

    Ver 1.8.X

    How do I modify the length of the Option Value in the Option Names in Option Values Manager In the CP?
    The current length appears to be about 64 characters.
    I want to include HTML for example....
    <A HREF="/images/3106vanilla.pdf" target="blank">French Vanilla</A>
    I would also like to stretch the box, so I can see what I typed. Is this possible???? I have read thru the Zen Cart Book, Searched forums, and WIKI, and still no results!

    I sort of had it working, until I exceded 64 characters. You can see it here....

    http://greatlakesherbalife.com/index...&products_id=2

    Under French Vanilla.

    Thanks!
    Kevin Holley
    Great Lakes Herbalife

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

    Default Re: Option Value Length

    You can customize the products_options_values table and change the the field:
    products_options_values_name

    You can try changing that to the type of TEXT and see if that works better for you ...
    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
    Apr 2010
    Location
    MI
    Posts
    14
    Plugin Contributions
    0

    Default Re: Option Value Length

    That won't work. I have Flavors and sizes and each flavor has a different label. I need to show that label, and so far, adding HTML to my Option Name is the closest I have come.

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

    Default Re: Option Value Length

    If you make the field type in the database table TEXT rather than varchar 64 ... then the field can contain a lot more than 64 characters ...
    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!

  5. #5
    Join Date
    Apr 2010
    Location
    MI
    Posts
    14
    Plugin Contributions
    0

    Default Re: Option Value Length

    Are you talking about making this change in the database??? Rather than in the CP???

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

    Default Re: Option Value Length

    Yes I am ... if you want to enter as an Option Value something longer than 64 characters ... that data is stored in the database in the products_options_values table and you need to change the field:
    products_options_values_name

    so that instead of being varchar 64 it is something bigger such as text ...
    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!

 

 

Similar Threads

  1. Replies: 4
    Last Post: 28 Aug 2012, 02:33 PM
  2. Problem increasing Option Value Length - Please Help
    By Sam74 in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 23 Jun 2011, 10:13 AM
  3. change width of option value name length
    By spjrr in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Jul 2008, 01:11 AM
  4. 2nd option value need to be changed by 1st option value
    By userman in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 15 Jan 2008, 03:04 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