Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Nov 2011
    Posts
    71
    Plugin Contributions
    0

    Default Re: Attribute Required for Text flag not working

    Having the same problem, tried the fix, got these errors:
    Failed: 3
    ERROR: Cannot insert configuration_key "PRODUCTS_OPTIONS_TYPE_SELECT" because it already exists
    ERROR: Cannot insert configuration_key "UPLOAD_PREFIX" because it already exists
    ERROR: Cannot insert configuration_key "TEXT_PREFIX" because it already exists

    ZC v1.3.9.
    IH3

    Still doesn't work, help!

  2. #12
    Join Date
    Apr 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: Attribute Required for Text flag not working

    I am running 1.5.0 and am having the same issues. I tried the fix located earlier in this thread and received:

    Error Failed: 3
    Error ERROR: Cannot insert configuration_key "PRODUCTS_OPTIONS_TYPE_SELECT" because it already exists
    Error ERROR: Cannot insert configuration_key "UPLOAD_PREFIX" because it already exists
    Error ERROR: Cannot insert configuration_key "TEXT_PREFIX" because it already exists
    Warning Note: 3 statements ignored. See "upgrade_exceptions" table for additional details.

    I am still allowed to add products of a particular attribute name with "not required" selected. Are my attributes setup wrong? For example I have a product that comes in two colors; black and white. I have an attribute value black and white (both are marked as required) and a third, default, attribute value of "-----------" not marked as required. I am looking to have Zen Cart prohibit the "----------" value from being added into the cart to make sure that the user selects a specific color.

    I would appreciate any help on this, thanks.

    Todd

  3. #13
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,681
    Plugin Contributions
    6

    Default Re: Attribute Required for Text flag not working

    Set the Black and White to Not Required ...

    Set the --------- to Required and Display Only

    Now the customer has to pick Black or White or they cannot add it to the cart ...
    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 ...

  4. #14
    Join Date
    Apr 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: Attribute Required for Text flag not working

    Quote Originally Posted by Ajeh View Post
    Set the Black and White to Not Required ...

    Set the --------- to Required and Display Only

    Now the customer has to pick Black or White or they cannot add it to the cart ...
    Typical, I was doing it wrong the whole time. Thank you, thank you, thank you. Works perfectly.

    Todd

  5. #15
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,479
    Plugin Contributions
    121

    Default Re: Attribute Required for Text flag not working

    Following up on the original post with fix suggestions:

    a) Have a separate "uninstall" utility.

    b) If you want to use the code shown above to cleanup before your install SQL, just qualify it by doing the deletes "where configuration_id != 0", e.g.

    Code:
    SET @t4=0;
    SELECT (@t4:=configuration_group_id) as t4
    FROM configuration_group
    WHERE configuration_group_title= 'Fual Slimbox';
    DELETE FROM configuration WHERE configuration_group_id = @t4 AND configuration_group_id != 0;
    DELETE FROM configuration_group WHERE configuration_group_id = @t4 AND configuration_group_id != 0;
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. "Attribute Required for Text" - what would make it stop working?
    By aaelghat in forum Setting Up Categories, Products, Attributes
    Replies: 52
    Last Post: 1 Nov 2011, 04:33 AM
  2. "Attribute Required for Text" not working...
    By aaelghat in forum General Questions
    Replies: 0
    Last Post: 21 Jun 2007, 09:59 PM
  3. Marking required text attribute fields with an * or (required)?
    By fepb in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 3 Mar 2007, 07:54 AM
  4. required attribute not working 1.3.6
    By kookiewookie in forum Setting Up Categories, Products, Attributes
    Replies: 12
    Last Post: 9 Feb 2007, 10:44 AM
  5. Required attribute not working
    By Dashizna in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 22 Sep 2006, 11:52 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
  •