Thread: Text Atrributes

Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2008
    Posts
    23
    Plugin Contributions
    0

    Default Text Atrributes

    Hi,
    HELP!
    I have tried using every combination of text attributes in Option Names for TEXT and searched everywhere for the answer to no avail.

    I need a Text input box that is

    5 lines max
    30 characters per line
    plus the first 40 characters are at no charge extras are.45 each.

    I can get one or 2 features to work but not all 3 together?
    Any help is appreciated.
    Thanks!

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

    Default Re: Text Atrributes

    On the Option Name Manager, I make:
    Option Name: Your Text
    Option Type: TEXT

    then click Insert ...

    Next, I edit this and change the settings for:

    Rows: 5
    Display Size: 30
    Maximum length: 150

    then click update ...


    Now I go to the Attributes Controller and find the Product and add the Your Text option name with the option value of TEXT [RESERVED FOR TEXT/FILES ONLY ATTRIBUTES] and set the
    Price per Letter: .45
    Free Letters: 40


    And that's it ...


    The only part I am not very good at is the stylesheet settings to make IE work the same way as FireFox on the input box ...

    FireFox 2.x listens well to the settings and IE at least on 6.x does not listen to the settings other than the total size of the input box ...

    FireFox is smart and does exactly what is asked for and IE is all fussy and does whatever it wants with the box ...

    To have this work 100% with all browsers, perhaps one of the designer guys would like to jump in here ...
    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: v1.5.5]
    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
    Jan 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Text Atrributes

    Thanks for the reply!
    Well I tried, still wouldn't work exactly how I need it.
    It allows me to type 150 characters in one line (I know who would do that - just testing).

    If it's words it returns to next line after 30. However it allows me to type as many lines as I want within 150 characters (over my 5 max lines).

    Also if I type more than 150 characters then it deletes everything I already typed?

    I even tried creating 5 one line boxes, but the text costs still don't add up.


  4. #4
    Join Date
    Jan 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Text Atrributes

    This is driving me nuts, am I missing something?

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Text Atrributes

    By "lines" do you mean "carriage returns - CR"? The text box described is five "lines" deep, but does not generate CR.
    20 years a Zencart User

  6. #6
    Join Date
    Jan 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Text Atrributes

    Yes, carriage returns.

    This is for an engraving Company I have a 5 line max with 30 characters per line.
    Do you know of a way to achieve this?
    Last edited by PiscesFish; 28 Jan 2008 at 09:38 PM.

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

    Default Re: Text Atrributes

    Adding comments by hitting EDIT on the Option Name might help ...

    Unless you get into some specialized coding for this, I don't think you will hit the perfect world for this criteria of:

    Up to 5 lines
    Up to 30 characters per line
    .45 per character
    40 characters free
    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: v1.5.5]
    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!

  8. #8
    Join Date
    Jan 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Text Atrributes

    What, no perfect world?
    If I get this figured out using code (LOL)I will post.
    If anyone else figures this out please let me know.
    Thanks,
    Fish out of water.
    { e
    :
    { e

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

    Default Re: Text Atrributes

    Please do ...

    It would help if the browsers were friends and had commonality on the functionality for the TEXTAREA ...

    NOTE: the disappearing text is just because you blew thru typing past the limit ...

    NOTE: the 1 long line is because you did not breath ... ever hear of a word 150 characters long?

    We will have to fool with this more on a future release to gain even more control over the little details ...
    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: v1.5.5]
    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!

  10. #10
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Text Atrributes

    Quote Originally Posted by Ajeh View Post

    NOTE: the 1 long line is because you did not breath ... ever hear of a word 150 characters long?
    In Afrikaans there's a tiny South African village called "Tweebuffelsmeteenskootmorsdoodgeskitisfontein" and there's a Wales town called "Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch"... but they fall short of 150 letters!
    Last edited by schoolboy; 29 Jan 2008 at 07:55 PM. Reason: Spelling mistake !
    20 years a Zencart User

 

 

Similar Threads

  1. v151 Would Atrributes work in this manner?
    By colin-ny in forum Setting Up Categories, Products, Attributes
    Replies: 18
    Last Post: 20 Aug 2014, 10:07 PM
  2. Old Atrributes problem needs to be fixed
    By beyre in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 22 Jul 2010, 02:49 AM
  3. Remove Max Characters Atrributes
    By jaxsonsmom in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 8 Jun 2009, 07:19 PM
  4. Add atrributes to ALL Products, Globally
    By drhiii in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 24 Nov 2008, 04:09 AM
  5. Downloads Atrributes getting lost
    By HinterWelt2 in forum General Questions
    Replies: 3
    Last Post: 2 Jan 2008, 08:10 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