VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: kok on October 08, 2013, 09:14:44 AM

Title: customfields - multiple select values in Product
Post by: kok on October 08, 2013, 09:14:44 AM
Hello!
I need to choose in Product - Custom Fields from the list multiple values.
I can in the "Custom Field Type" point "Is a list? - Yes" and in "Default" to list the values ​​of, for example, "D-SUB; DVI-I; DVI-A; DVI-D". At the same product I can choose only one from this list, but I need more, for example, "D-SUB and DVI-D". How do I do this?

for example:

  <form>
    <p><select multiple>
    <option>DVI-I</option>
    <option>...</option>
    </select></p>
  </form>


VM 2.0.24
J2.5
Title: Re: customfields - multiple select values in Product
Post by: Maxim Pishnyak on October 10, 2013, 22:01:44 PM
How this should be shown on the cart page? Your ideas?
Title: Re: customfields - multiple select values in Product
Post by: kok on October 11, 2013, 07:59:01 AM
I do not know :-(
I was planning to use this field to display in "productdetails".
In the section "customfields".
For example , the characteristic monitor " video interface connections" often contains multiple values ​​: DVI-I, DVI-D, D-sub.

For example in "productdetails":
-----
Monitor 1 :
Video interface connections : DVI-I, DVI-D, D-sub.
-----
Monitor 2 :
Video interface connections : D-sub.
-----
Monitor 3:
Video interface connections : DVI-I.
-----
etc.
-----

In my humble opinion , it would be more convenient for each product to choose from a list of several required values ​​, instead of manually entering values ​​in the text.

ps: sorry for my english.
Title: Re: customfields - multiple select values in Product
Post by: Maxim Pishnyak on October 11, 2013, 09:25:15 AM
Looks like 3 separate custom fields for me (one with dropdown list). Try it and post here url.
Title: Re: customfields - multiple select values in Product
Post by: kok on October 11, 2013, 15:24:16 PM
It seems that we do not understand each other :-(
I attach a screenshot.
# 1 - an example, multiple choice
# 2 - where to enable / disable the output?

[attachment cleanup by admin]
Title: Re: customfields - multiple select values in Product
Post by: Maxim Pishnyak on October 11, 2013, 18:43:56 PM
You should use a couple instances of 'Video interface connections' field there. And settings of 'Video interface connections' fields are?
Title: Re: customfields - multiple select values in Product
Post by: balai on October 12, 2013, 13:16:13 PM
Check the Custom Fields for all
http://breakdesigns.net/extensions/customfields-for-all

With that you enter your values only once.
If a value has already used at any of your products, you just select it.
Also you can assign multiple values easily
Title: Re: customfields - multiple select values in Product
Post by: kok on October 14, 2013, 07:54:33 AM
2Maxim Pishnyak: I did not understand your answer. :(

2balai: Yeah, I guess that's what I'm asking. thank you.