News:

Looking for documentation? Take a look on our wiki

Main Menu

Simple Example : t-shirt with colors and sizes with CHILD products

Started by ereallstaff, September 20, 2013, 17:43:47 PM

Previous topic - Next topic

ereallstaff

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

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

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

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

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.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

ereallstaff

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

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

ereallstaff

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ì
Try out our new joomla background rotator ( for joomla 1.x or 2.x), for only 14,99 eur @ innovailweb.it

balai


ereallstaff

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