VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: virtue111 on October 27, 2011, 21:22:37 PM

Title: Setting Custom Fields within a Parent
Post by: virtue111 on October 27, 2011, 21:22:37 PM
We would like to make a custom field, with a preset of selections that will come with it. For simple sake let's say we want to make a "Color" variant, and have the options of "Red" "blue" and "green".

I have figured out how to get the Color attribute to show up on the product, and then I can type in "Red", "Blue", and "Green" into the Ajaxy fields. But we have a ton of products and don't want to have to go in and type them all manually.

Is there anyway to make "Color" a parent, and make "Red" "Blue" and "Green" be child items, so that they will always come up? And then we could use the Ajaxy thing to delete "Red" if we didn't want it for a certain product, or to add "Purple" if we needed it specifically for a product?

It seems like this should be easy to do, but we just can't get it to work.

I thought maybe adding the Parent item, and setting it to "Is a List" and then adding child items of "Strings" but this doesn't work either. Please help! :)
Title: Re: Setting Custom Fields within a Parent
Post by: zzsser on October 28, 2011, 14:12:58 PM
Same problem! Hos to add rapidly a field (colour) with all its variants (red, blue,...). By cloning an existing product, custom fiels are ignored, they are not cloned  :(  :(  :(
Title: Re: Setting Custom Fields within a Parent
Post by: balai on October 28, 2011, 15:22:50 PM
Interesting approach
Title: Re: Setting Custom Fields within a Parent
Post by: virtue111 on October 31, 2011, 14:43:51 PM
I still really need an answer for this. Is there really no way to do this? It seems like this would be the whole reason for adding the new functionality, otherwise we may as well just be typing them in for each product...
Title: Re: Setting Custom Fields within a Parent
Post by: Studio 42 on November 01, 2011, 05:31:48 AM
Hi,

Have to test why custom fields settings are not added on cloning.
Because is a object copy , it's strange this are not working
Title: Re: Setting Custom Fields within a Parent
Post by: virtue111 on November 04, 2011, 21:53:46 PM
Thank you for your response. Glad to find this isn't a "user error" :) We'd been messing with it off and on for a week.