Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Sep 2011
    Posts
    113
    Plugin Contributions
    0

    Default Attribute checkbox

    I need to add a check box on certain products (ammunition, knives, and guns) that a user MUST check before adding to cart. The box will be the customers way of stating they are over 21 in order to purchase. I have other checks in place and I know this is weak but it is required as a precaution. How do I add that attribute?

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

    Default Re: Attribute checkbox

    You would be better using a Radiobutton with the choices of YES and No as the Option Values ...

    Set NO to be:
    Display Only YES
    Default YES
    Sort Order 0

    Now if they say NO, the Product cannot be added 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!]
    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
    Sep 2011
    Posts
    113
    Plugin Contributions
    0

    Default Re: Attribute checkbox

    That will work perfectly. I cant seem to add it though. I think I am doing something wrong. Is there a tutorial on adding attributes?

  4. #4
    Join Date
    Sep 2010
    Location
    California
    Posts
    22
    Plugin Contributions
    0

    Default Re: Attribute checkbox

    I am more or less in the same boat. I need a good tutorial for attributes unless I am on the wrong track. I need to add an environmental fee for tires. Tires sold in CA. All I am selling is tires so i would like the fee added to each tire individually. I can easily just add the fee to the database as I update and load it but that will be a little time consuming. I would like it to be auto. I have tried or I am trying to use numinix modules at this time but they seem to be overkill for what I want.

    Help or suggestions appreciated.

    jer37

    site url: http://tireup.net

  5. #5
    Join Date
    Sep 2011
    Posts
    113
    Plugin Contributions
    0

    Default Re: Attribute checkbox

    Got it! Thanks! Now I just have to figure out how to apply it to all products in a category at one time!

  6. #6
    Join Date
    Sep 2011
    Posts
    113
    Plugin Contributions
    0

    Default Re: Attribute checkbox

    Jerr,
    after some more detailed searching I found this. It helped me alot.

    https://www.zen-cart.com/tutorials/index.php?article=57

  7. #7
    Join Date
    Sep 2010
    Location
    California
    Posts
    22
    Plugin Contributions
    0

    Default Re: Attribute checkbox

    Glock ,Thats looks great.

    Thank you.

    jer37

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

    Default Re: Attribute checkbox

    Quote Originally Posted by Glock1 View Post
    Got it! Thanks! Now I just have to figure out how to apply it to all products in a category at one time!
    Thanks for the update that you have this working ...

    In case you are still looking, the Attributes Controller does have a Copy To Category that might help you ...
    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!

  9. #9
    Join Date
    Sep 2011
    Posts
    113
    Plugin Contributions
    0

    Default Re: Attribute checkbox

    Quote Originally Posted by Ajeh View Post
    Thanks for the update that you have this working ...

    In case you are still looking, the Attributes Controller does have a Copy To Category that might help you ...
    ok, I cant find that. How do I do that?

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

    Default Re: Attribute checkbox

    Go to the Attributes Controller ...

    Find the Product with the Attributes you want to copy ...

    At the top is a button to Copy to Categories which will copy ALL attributes of the current Product to ALL the Products in the Category that you select ...
    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 1 of 2 12 LastLast

Similar Threads

  1. checkbox attribute not working
    By Sushigal in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Feb 2011, 02:31 PM
  2. Attribute Checkbox Under Pictures?
    By gabstero in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Nov 2010, 06:55 PM
  3. Cart attribute checkbox spacing
    By Prime in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Aug 2009, 07:52 AM
  4. Mandatory CheckBox attribute
    By TomCZ in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 17 Feb 2007, 06:30 PM
  5. Checkbox Attribute Problem
    By TeddyGirl in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 6 Dec 2006, 12:38 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