Forums / Setting Up Categories, Products, Attributes / radio button checked when shouldn't be

radio button checked when shouldn't be

Locked

Views: 2,372

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
17 Sep 2008, 5:07 PM
#1
domsmom avatar

domsmom

New Zenner

Join Date:
Jun 2008
Posts:
18
Plugin Contributions:
0

radio button checked when shouldn't be

My radio buttons are selected when in the Attributes Controller I have selected "No" in the "Default Attribute to be Marked Selected" in the Attributes Flags section.

I looked at the HTML source for the page, and here's what I found:

<input type="radio" name="id[13]" value="21" checked="checked"

Is there somewhere else I need to change that selection?

Here's a link to the page:

http://www.westcoastwhoopies.com/shop/index.php?main_page=product_info&cPath=12&products_id=8

Thanks!

17 Sep 2008, 6:59 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: radio button checked when shouldn't be

Looks like what you did is make 3 Option Names and 1 Option Value for each ...

What you really want to do is make 1 Option Name with 3 Option Values and set the settings for them when you add/edit them to which should be the default ...

I also recommend adding an extra Option Value such as:
Pick one
Default YES
Display Only YES
Sort Order 0

and then this forces the customer to pick a valid choice and not accidentally pick whatever is the default which might be wrong for what they really meant to order vs what they ordered ... you shipped ... they complained ... they returned it ... and said forget the order altogether ... :eek:

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 Jun 2009, 4:29 AM
#3
viss avatar

viss

New Zenner

Join Date:
Jun 2006
Posts:
38
Plugin Contributions:
0

Re: radio button checked when shouldn't be

Bah im having the same problem here, Ill take you through the steps I did so you can tell me where I went wrong.

Ok Step 1 Admin > Catalog > Option name manager:

Created Option name = Data Backup, Order 1 and type radio button

Step 2 Admin > Catalog > Option Value Manager:

Option Name: selected DataBackup from the dropdown
en: Select for Data Backup
order: blank

Step 3 Admin > Catalog > Attributes Controller:

Selected Services from dropdown menu
Selected Format and relload and clicked display
Then

ADDING NEW ATTRIBUTES

Selected: Data Backup [Radio] from pulldown list
Option Value I selected : Select for Data Backup [Data Backup]
Prices and Weights
+30.00 and

Used for display = NO
Attribute is free = YES
Default Attribute = NO
Apply discounts = YES
Include in Base = YES
Attribute required = NO

I have read up on this I have followed guides I have serched and for the life of me I cant get the radio button to uncheck, I know its a stupid mistake but I cant find it somone please help me here :no:

Page is https://www.compbits4u.com.au/services look at the format and reload.

Cheers Viss

3 Jun 2009, 1:36 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: radio button checked when shouldn't be

You have made separate Option Names with Option Values ...

You need to have 1 Option Name with multiple Option Values ... now you will be able to change from one Radio Button to the next ...

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 Jun 2009, 12:03 AM
#5
viss avatar

viss

New Zenner

Join Date:
Jun 2006
Posts:
38
Plugin Contributions:
0

Re: radio button checked when shouldn't be

Ajeh:

You have made separate Option Names with Option Values ...

You need to have 1 Option Name with multiple Option Values ... now you will be able to change from one Radio Button to the next ...

Hi Linda,

Sorry for being stupid here but I dont understand :no:

Viss

4 Jun 2009, 2:43 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: radio button checked when shouldn't be

You have:
Option Name: Driver Install
Option Value: Select for Addiional Drivers Install (+$49.50)

Option Name: Data Backup
Option Value: Select for Data Backup (+$33.00)

But you do not have alternative Option Values ...
Option Name: Driver Install
Option Value: None

Option Name: Data Backup
Option Value: None

which I would set as:
Sort Order 0
Default 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 Jun 2009, 11:15 PM
#7
viss avatar

viss

New Zenner

Join Date:
Jun 2006
Posts:
38
Plugin Contributions:
0

Re: radio button checked when shouldn't be

Ahhh yes yes thanks for making it clear for me yes I understand thanks for the help :smile:

Viss

5 Jun 2009, 3:51 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: radio button checked when shouldn't be

Thanks for the update that you have this working now ... :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!