News:

Support the VirtueMart project and become a member

Main Menu

Can't figure out how to make dropdown custom field

Started by JimL, December 15, 2011, 16:57:16 PM

Previous topic - Next topic

JimL

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.

robbluther

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.


JimL

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.

JimL

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:


If I remove the "spillernummer" custom field from the product then the input field for the other custom field magically appears.

Tomi

I have the same question here... Two custom input text field won't work.

Does anybody have a hint about this?