VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: JimL on December 15, 2011, 16:57:16 PM

Title: Can't figure out how to make dropdown custom field
Post by: JimL on December 15, 2011, 16:57:16 PM
I have set it up like this

QuoteCustom Field Type: Parent
Title: Size
Published: yes
Cart Attribute: yes

Custom Field Type: String
Title: small
Parent: Size
Published: yes
Cart Attribute: yes

Custom Field Type: String
Title: medium
Parent: Size
Published: yes
Cart Attribute: yes

Custom Field Type: String
Title: large
Parent: Size
Published: yes
Cart Attribute: yes

Then gone to Product - Custom Fields - Custom Field Type, and added the custom field parent. All the custom fields show up and it looks ok.

But how in gods name do I make this appear as a dropdown menu? Whatever I choose in cart-attribute, is list, etc it only shows up as individual radio buttons.
(http://img641.imageshack.us/img641/7729/84044404.jpg)
Title: Re: Can't figure out how to make dropdown custom field
Post by: robbluther on December 16, 2011, 16:35:13 PM
Only create the Custom Field Type once. 

Goto your product and Select THAT custom filed size type you need.

After you do that, you can modify the value / price.
Title: Re: Can't figure out how to make dropdown custom field
Post by: PRO on December 16, 2011, 16:42:52 PM
http://forum.virtuemart.net/index.php?topic=90833.msg298101#msg298101
Title: Re: Can't figure out how to make dropdown custom field
Post by: JimL on December 17, 2011, 01:07:19 AM
Ok, got it.

I can now make different values with radio buttons that will only allow one selection

Is it not possible to have this displayed as a drop down menu instead of the radio buttons? I think 10 radio buttons under eachother just look cluttered.
Title: Re: Can't figure out how to make dropdown custom field
Post by: JimL on December 17, 2011, 01:44:32 AM
Is it possible to have two custom user input text fields? As it is now if I add two plugin-userinput-textfields to a product then it will show all the text but only one text field. like this:
(http://img600.imageshack.us/img600/7981/84609237.jpg)

If I remove the "spillernummer" custom field from the product then the input field for the other custom field magically appears.
(http://img97.imageshack.us/img97/1140/37754691.jpg)
Title: Re: Can't figure out how to make dropdown custom field
Post by: Tomi on December 26, 2011, 12:12:43 PM
I have the same question here... Two custom input text field won't work.

Does anybody have a hint about this?