Forums / General Questions / Attribute checkbox

Attribute checkbox

Views: 1,281

Results 1 to 13 of 13
27 Oct 2011, 4:38 PM
#1
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

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?

27 Oct 2011, 5:26 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!

27 Oct 2011, 5:53 PM
#3
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

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?

27 Oct 2011, 6:21 PM
#4
jerr avatar

jerr

New Zenner

Join Date:
Sep 2010
Location:
California
Posts:
22
Plugin Contributions:
0

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

27 Oct 2011, 7:12 PM
#5
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

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! :D

27 Oct 2011, 8:54 PM
#7
jerr avatar

jerr

New Zenner

Join Date:
Sep 2010
Location:
California
Posts:
22
Plugin Contributions:
0

Re: Attribute checkbox

Glock ,Thats looks great.

Thank you.

jer37

27 Oct 2011, 9:33 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attribute checkbox

Glock1:

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

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!

28 Oct 2011, 12:57 AM
#9
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

Re: Attribute checkbox

Ajeh:

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?

28 Oct 2011, 12:59 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!

28 Oct 2011, 1:32 AM
#11
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

Re: Attribute checkbox

Got it. You have to select a product that already has the attribute.

I can only copy to a category that has products in it, not another category under it. That's okay though. It does what I need. :) Thank You!

28 Oct 2011, 1:41 AM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attribute checkbox

Thanks for the update that this was able to work ... :smile:

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!

22 Nov 2011, 10:32 PM
#13
jerr avatar

jerr

New Zenner

Join Date:
Sep 2010
Location:
California
Posts:
22
Plugin Contributions:
0

Re: Attribute checkbox

Jerr:

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

OK, I have the Numinix module working now but it is good for groups only. I need the fee to be added by state. Ca as an example charges a retailer 1.75 per tire sold. I want to pass that on to the customer by State.

I have tried the State_zone_ shipping module but that wont work because it is for shipping unless it can be modified to add to the total as an extra shipping cost.

jer37

Right now I am testing this on 1.3.9e but will add it to a modified 1.3.9g version later. :ohmy: