Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Requiring some text (attribute) when placing order...

    I'm hoping someone can help me figure out why you can add an item to the cart without first typing some required text. I thought I set up the attributes correctly but it's not working.

    Here's link to the product on our site I'm referring to...

    http://www.thewindcutter.com/shop/in...roducts_id=464

    The "Camcorder Brand & Model Number" and the "Measurement of camcorder's mic area (width x height)" are the two I'm trying to require but I can add the product to the cart without filling these fields in first.

    Anyone have any idea what the problem is?

    Thanks!
    Rebekah
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

  2. #2
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,915
    Plugin Contributions
    3

    Default Re: Requiring some text (attribute) when placing order...

    When you add the text attribute to a product, I think the last ATTRIBUTE FLAGS box on the right (the bright red one) selects "required" status for text. Make sure you select YES radio button in that red box before you click insert button.
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  3. #3
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: Requiring some text (attribute) when placing order...

    Thanks for the reply. That's already enabled.
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,689
    Plugin Contributions
    6

    Default Re: Requiring some text (attribute) when placing order...

    There is a bug caused by an add-on that is related to the TEXT attribute that I cannot recall off the top of my head that would break the require on this ...

    Think ... think ... think ... where are all our smart helpers ...
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #5
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: Requiring some text (attribute) when placing order...

    Are you maybe referring to this?

    http://www.zen-cart.com/forum/showpo...8&postcount=10

    I don't have Google Site Map add-on, though. Should I still run this SQL Patch that you posted there?

    Thanks for your help.

    Rebekah
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,689
    Plugin Contributions
    6

    Default Re: Requiring some text (attribute) when placing order...

    That's the one and there is something about Image Handler in there as well ...

    I do not use either, but they appear to cause a problem in how they construct things ...

    Be sure to make proper backups before making changes ...
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  7. #7
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: Requiring some text (attribute) when placing order...

    Thanks, Linda. This seems to have fixed it. I tested it and had to go back and fill in the required text, yea!

    In case anyone else needs this...

    1. Go to Tools | Database Backup MYSQL and backup your database. Database Backup MYSQL is an add-on for backing up your database. If you don't have it, get it here:

    Backup MYSQL Plugin

    (Of course, if you know how, you can also use phpMyAdmin to do your backup.)

    2. After you backup, go to Tools | Install SQL Patches

    3. Paste in the following code (make sure you have no extra spaces at the end)...

    Code:
    INSERT INTO `configuration` VALUES ('', 'Product option type Select', 'PRODUCTS_OPTIONS_TYPE_SELECT', '0', 'The number representing the Select type of product option.', 0, NULL, '2007-03-19 17:57:39', '2007-03-19 17:57:39', NULL, NULL);
    INSERT INTO `configuration` VALUES ('', 'Upload prefix', 'UPLOAD_PREFIX', 'upload_', 'Prefix used to differentiate between upload options and other options', 0, NULL, '2007-03-19 17:57:39', '2007-03-19 17:57:39', NULL, NULL);
    INSERT INTO `configuration` VALUES ('', 'Text prefix', 'TEXT_PREFIX', 'txt_', 'Prefix used to differentiate between text option values and other option values', 0, NULL, '2007-03-19 17:57:39', '2007-03-19 17:57:39', NULL, NULL);
    INSERT INTO `configuration` VALUES ('', 'Image Handler Version', 'IH_VERSION', '2.0', 'This is used by image handler to check if the database is up to date with uploaded image handler files.', 0, 100, NULL, '2007-06-06 16:47:03', NULL, 'zen_cfg_textarea_small(');
    4. Click "Send" and hope nothing goes wrong!

    5. After I clicked "Send" I was presented with a plain white page with the following text and thought for sure I just wrecked everything!

    1062 Duplicate entry 'IH_VERSION' for key 2
    in:
    [INSERT INTO configuration VALUES ('', 'Image Handler Version', 'IH_VERSION', '2.0', 'This is used by image handler to check if the database is up to date with uploaded image handler files.', 0, 100, NULL, '2007-06-06 16:47:03', NULL, 'zen_cfg_textarea_small(');]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    6. Instead of going back with the BACK button, I went to the Admin home page (I had to log-in again).

    7. I went to my test product, tried to add it to the cart and Voila! "Sorry, you need to fill something in first!"

    Hope this helps if anyone has this same problem.

    Thanks again, Linda!

    Very sincerely,
    Rebekah
    Last edited by rebekah; 14 Dec 2008 at 08:07 PM. Reason: clarification
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

  8. #8
    Join Date
    Feb 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Requiring some text (attribute) when placing order...

    Rebekah you're a life saver :-) I had exactly the same problem, luckily I found your post at the first try which saved me countless hours of trying to figure this out. Thank you for sharing!
    Pixel Diva

  9. #9
    Join Date
    Dec 2009
    Posts
    58
    Plugin Contributions
    0

    Default Re: Requiring some text (attribute) when placing order...

    This fixed my issue with the "Required" option not working. Well done!

  10. #10
    Join Date
    Mar 2011
    Posts
    76
    Plugin Contributions
    0

    Default Re: Requiring some text (attribute) when placing order...

    the text attribute doesn't work correctly on 1.39h
    this bug has been found from 1.38, i wonder why it still be the problem on 1.39h?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Placing an Order without creating an account
    By misty16 in forum General Questions
    Replies: 2
    Last Post: 10 Jun 2008, 04:27 AM
  2. Help with placing text
    By peggy in forum Templates, Stylesheets, Page Layout
    Replies: 27
    Last Post: 11 Feb 2008, 11:43 AM
  3. requiring credit card for free order
    By lattaway in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 28 Jul 2006, 02:31 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
  •