Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31
  1. #11
    Join Date
    Dec 2005
    Location
    Maidstone, Kent, UK
    Posts
    339
    Plugin Contributions
    3

    Default Re: Making Attributes Manditory

    I have a slightly similar problem.

    My client is offering purchased in specified quantities, 10 packs, 50 packs, 100 packs etc so they have attributes for each product, around 5 per product.

    The client needs to be able to select multiples from these attriburts to make up the number they want to order.

    Eg. Select 200 packs + 50 packs to order 250 packs.

    Because of this they are setup as checkboxes, since nothing else would allow this, however, if the client just hits add to cart then it add the product, no value to it nor any numebr of items are added.

    This is of course not a good thing, however by the same token I do not want to set a default to it either, more because they have 100s of products and it would take an age to do.

    Can anyone help me work out how to simply dissable the add to cart button from working properly until a selection has been made, but still have the button clickable with a popup window telling them they need to make a selection.

    Many thanks
    My only addon is Gallery addon and can be seen here breezy

  2. #12
    Join Date
    Jun 2006
    Posts
    128
    Plugin Contributions
    0

    Default Re: Making Attributes Manditory

    Would there be a way to make a text option madatory? So if you require a certain text field to be filled in, they couldn't add to cart unless it was?

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

    Default Re: Making Attributes Manditory

    On the Attribute is a checkbox for:
    Attribute Required for Text:
    No Yes
    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. #14
    Join Date
    Jun 2006
    Posts
    128
    Plugin Contributions
    0

    Default Re: Making Attributes Manditory

    Thanks, Ajeh, but it's not working for us.

    We have a 1.3.8a cart and when we require the text attribute via the attribute controller, it has no effect whatsoever.

    Example:
    http://designmycart.com/1-column-bis...ness-p-79.html

    The "Store URL (Required)" field. You can leave it empty and still add to cart.

    We do have the mod "Improved Attributes Controller" installed, would that make any difference? The radio button to make text required is still there and it's checked.

  5. #15
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Making Attributes Manditory

    You would probably get more information in the support thread for that mod, sisce it changes some standard functionality.

  6. #16
    Join Date
    Jun 2006
    Posts
    128
    Plugin Contributions
    0

    Default Re: Making Attributes Manditory

    Thanks Glen, but there doesn't appear to be a specific support thread for the Improved Attributes Controller after doing a search here. There isn't one listed with the add-on description on the download page either.

    The only thing that mod was meant to do was improve the way the attribute choices are displayed in the admin dropdown boxes on the attribute controller page:

    "This module changes the way the dropdown select fields work on the Attributes Controller Page. The content of the second dropdown (option values) is now dependant upon the content of the first dropdown (option names), so you will only see values that apply to the selected option name. Javascript is used to avoid having the page reload when you make that selection in the first box. "

    So I can't see where it would affect the radio button for making text madatory.

    Edited to add:
    I just remembered that I have that mod installed on my other cart (which is a 1.3.0.2 cart) and I just tested making text mandatory there. It worked just fine with that same mod installed.

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

    Default Re: Making Attributes Manditory

    I am not sure if this is related to the tabbed add on that you are using or not ...

    You can try to switch to Classic Template to see if it works, if so, that would help narrow down the problem ...
    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. #18
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Making Attributes Manditory

    OK then, that sounds like an odd problem and I have no idea why it would be doing that.

  9. #19
    Join Date
    Jun 2006
    Posts
    128
    Plugin Contributions
    0

    Default Re: Making Attributes Manditory

    I tried out the classic green template temporarily and same thing. Making text required has no effect.

    The fact that it works on my other cart and not on this one bugs me. Both carts have nearly all the same mods installed so I have no clue what's going on.

    We've gotten along all this time without being able to require text fields, so I guess it will suffice. As you can see we dealt with it as best we can by putting "(required)" after the option name, but some folks continue to ignore that. It would just be nice if it actually worked.

    And I hate not being able to figure stuff out.

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

    Default Re: Making Attributes Manditory

    Turn off the SEO stuff for giggles and grins ... anything?

    I do not believe bug fix #24 will do anything for this ... but what the heck:
    http://www.zen-cart.com/forum/showthread.php?p=697924
    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!

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Making attributes required
    By kdipaolo in forum General Questions
    Replies: 2
    Last Post: 4 Jan 2012, 07:08 PM
  2. manditory choice
    By stitchnkitty in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 22 Sep 2011, 10:22 PM
  3. Manditory Attributes
    By Advantage Online in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Mar 2010, 05:50 PM
  4. Sub-attributes? Making attributes of attributes appear based on which you select?
    By pioupioun in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Jun 2006, 11:34 PM

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