VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: antoniog360 on November 11, 2013, 12:11:43 PM

Title: Select element to display the values ​​of the custom field?
Post by: antoniog360 on November 11, 2013, 12:11:43 PM
Hello everyone,
I need to show the values ​​of a custom field in a select element.
I know I have to set as field_type S value (string) and that is_list must be set to 1, is_hidden is_cart_attribute = 0 and = 1.
I can not understand what am I doing wrong that is, if I have to use S instead of A for field_type and show that a select contega, for example, all the colors available and can be selected for an item of clothing.
Who will help me understand how to do it?
Title: Re: Select element to display the values ​​of the custom field?
Post by: balai on November 11, 2013, 12:53:59 PM
Use as type the cart variant and activate the cart attribute

Also for the colors you can have a look at this plugin
http://breakdesigns.net/extensions/customfields-for-all
Title: Re: Select element to display the values ​​of the custom field?
Post by: antoniog360 on November 11, 2013, 16:49:30 PM
You have a Free extension?

Quote from: balai on November 11, 2013, 12:53:59 PM
Use as type the cart variant and activate the cart attribute

Also for the colors you can have a look at this plugin
http://breakdesigns.net/extensions/customfields-for-all
Title: Re: Select element to display the values ​​of the custom field?
Post by: Maxim Pishnyak on November 11, 2013, 21:43:15 PM
Quote from: balai on November 11, 2013, 12:53:59 PM
Use as type the cart variant and activate the cart attribute
Was this helpful for you?
Title: Re: Select element to display the values ​​of the custom field?
Post by: PRO on November 12, 2013, 01:58:09 AM
http://forum.virtuemart.net/index.php?topic=90833.msg298101#msg298101