VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: ereallstaff on September 20, 2013, 17:43:47 PM

Title: Simple Example : t-shirt with colors and sizes with CHILD products
Post by: ereallstaff on September 20, 2013, 17:43:47 PM
Hello everybuddy. Googled everywhere, I found only tons of troubles about child variants but not an usage tutorial :DD

I am on virtuemart 2.0.22c on latest joomla 2.54

I need following behaviour: have some t-shirts , create some color and adding size.  On all products ( parent and children ) , I wish to have always all Colors available  so customer can change. So when I am on children product red , I see also yellow and vice versa.

1. Created Parent Product

2. Create custom field "Color Variant" with type: Generic Child Variant

3. Saved and created colors Yellow and Red . Gone to respective children and set stock to 1 and 2 respectively.

Now product parent appears, and description is overridden correctly like in :

http://www.modacalcio.it/it/component/virtuemart/3619/3619/product-parent-detail.html?Itemid=0

4- I have a custom field type String, Cart attribute yes : Size .  I want to add sizes to children products. So I select in children products to overwrite parents value , but on backend I see only Color Variant as above and I can't add any custom field on each children.

Now sizes are displayed correctly inside children ( yellow or red ) but when I am on children I don't see other colors.

Where am I wrong?

Thanks
Title: Re: Simple Example : t-shirt with colors and sizes with CHILD products
Post by: ereallstaff on September 22, 2013, 11:48:25 AM
Reading at the manual , in its exaustive ( ;D ;D ) explanation of product child creation I read that in mine virtuemart2 version binary

FOR VIRTUEMART 2.0.X - Either all customfields are overwritten, or none.

http://docs.virtuemart.net/manual/17-products-menu/33-product.html

So that means that my specification require some more template modification ?

Thanks
Title: Re: Simple Example : t-shirt with colors and sizes with CHILD products
Post by: Maxim Pishnyak on September 22, 2013, 13:13:29 PM
http://forum.virtuemart.net/index.php?topic=117884.0
Title: Re: Simple Example : t-shirt with colors and sizes with CHILD products
Post by: ereallstaff on September 22, 2013, 13:22:42 PM
Thanks!!

That plugin is nice but it's not what I need unfortunately

I need child products behaviour, to control stock, sizes and so on.

I need just to display the parent option dropdown in each children. Is really that weird needing :D

Thanks
Title: Re: Simple Example : t-shirt with colors and sizes with CHILD products
Post by: Maxim Pishnyak on September 22, 2013, 15:05:38 PM
http://translate.google.com.ua/translate?client=firefox-a&hl=en&ie=UTF8&oe=UTF8&u=http://kitoraga.com/blog/dochernie-tovary-i-nastraivaemye-polya-v-virtuemart-2.html
Title: Re: Simple Example : t-shirt with colors and sizes with CHILD products
Post by: ereallstaff on September 22, 2013, 15:58:45 PM
Nice,  wondering why they don't write in English too and many thanks for the link.

This require hacking core code, this could be a needed feature,  could we dome a pull request maybe for next release.

Can I implement this solution with a plugin maybe or an external override of that method.

Thanks again
Title: Re: Simple Example : t-shirt with colors and sizes with CHILD products
Post by: Maxim Pishnyak on September 26, 2013, 13:40:21 PM
You're welcome. There two partial 3rd party solutions for this. Such hack could be wisely customized. So it's not easy to implement it as standard. Same for addtocart-in-category feature for example.
Title: Re: Simple Example : t-shirt with colors and sizes with CHILD products
Post by: ereallstaff on September 26, 2013, 13:42:01 PM
Hello and thanks again for the reply

Which are those 3rd party plugins?

I did'nt find them googling

thanks
Title: Re: Simple Example : t-shirt with colors and sizes with CHILD products
Post by: Maxim Pishnyak on September 26, 2013, 18:08:45 PM
Catproduct and T-shirt extension from Balai.
Title: Re: Simple Example : t-shirt with colors and sizes with CHILD products
Post by: ereallstaff on September 26, 2013, 18:11:48 PM
Ok thanks I will check
Title: Re: Simple Example : t-shirt with colors and sizes with CHILD products
Post by: balai on September 27, 2013, 10:27:03 AM
Hi

Did you try the built in stockable variants plugin?
Title: Re: Simple Example : t-shirt with colors and sizes with CHILD products
Post by: ereallstaff on September 27, 2013, 10:29:40 AM
Hello Balai, thanks for your extension

I still haven't trial, but it's another solution I am considering