VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: jaycfc123007 on January 10, 2012, 21:26:37 PM

Title: Custom Fields > Simple Drop down list containing Small, Medium, Large
Post by: jaycfc123007 on January 10, 2012, 21:26:37 PM
hi guys,

I'm new to Virtuemart 2.0. This seems a really simple thing to want to do but for the life of me I can't see how. Basically I want a product lets say a ring. And then a drop down menu that the customer would choose Small, Medium or Large size.

Hopefully this is a really simple fix. Help would be much appreciated. I have looked at similar queries like the one that has the picture attached and the AJAX code but I cant seem to get that.

eternally grateful !
Title: Re: Custom Fields > Simple Drop down list containing Small, Medium, Large
Post by: OpenGlobal on January 11, 2012, 10:50:13 AM
This seems to be one of the most frequently asked questions about VM 2.0. It seems that dropdown lists just don't work. In fact, custom fields pretty much don't work.

I'm sorry to say that they've accidentally released an alpha state product as version 2.0. This version is sooo promising, but they've released it just a bit too early.

Title: Re: Custom Fields > Simple Drop down list containing Small, Medium, Large
Post by: PRO on January 11, 2012, 10:58:35 AM
http://forum.virtuemart.net/index.php?topic=90833.msg298101#msg298101
Title: Re: Custom Fields > Simple Drop down list containing Small, Medium, Large
Post by: jaycfc123007 on January 11, 2012, 11:01:37 AM
Thanks for the link. Thats the one I referred to in my post. I can't get the AJAX code at the bottom.  Thanks for your time though.
Title: Re: Custom Fields > Simple Drop down list containing Small, Medium, Large
Post by: PRO on January 11, 2012, 11:03:25 AM
what browser?

have you tried firefox or IE?
Title: Re: Custom Fields > Simple Drop down list containing Small, Medium, Large
Post by: jaycfc123007 on January 11, 2012, 12:53:58 PM
Again thanks for the quick response, much appreciated.

I have done a quick screen capture video showing that I'm using Firefox , please see http://www.mecmesincorp.com/Custom_Fields.mp4, Now all I want is a simple drop down giving the customer three options. Small, medium, large. I'm obviously missing something and would be very grateful for any help.

thanks again
Title: Re: Custom Fields > Simple Drop down list containing Small, Medium, Large
Post by: PRO on January 11, 2012, 13:11:14 PM
http://forum.virtuemart.net/index.php?topic=90833.msg298101#msg298101

^^ please look at that picture.

Title: Re: Custom Fields > Simple Drop down list containing Small, Medium, Large
Post by: jaycfc123007 on January 11, 2012, 17:00:07 PM
ah brillant! thanks

works a charm. A little issue though,  it writes "Free" when I dont set a value or I set a value to 0, can this be removed? so it just says Small, medium or large?

thanks again. much appreciated.
Title: Re: Custom Fields > Simple Drop down list containing Small, Medium, Large
Post by: jjk on January 11, 2012, 20:16:19 PM
Quote from: jaycfc123007 on January 11, 2012, 17:00:07 PM
it writes "Free" when I dont set a value or I set a value to 0, can this be removed? so it just says Small, medium or large?

The key/string has recently been changed in the SVN version to:
COM_VIRTUEMART_CART_PRICE_FREE="No additional charge"
which I think makes more sense. You could also change it to something like "+$0.00"
It's in the frontend and backend en-GB.com_virtuemart.ini files.