Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Feb 2008
    Location
    Edmonton, AB
    Posts
    61
    Plugin Contributions
    1

    Default No text input boxes for attributes in IE or Firefox

    After reading and reading I can't find anything exactly the same but lots of similar threads. I think I've narrowed it down.

    http://www.donhume.com/ZenCart/

    After adding a TEXT option type with name "Belt Size", and adding it to a product, when viewing that product the text box doesn't show up. It's not the browser issue because it's the same in firefox. There is a search input box that works fine on the same page too. It seems to happen if the option value type is TEXT and there not being any option values, the code returns nothing on tpl_modules_attributes.tpl around Line 30.

    Example: http://www.donhume.com/ZenCart/index...products_id=92

    This code

    Code:
    <?php echo "\n" . $options_menu[$i]; ?>
    Outputs nothing. I need the text box. Any suggestions or help would be appreciated!

  2. #2
    Join Date
    Feb 2008
    Location
    Edmonton, AB
    Posts
    61
    Plugin Contributions
    1

    Default Re: No text input boxes for attributes in IE or Firefox

    The TEXT option name 'Belt Size' has no associated option_value values.
    It has been successfully added to the product and can be edited. Publicly though, half the output comes out, and its not the second half containing the text box! $options_menu[$i] is coming back NULL.
    Back to work. lol

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

    Default Re: No text input boxes for attributes in IE or Firefox

    What Option Type do you have set for your Option Name for Belt Size?
    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!

  4. #4
    Join Date
    Feb 2008
    Location
    Edmonton, AB
    Posts
    61
    Plugin Contributions
    1

    Default Re: No text input boxes for attributes in IE or Firefox

    Hi Ajeh thanks for replying.

    Option Type is 'Text'

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

    Default Re: No text input boxes for attributes in IE or Firefox

    Via phpMyAdmin check the table: products_options_types and browse it ...

    Do you have one for Text?

    Check the table: products_options_values

    Do you have one for TEXT?
    products_options_values_id language_id products_options_values_name products_options_values_sort_order
    0 1 TEXT 0
    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!

  6. #6
    Join Date
    Feb 2008
    Location
    Edmonton, AB
    Posts
    61
    Plugin Contributions
    1

    Default Re: No text input boxes for attributes in IE or Firefox

    Thanks for getting back. So guess what, my products_options_values_id is 1 and not 0. So I have:

    1 1 Text 0

    Do you think that's it?

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

    Default Re: No text input boxes for attributes in IE or Firefox

    By default, that should be a 0 ...

    Can you sort on products_options_values_name and see how many are named 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!

  8. #8
    Join Date
    Feb 2008
    Location
    Edmonton, AB
    Posts
    61
    Plugin Contributions
    1

    Default Re: No text input boxes for attributes in IE or Firefox

    Sorry I thought I replied to this thread nights ago after you answered my question. I appreciate the help very much, and thank you. This is fantastic software and I plan to use a lot of it helping people setup their web stores. Thanks again!


    For those of you searching the forums for a way to validate input on a text field, here is the code I used on \includes\fuctions\function_lookups.php around line 444 in function zen_get_attributes_valid.

    (keep in mind I only have one text attribute option, so this would cause problems trying to validate other options text boxes)

    if (($value < 24) OR ($value > 78) OR (!is_integer($value / 2 ))) {
    $check_valid = false;

  9. #9
    Join Date
    Apr 2008
    Location
    London
    Posts
    596
    Plugin Contributions
    0

    Default Re: No text input boxes for attributes in IE or Firefox

    I'm trying to convert over from OSC and am stuck on one thing.
    Attributes text field.

    I have the text attribute assigned to a product, no problem but, as above, the actual text field is not rendering in FF or IF Mac and PC.

    In English (?), can some one explain how to get the text field to render, please.

    Thank you.

    Edit - It's not showing on Safari (Mac) either.

  10. #10
    Join Date
    Feb 2008
    Location
    Edmonton, AB
    Posts
    61
    Plugin Contributions
    1

    Default Re: No text input boxes for attributes in IE or Firefox

    What's OSC? Similiarly, I had this problem because I moved data from an old site into the new Zencart. For some reason a few key id's got screwed up and what Ajeh posted here fixed my problem.

    As mentioned earlier in this thread did you check your products_options_values table for a TEXT option?

    Does the rest of the page load fine? ie. javascript/css

    Post a link

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Can I add text input boxes to sell business checks?
    By JimTrail in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 16 Oct 2012, 03:50 PM
  2. v139h Resizing Text Boxes for Attributes
    By cshart in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 21 May 2012, 03:08 AM
  3. Text input boxes on create account page not lining up
    By laurelsstitchery in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Mar 2011, 10:38 AM
  4. attributes for text boxes
    By krush in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 2 Apr 2008, 03:41 AM

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