VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: kriss-ns on April 29, 2013, 15:18:17 PM

Title: Add custom field to child product
Post by: kriss-ns on April 29, 2013, 15:18:17 PM
Hi,

I have product with child product, every child should have a different size, but when assigning a custom field to child product and press save, the field is not assigned.

the product schema:
   shoe (has price)
     + shoe size: 8
     + shoe size: 9
      .....

How to do this?
Title: Re: Add custom field to child product
Post by: K&K media production on April 29, 2013, 17:35:26 PM
on the top of the custom fields tab enable the checkbox "Overwrite plugin values of the parent"
Title: Re: Add custom field to child product
Post by: kriss-ns on April 30, 2013, 09:00:57 AM
Quote from: kkmediaproduction on April 29, 2013, 17:35:26 PM
on the top of the custom fields tab enable the checkbox "Overwrite plugin values of the parent"

If I do that, i lose the "Generic child variant" dropdown of all child products.
I migrated a VM1 shop to VM2, in VM1 there is a dropdown that lists all the child product, but in the dropdown the "size" is displayed in the dropdown title, like:

Generic child variant:
product - cust.field - price
---------------------------------
Shoe 01 - Str (9) - $39.99
Shoe 02 - Str (10) - $39.99
Shoe 03 - Str (11) - $39.99

Is there a way to replicate that logic?
Title: Re: Add custom field to child product
Post by: K&K media production on April 30, 2013, 10:25:58 AM
atm you can use either all customs from the parent or only own customs for the childs

it is changed in VirtueMart 2.2