VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: lindapowers on November 11, 2015, 15:42:17 PM

Title: Values with custom field String
Post by: lindapowers on November 11, 2015, 15:42:17 PM
Hello

We are testing vm 3.0.12 but tried this in 3.0.10 with same result.

The doubt is the following:

(http://s30.postimg.org/eg13m5qrl/vmstring.jpg)

As you can see values are not taken, instead all appear in one line.


This is caused by setting "Is a list" to NO - inside the custom field parameters.


So you may think, ok set "is a list to" to YES but that will create a dropdown for each option.

However after reading this: http://www.gjcwebdesign.com/joomla-virtuemart-tips/793-virtuemart-3-add-a-simple-cart-select-variant-by-custom-fields.html

Mr GJC actually doesnt add any values in "default value" so was this concept changed, its been long since we didnt use string custom field but we used to add values in "default value" and they were taken from there.


Regards

Edit by Mod: Official manual is here http://docs.virtuemart.net/tutorials/product-creation/81-product-custom-fields-without-stock-control.html
Title: Re: Values with custom field String
Post by: Studio 42 on November 11, 2015, 22:31:40 PM
Hi Manu,
YOu should set "Is a list" to as Adminlist, if you need a back-end list of value only on product edition.
Title: Re: Values with custom field String
Post by: lindapowers on November 12, 2015, 15:24:23 PM
Thanks Patrick! that made it, I finally understand what that "as adminlist" is.

Regards
Title: Re: Values with custom field String
Post by: Milbo on November 16, 2015, 10:13:54 AM
Please check this manual if it is understandable for you http://docs.virtuemart.net/tutorials/product-creation/81-product-custom-fields-without-stock-control.html
Title: Re: Values with custom field String
Post by: lindapowers on November 16, 2015, 13:35:30 PM
Quote"You can even use language keys for multilingual stores.
When the list type "As Adminlist" is selected, then the list is available as dropdown in the product edit and displays the selected value in the frontend.

It is even possible to use custom fields with "As Adminlist" and "cart input" to create new selectable list, and any option is selectable by a dropdown. This feature reduces typos a lot."

Yep nice work there, makes sense and much easier to understand.

Regards
Title: Re: Values with custom field String
Post by: aftertaf on October 16, 2017, 20:26:40 PM
Quote from: lindapowers on November 16, 2015, 13:35:30 PM
Quote"You can even use language keys for multilingual stores.
When the list type "As Adminlist" is selected, then the list is available as dropdown in the product edit and displays the selected value in the frontend.

It is even possible to use custom fields with "As Adminlist" and "cart input" to create new selectable list, and any option is selectable by a dropdown. This feature reduces typos a lot."

Yep nice work there, makes sense and much easier to understand.

Regards

Hi :
where did you quote from?
I'm interested in making the lists multilingual if it is at all possible...
Title: Re: Values with custom field String
Post by: Studio 42 on October 16, 2017, 22:13:22 PM
Quote from: aftertaf on October 16, 2017, 20:26:40 PM
Hi :
where did you quote from?
I'm interested in making the lists multilingual if it is at all possible...
Use Joomla KEYS
and add language overides in Joomla
en-GB
COLOR_RED="red"
fr-FR
COLOR_RED="Rouge"
...
If you use this in the customfield list, then it's translated(or should).