Forums / Setting Up Categories, Products, Attributes / Single Attribute defaults to radio button.

Single Attribute defaults to radio button.

Locked

Views: 617

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
9 Nov 2010, 12:59 PM
#1
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Single Attribute defaults to radio button.

Hi I have a cart that require all attributes to show as a dropdown list. However some only have 1 attribute and these default to a radio button. Anybody any ideas on how to get it to default to a dropdown even if there is only one attribute to select?

Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk

9 Nov 2010, 1:24 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Single Attribute defaults to radio button.

Anybody any ideas on how to get it to default to a dropdown even if there is only one attribute to select?
There is nothing to drop down....
If these are "required" you could add a "please choose" or "select" option

Zen-Venom Get Bitten

9 Nov 2010, 2:52 PM
#3
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Single Attribute defaults to radio button.

ok how would I add this in for all dropdown menus? Bearing in mind all attributes have now been assigned to products.

Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk

9 Nov 2010, 3:08 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Single Attribute defaults to radio button.

create an option value as select or your choosen description
Add it to the single option items with a sort order to have it first and mark it as Default Attribute
to be Marked Selected:

Zen-Venom Get Bitten