Author Topic: Simple Example : t-shirt with colors and sizes with CHILD products  (Read 4156 times)

ereallstaff

  • Jr. Member
  • **
  • Posts: 147
  • InnovaIlweb CEO
Simple Example : t-shirt with colors and sizes with CHILD products
« 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ì
Try out our new joomla background rotator ( for joomla 1.x or 2.x), for only 14,99 eur @ innovailweb.it

ereallstaff

  • Jr. Member
  • **
  • Posts: 147
  • InnovaIlweb CEO
Re: Simple Example : t-shirt with colors and sizes with CHILD products
« Reply #1 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ì
Try out our new joomla background rotator ( for joomla 1.x or 2.x), for only 14,99 eur @ innovailweb.it


ereallstaff

  • Jr. Member
  • **
  • Posts: 147
  • InnovaIlweb CEO
Re: Simple Example : t-shirt with colors and sizes with CHILD products
« Reply #3 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ì
Try out our new joomla background rotator ( for joomla 1.x or 2.x), for only 14,99 eur @ innovailweb.it


ereallstaff

  • Jr. Member
  • **
  • Posts: 147
  • InnovaIlweb CEO
Re: Simple Example : t-shirt with colors and sizes with CHILD products
« Reply #5 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ì
Try out our new joomla background rotator ( for joomla 1.x or 2.x), for only 14,99 eur @ innovailweb.it

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2657
Re: Simple Example : t-shirt with colors and sizes with CHILD products
« Reply #6 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.

ereallstaff

  • Jr. Member
  • **
  • Posts: 147
  • InnovaIlweb CEO
Re: Simple Example : t-shirt with colors and sizes with CHILD products
« Reply #7 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ì
Try out our new joomla background rotator ( for joomla 1.x or 2.x), for only 14,99 eur @ innovailweb.it

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2657
Re: Simple Example : t-shirt with colors and sizes with CHILD products
« Reply #8 on: September 26, 2013, 18:08:45 pm »
Catproduct and T-shirt extension from Balai.

ereallstaff

  • Jr. Member
  • **
  • Posts: 147
  • InnovaIlweb CEO
Re: Simple Example : t-shirt with colors and sizes with CHILD products
« Reply #9 on: September 26, 2013, 18:11:48 pm »
Ok thanks I will check
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ì
Try out our new joomla background rotator ( for joomla 1.x or 2.x), for only 14,99 eur @ innovailweb.it

balai

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1371
Re: Simple Example : t-shirt with colors and sizes with CHILD products
« Reply #10 on: September 27, 2013, 10:27:03 am »
Hi

Did you try the built in stockable variants plugin?

ereallstaff

  • Jr. Member
  • **
  • Posts: 147
  • InnovaIlweb CEO
Re: Simple Example : t-shirt with colors and sizes with CHILD products
« Reply #11 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ì
Try out our new joomla background rotator ( for joomla 1.x or 2.x), for only 14,99 eur @ innovailweb.it