Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    672
    Plugin Contributions
    0

    Default How to add characters to the text attribute?

    I have products that need longer Read-Only attributes (so I don't have to retype the same thing over and over on lots of products). But I don't know how to make my character count longer on a Read-Only attribute. I think its done in phpMyAdmin but I just don't know which tables and how to modify the count here.

    I found this thread and changed my characters to 80 (per Ajehs instructions) but that did not increase my field (so I changed it back to 32).

    I have attached an image that will show my character count on read only is around 64 or 65. I need at least 100 (or maybe even more).
    Attached Images Attached Images  
    Building a better web, one site at a time: Dayton Web Design

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: How to add characters to the text attribute?

    Yes, in the database you need to change the "products_options_values_name" field in the "products_options_values" table from "varchar(64)" to a bigger size, such as "varchar(128)".
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    672
    Plugin Contributions
    0

    Default Re: How to add characters to the text attribute?

    Thank you, that's the table I was looking for. I found several tables but not the table you pointed out. After clicking a few times, I thought it would be best to seek professional advice. :)
    Building a better web, one site at a time: Dayton Web Design

 

 

Similar Threads

  1. v151 Is there a way of setting text field attribute to count the characters up?
    By Bronco78th in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 24 Feb 2014, 02:40 PM
  2. How do I add a text statement if a attribute is selected?
    By mhollibush in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 4 Feb 2014, 07:36 PM
  3. Text Attribute Price by Characters
    By thehin in forum General Questions
    Replies: 2
    Last Post: 28 May 2007, 06:20 AM
  4. Maximum Characters for Text Box Attribute
    By MaryK in forum Bug Reports
    Replies: 1
    Last Post: 2 Apr 2007, 06:56 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR