VirtueMart Forum

VirtueMart 2 + 3 => Product creation => Topic started by: dsrpmedia on March 09, 2012, 02:51:09 am

Title: child products with different size attributes
Post by: dsrpmedia on March 09, 2012, 02:51:09 am
I know this has been addressed, but I just don `t get it - none of the explanations I`ve found make sense to me.

In vm 1.1 it was so easy to add a child product with a specific attribute  - eg size

eg create a parent, say 'face cream' sku 'facecream' , then you would simply add an attribute 'Size', save then click on the product name in the following page - than add your children ('new item')

eg 'face cream' sku 'fc1' , attribute - size '15ml'   etc. eezee-peezee

someone was kind enough to post simple instructions here http://forum.virtuemart.net/index.php?topic=41605.0

I `ve been banging my head for days to get this to work in vm 2 but I`m at a loss

if someone could post some very easy to understand instructions for this I would really appreciate it.

Thank you
Title: Re: child products with different size attributes
Post by: mortensamon@gmail.com on March 11, 2012, 09:47:03 am
I have the same problem.

The "new" custom fields thing doesn't make any sence
Title: Re: child products with different size attributes
Post by: Bruce Morgan on March 11, 2012, 19:50:46 pm
I agree.  I kind of gave up on this for now until it either getsd fixed or soemone takes e time to eplain much better how the whole thing is supposed to work.

Bruce
Title: Re: child products with different size attributes
Post by: dsrpmedia on March 12, 2012, 19:04:01 pm
it is unfortunate - I was so stoked to have the vm2.0 for joomla 2.5 released, but trying to get even the simple things I do in VM 1.1 (eg child products) accomplished has been a nightmare.

I `m really hoping someone who understands the process can step up and write some clear instructions.
Title: Re: child products with different size attributes
Post by: Loris on March 15, 2012, 16:18:54 pm
I can create childs with "generic child variant" plugin setting layout "ontop" and display them in product details page. It is also possible to override parent plugin specifying custom attributes like different size ecc ecc but when I overwrite parent plugin attributes in child product, in the dropdown list (in details product page) you can choose this child whit different size but, once done, you have only his entry in dropdown list.
Title: Re: child products with different size attributes
Post by: dsrpmedia on March 15, 2012, 18:03:19 pm
thank you for your help Loris.

I just installed a fresh VM 2.0.2 on joomla 2.5.2, and installed the sample data.

included in the sample data the 'hand shovel' has 3 child products - as set up by the development team, one would think as an example of how it should be done.

these child products are not appearing in the hand shovel page http://ch25.rejuvasolutions.com/store/handtools/hand-shovel-detail
- I tried setting the layout to 'ontop' as suggested.

when I set the size attribute of the parent I get a dropdown for the parent - but the children do not appear

also, on the custom fields page, I do not seem to have a 'generic child variant' plugin - this is probably my whole problem - is this supposed to be part of the aio install or do I have to download that from somewhere?
Title: Re: child products with different size attributes
Post by: Loris on March 15, 2012, 19:07:13 pm
(http://www.guidealpineabruzzo.it/mauri/cart-variant.jpg)

http://forum.virtuemart.net/index.php?topic=98648.0

anyway I've read that in the next release 2.0.3x the "chid/custom attributes" core will be almost renewed
Title: Re: child products with different size attributes
Post by: dsrpmedia on March 15, 2012, 19:45:16 pm
Quote
The vm2 system covers 2 systems for you.

When you want to have the childs working as variants of the parent, use the product custom field "Generic Child Variant", use layout position "ontop", add it to your parent, done.

except it doesn `t seem to work that way (for me with the sample data installed anyhow)

how do you add the plugin to the "Generic Child Variant"? I have created a new field as a "Generic Child Variant", but am still not getting the plugin option.

when creating custom fields it seems you must choose one or the other - "Generic Child Variant", or plugin

I created a new custom field with type 'plugin' but that seemed to do nothing - then I resaved the plugin field with a parent 'group of fields' (only option) - still nothing
Title: Re: child products with different size attributes
Post by: dsrpmedia on March 15, 2012, 20:01:04 pm
Thank you again Loris, I am slowly but surely getting there - I can `t believe how incredibly difficult this has become - it used to be so easy

ok, so now on the product page I have the drop box - but it is showing the parent as well - I want just the children in the drop box, as the parent is just a shell - like in the old vm 1.1 where you would set up a parent with no price & all the children would be the actual products.

also, it just says the child name, so I have 4 'hand shovels' with nothing to distinguish them - how can I get the drop down to say

hand shovel - this size - $5.00
hand shovel - that size - $7.00
etc

?

(I REALLY appreciate your assistance, I`ve been banging my head on this for months - & I`ve build 50+ virtuemart shops in older versions of VM - it just makes no sense to me)
Title: Re: child products with different size attributes
Post by: Loris on March 15, 2012, 20:02:17 pm
With the custom field type "Generic Child Variant" no plugin option to select ... you have to create a custom field like in the picture I've posted?
once done, you have to recall it in the parent custom field tab

here
http://mountainworldaq.net/251/index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=21&virtuemart_product_id=699 (http://mountainworldaq.net/251/index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=21&virtuemart_product_id=699)
perhaps for a few hours, you can see what I'm testing
Title: Re: child products with different size attributes
Post by: Loris on March 15, 2012, 20:07:00 pm
I'm still testing and learning this new "damn" system of custom attrb and I'm currently making your same questions...
Title: Re: child products with different size attributes
Post by: dsrpmedia on March 15, 2012, 20:14:45 pm
I must admit you are doing a much better job of understanding it than I - so glad I can 'ride your coattails'  8)

I noticed you we able to get the dropdown to say

Peak Performance : Osaka Jacket
Peak Performance : Osaka Jacket Blu

etc instead of just
'Peak Performance '
or
'Osaka Jacket Blu'

I`m assuming that 'Peak Performance ' is the parent & 'Osaka Jacket etc' are the children?

how did you accomplish that?

(great work once again!)
Title: Re: child products with different size attributes
Post by: dsrpmedia on March 15, 2012, 20:18:19 pm
also, I notice that both you & I have the text 'No additional cost' underneath our dropdowns.

I `m not sure about you, but that is the exact opposite of the reason for the dropdowns in the first place - any ideas on how to get rid of that?
Title: Re: child products with different size attributes
Post by: Loris on March 15, 2012, 21:11:35 pm
unfortunately the parent is "Peak Performance : Osaka Jacket" and I've added "blu" on the name of the child (Peak Performance : Osaka Jacket Blu) but as you noticed I get 2 Peak Performance : Osaka Jacket when I expect only one...
for  'No additional cost' I agree with you

You can even specify some other custom attributes in child tab overwriting parent plugin (flag in the upper left)  but then you can not switch from one child to another in the dropdown list

Perhaps I did not understand at all how they work... these children
Title: Re: child products with different size attributes
Post by: Simon Reynolds on March 15, 2012, 21:16:58 pm
I have managed to sort this out with two versions of the same product. Not a problem that the main item has 'No additional Charge'. However, the problem arises when the variant has a different weight and the carriage charge is by weight.

My shop has identical products: 850grams and 60 grams.
If I do a test purchase and select either variant, I am unable to select a shipping method.
If I then select another product that has no variant and add it to the cart, I can now select a shipping method but only for the new product. It seems I cannot charge for shipping for any product that has variants?

No doubt when there is a manual for VM2 we will all know how to do this.

I am just going back to create a new Category for the smaller versions.
Title: Re: child products with different size attributes
Post by: dsrpmedia on March 15, 2012, 21:22:20 pm
arghh

this is so frustrating - so close yet so far

all I am trying to do is recreate what was easily done in Vm 1.1 - see for example http://www.nutrawholesale.com/index.php?page=shop.product_details&flypage=flypage_images.tpl&product_id=30&category_id=44&vmcchk=1&option=com_virtuemart&Itemid=34

it seems that it is almost impossible to create this simple setup in vm2
Title: Re: child products with different size attributes
Post by: Loris on March 15, 2012, 21:37:01 pm
maybe for your goal you don't need childs but you could manage several "cart variants"...
look at this: http://mountainworldaq.net/251/index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=21&virtuemart_product_id=700 (http://mountainworldaq.net/251/index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=21&virtuemart_product_id=700)
Title: Re: child products with different size attributes
Post by: dsrpmedia on March 15, 2012, 21:46:01 pm
that is actually very close - so those are not 'children' they are 'cart variants'

does each cart variant have it`s own SKU - is stock control available?

also, I notice on your page when you choose an item (variant) in the drop box it does not go to that product variant (page does not refresh), it just stays on 'Peak Performance: Tactic Zip Women' - so i suppose there is no option for variant specific-images, decriptions etc?
Title: Re: child products with different size attributes
Post by: Loris on March 15, 2012, 22:07:45 pm
ok, then you have to play with custom attribute plugin "VM, custom stockable variant" but I can not show the variation of the amount (but in the cart the amounts are correct)

look http://mountainworldaq.net/251/index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=21&virtuemart_product_id=700 (http://mountainworldaq.net/251/index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=21&virtuemart_product_id=700)
Title: Re: child products with different size attributes
Post by: dsrpmedia on March 15, 2012, 22:14:42 pm
I still don `t get how to work with the plugins either do you have to create a customfield with type 'plugin' & parent 'group of fields'?

also, on your link - the image of the product should change when you choose the variant should it not?

(eg when I choose either the green or red option it is still showing the black jacket)

that is because the variant is not an actual 'product' so no variant specific descriptions / images are available?
Title: Re: child products with different size attributes
Post by: Loris on March 15, 2012, 22:30:26 pm
not exactly: the red, size L stockable variant has her own image, avalaibility and SKU ecc ecc and you can see in the cart after add to cart action, but up until now I cannot show related image and overprice with this method...
I've some other ideas but here in Italy it's dinner time  :o
Title: Re: child products with different size attributes
Post by: JaumeQuerS on March 16, 2012, 12:33:59 pm
Hi,

BASICALLY : If you don't need different stock for each variation DON'T make it with STOCKABLE. Do it creating a CART VARIATION.

It's VERY easy, follow step by step and you'll see http://dev.virtuemart.net/projects/virtuemart/wiki/Product_custom_fields_without_stock_control (http://dev.virtuemart.net/projects/virtuemart/wiki/Product_custom_fields_without_stock_control).

Stockable child products are more difficult to get working (as it envolves more things).

Title: Re: child products with different size attributes
Post by: borty on March 16, 2012, 12:46:03 pm
Stockable child products are more difficult to get working (as it envolves more things).

Well.... more difficult ? ???

Stockable child products are IMPOSSIBLE  to get working (also with last 2.03d release)!!

Or you can?
Title: Re: child products with different size attributes
Post by: dsrpmedia on March 16, 2012, 17:07:20 pm
unfortunately, different stock for each variant is kind of the whole idea... thanks for the tip though
Title: Re: child products with different size attributes
Post by: TBoele on March 16, 2012, 19:34:11 pm
@dsrpmedia : Do you get this working ? different stock for each child product.
Title: Re: child products with different size attributes
Post by: dsrpmedia on March 16, 2012, 20:02:58 pm
no

in fact I`ve been searching through the forums & it appears that no-one has got this working fully - lots of people seem to have make-shift kinda-sorta solutions, but nothing that just flat-out works
Title: Re: child products with different size attributes
Post by: karbono on March 20, 2012, 12:03:14 pm
One more waiting for the stockable variants.

Is there any way to just prevent people from ordering quantities that don't exist in stock? We'll be synchronizing stocks from our ERP software frequently, so I would be able to keep a table with available stocks for all the variants. It would just be a question of verifying the stock levels and not letting larger quantities be added to the shopping cart.... later on, the quantities would be synched from the ERP software.
I can see the database structure, but I don't know enough of virtuemart to implement that.
Title: Re: child products with different size attributes
Post by: davidwrightson on March 22, 2012, 03:38:42 am
Ok, in hopes of helping others, here is what I did to get something working after a few frustrating hours.  First, at this point I do not care about different product numbers for different variants, all I want to get this thing working.  So, I have a t-shirt site that I just want the user to be able to select S, M, L, XL for shirt size.  Price doesn't change and I don't care about quantity on hand, stocked, etc.
1) Create custom field called "Size" of type "Cart Variant", Cart Attribute=Y, Is a List=Y
2) Create product and in custom fields tab, select "Size" from Custom Field Type dropdown.
A row should appear with Title=Size. Enter "Small" for Value.  Blank out the Price box if you do not want the "No Additional Charge" phrase to appear (default is 0) in the cart.
Select Size from Custom Field Type dropdown again and another row should appear.  Repeat for Medium.
Select Size from Custom Field Type dropdown again and another row should appear.  Repeat for Large.
... you get the picture.

Not sure if that helps anyone but just thought I'd throw it out just in case.
David
Title: Re: child products with different size attributes
Post by: karbono on March 22, 2012, 10:10:39 am
Ok, in hopes of helping others, here is what I did to get something working after a few frustrating hours.  First, at this point I do not care about different product numbers for different variants, all I want to get this thing working.  So, I have a t-shirt site that I just want the user to be able to select S, M, L, XL for shirt size.  Price doesn't change and I don't care about quantity on hand, stocked, etc.
1) Create custom field called "Size" of type "Cart Variant", Cart Attribute=Y, Is a List=Y
2) Create product and in custom fields tab, select "Size" from Custom Field Type dropdown.
A row should appear with Title=Size. Enter "Small" for Value.  Blank out the Price box if you do not want the "No Additional Charge" phrase to appear (default is 0) in the cart.
Select Size from Custom Field Type dropdown again and another row should appear.  Repeat for Medium.
Select Size from Custom Field Type dropdown again and another row should appear.  Repeat for Large.
... you get the picture.

Not sure if that helps anyone but just thought I'd throw it out just in case.
David

Thanks, but if you don't care about stock control, I think you'll find this method works:
http://dev.virtuemart.net/projects/virtuemart/wiki/Product_custom_fields_without_stock_control
Title: Re: child products with different size attributes
Post by: jochem8 on March 22, 2012, 10:41:44 am
What are the steps to be taken when you do want to use stock control?
Title: Re: child products with different size attributes
Post by: karbono on March 22, 2012, 11:12:00 am
What are the steps to be taken when you do want to use stock control?

There aren't any.

http://forum.virtuemart.net/index.php?topic=95096.0

http://forum.virtuemart.net/index.php?topic=90833.150
Title: Re: child products with different size attributes
Post by: jochem8 on March 22, 2012, 11:31:49 am
Then I'm afraid we'll just have to wait...
Title: Re: child products with different size attributes
Post by: mowgs on March 22, 2012, 13:27:00 pm
Hi, thanks to everyone so far for adding your workarounds - VM has become a nightmare to work with!!!

Loris - Thanks for posting your variants with the fleece jacket.  I'm trying to come up with a similar pattern.  Our next client runs a lingerie business, and creating a Bra/Brief Set is looking like its going to be virtually impossible in VM.

We are going to need variants for colour, and 2 seperate sizes for Bra and Briefs - I've pretty much given up on the idea of stock control as that seems to be unlikely to happen in the near future, but has anyone made any headway with images?

i.e. having a different image for each variant (so that if user chooses Blue then the image shows a blue bra).

Have been using the Banquet Tables Plugin, which works really well for variants, its just when you start getting child products involved that everything appears to go to ratsh!t.

Cheers!
Title: Re: child products with different size attributes
Post by: spyderwebdesign on March 25, 2012, 09:00:57 am
Ok, in hopes of helping others, here is what I did to get something working after a few frustrating hours.  First, at this point I do not care about different product numbers for different variants, all I want to get this thing working.  So, I have a t-shirt site that I just want the user to be able to select S, M, L, XL for shirt size.  Price doesn't change and I don't care about quantity on hand, stocked, etc.
1) Create custom field called "Size" of type "Cart Variant", Cart Attribute=Y, Is a List=Y
2) Create product and in custom fields tab, select "Size" from Custom Field Type dropdown.
A row should appear with Title=Size. Enter "Small" for Value.  Blank out the Price box if you do not want the "No Additional Charge" phrase to appear (default is 0) in the cart.
Select Size from Custom Field Type dropdown again and another row should appear.  Repeat for Medium.
Select Size from Custom Field Type dropdown again and another row should appear.  Repeat for Large.
... you get the picture.

Not sure if that helps anyone but just thought I'd throw it out just in case.
David

Thanks David for the help. This has gotten me really close to where I need to be. The problem I have is I can not enter the values for my size. There is no box for me to enter "Small" in.
Title: Re: child products with different size attributes
Post by: meltingpotdesign on March 25, 2012, 20:58:16 pm
ive installed and started playing with vm2 today after having made loads of vm1 sites.  first reaction was wow, how easy is it to theme now! then I hit this brick wall of child product with stock control creation.

This seems crazy - such an essential part of any modern ecommerce software.  On first glance it looks like they were trying to ape the brilliant magento product architecture - but it feels broken.

Why cant you predefine a list of variants rather than having to free type them for each product - and what on earth is with having to add a child selector on the parent product itself - if it has children, show the damn children!

Nice to see im in good company, but does anyone know how long it will be before this gets fixed - im hoping to go live mid april - if this isnt a go-er, then Ill restart in VM1 & j1.5 - id rather not but on the clock.

Also, how could the VM team have missed the always always asked for feature of filtering on price, attributes etc (there are some excellent exctensions like Cherry Picker for VM1) - another show stopping ommission imo.

sorry for posting without actually offering anything!
Title: Re: child products with different size attributes
Post by: karbono on March 26, 2012, 10:53:19 am
ive installed and started playing with vm2 today after having made loads of vm1 sites.  first reaction was wow, how easy is it to theme now! then I hit this brick wall of child product with stock control creation.

This seems crazy - such an essential part of any modern ecommerce software.  On first glance it looks like they were trying to ape the brilliant magento product architecture - but it feels broken.

Why cant you predefine a list of variants rather than having to free type them for each product - and what on earth is with having to add a child selector on the parent product itself - if it has children, show the damn children!

Nice to see im in good company, but does anyone know how long it will be before this gets fixed - im hoping to go live mid april - if this isnt a go-er, then Ill restart in VM1 & j1.5 - id rather not but on the clock.

Also, how could the VM team have missed the always always asked for feature of filtering on price, attributes etc (there are some excellent exctensions like Cherry Picker for VM1) - another show stopping ommission imo.

sorry for posting without actually offering anything!

It can't be soon enough  :( I'm also anxious about it. The only thing keeping me from going to Drupal is the lack of something like CSVI. I'm also considering picking up previous versions.  :(
It's nerve-racking not even having a decent response from the development team. I understand they're not obligated to do anything, but they should also understand that a lot of people's work is depending on theirs. If they won't do it, "fine", but at least tell us.
Title: Re: child products with different size attributes
Post by: BonaFide on March 26, 2012, 12:07:45 pm
Ok, in hopes of helping others, here is what I did to get something working after a few frustrating hours.  First, at this point I do not care about different product numbers for different variants, all I want to get this thing working.  So, I have a t-shirt site that I just want the user to be able to select S, M, L, XL for shirt size.  Price doesn't change and I don't care about quantity on hand, stocked, etc.
1) Create custom field called "Size" of type "Cart Variant", Cart Attribute=Y, Is a List=Y
2) Create product and in custom fields tab, select "Size" from Custom Field Type dropdown.
A row should appear with Title=Size. Enter "Small" for Value.  Blank out the Price box if you do not want the "No Additional Charge" phrase to appear (default is 0) in the cart.
Select Size from Custom Field Type dropdown again and another row should appear.  Repeat for Medium.
Select Size from Custom Field Type dropdown again and another row should appear.  Repeat for Large.
... you get the picture.

Not sure if that helps anyone but just thought I'd throw it out just in case.
David

Thanks David for the help. This has gotten me really close to where I need to be. The problem I have is I can not enter the values for my size. There is no box for me to enter "Small" in.

Agreed. This is the closest I have seen to a solution to my issue (need 3 different weights for 1 product with a different price for each), but cannot enter the weight value under Custom Fields (it gives a drop down box for selection under Values, but there are no options to choose from nor an ability to input a value, only a price).
Title: Re: child products with different size attributes
Post by: MissyW on March 27, 2012, 04:52:15 am
Agreed. This is the closest I have seen to a solution to my issue (need 3 different weights for 1 product with a different price for each), but cannot enter the weight value under Custom Fields (it gives a drop down box for selection under Values, but there are no options to choose from nor an ability to input a value, only a price).
Agreed. This is the closest I have seen to a solution to my issue (need 3 different weights for 1 product with a different price for each), but cannot enter the weight value under Custom Fields (it gives a drop down box for selection under Values, but there are no options to choose from nor an ability to input a value, only a price).
To be able to input a value, e.g. the weight or size, you have to set Is a List=N in the custom field settings.  Then go back into your product and add the custom field again.  You will get a blank text field under the "Value" column.


Ok, in hopes of helping others, here is what I did to get something working after a few frustrating hours.  First, at this point I do not care about different product numbers for different variants, all I want to get this thing working.  So, I have a t-shirt site that I just want the user to be able to select S, M, L, XL for shirt size.  Price doesn't change and I don't care about quantity on hand, stocked, etc.
1) Create custom field called "Size" of type "Cart Variant", Cart Attribute=Y, Is a List=Y
2) Create product and in custom fields tab, select "Size" from Custom Field Type dropdown.
A row should appear with Title=Size. Enter "Small" for Value.  Blank out the Price box if you do not want the "No Additional Charge" phrase to appear (default is 0) in the cart.
Select Size from Custom Field Type dropdown again and another row should appear.  Repeat for Medium.
Select Size from Custom Field Type dropdown again and another row should appear.  Repeat for Large.
... you get the picture.

Not sure if that helps anyone but just thought I'd throw it out just in case.
David


Thanks, David, it was very good of you.  It was a relief to have something (anything!) that actually works after bashing my head against the wall of how to set up parent-child structure in 2.02.  If you don't need price changes, as you said, your method probably works.  But it doesn't work with price changes.  For example, if the product price is $20 but if I charge $30 for a Medium size and add it to the shopping cart,  then both prices are added together and the product price for the Medium item in the cart becomes $50.00. 

I need the parent-child structure to keep track of stock levels of the children.   I'm beginning to wonder if I should look at an alternative to Virtuemart that will integrate with Joomla, as this is a nightmare. :'(
Title: Re: child products with different size attributes
Post by: meltingpotdesign on March 27, 2012, 09:14:22 am
Like vm1 ;) I've scrapped my vm2 project and gone back to
Vm1.1.9 - If it ain't broke etc.
Title: Re: child products with different size attributes
Post by: dsrpmedia on March 27, 2012, 17:46:20 pm
yes, I`ve done that with all my current cart projects - unfortunately the fact that joomla 1.5 is about to be outdated is a concern though.
Title: Re: child products with different size attributes
Post by: meltingpotdesign on March 27, 2012, 19:07:31 pm
I take your point, and it doesn't look good to clients to be given a new site in perceptually dated software - but equally, j15.25 is rock solid
Title: Re: child products with different size attributes
Post by: dsrpmedia on March 27, 2012, 20:04:45 pm
that`s how I`m looking at it - if there is no cart involved I set up on joomla 2.5, but if the client requires a functional cart then vm 2.0 is simply not an option at this point.

I figure I can probably hold on for another 6 months or so before I have to abandon VM altogether - which I REALLY don `t want to do - I`ve been using Virtuemart for a very long time, & over the years this is the first time I`ve ever been so stuck that I was unable to find / create some sort of solution.

I haven `t even gotten into the stock control yet - other than to notice that the 'notify' option does not seem to work.

just getting a basic child + attribute + price in a dropdown like in vm 1.1 has proved impossible

argh

oh well this is a brilliant community - hopefully someone will come up with some sort of solution.
Title: Re: child products with different size attributes
Post by: enock on March 29, 2012, 06:45:22 am
Seems much hard than it really is - after a couple of hours and reading the forums here is a quick summary (as a picture).

BTW tried child products and after corrupting the DB found this worked

[attachment cleanup by admin]
Title: Re: child products with different size attributes
Post by: TBoele on March 29, 2012, 06:53:07 am
Ok. And now try to create the same dropdown with stock control.
Title: Re: child products with different size attributes
Post by: jochem8 on March 29, 2012, 13:32:58 pm
Ok. And now try to create the same dropdown with stock control.

Exactly, that's the same problem I'm facing.
Title: Re: child products with different size attributes
Post by: karbono on March 29, 2012, 15:14:43 pm
Ok. And now try to create the same dropdown with stock control.

Exactly, that's the same problem I'm facing.

If you want to keep stocks, you need a specific SKU for each variant (parent/child products). This makes the above method useless.   :'(
Title: Re: child products with different size attributes
Post by: meltingpotdesign on March 29, 2012, 15:26:17 pm
it would be great if someone from the VM team could provide some feedback, or road map to this fundamental issue being resolved.
Title: Re: child products with different size attributes
Post by: karbono on March 29, 2012, 15:38:54 pm
it would be great if someone from the VM team could provide some feedback, or road map to this fundamental issue being resolved.

I agree, like I said in a previous post... I have no idea what makes them avoid this issue. Just say something, even if it's a "we aren't planning to make it work".

Meanwhile, I'm already integrating my ERP with Magento....
Title: Re: child products with different size attributes
Post by: TBoele on March 29, 2012, 15:58:10 pm
I ask more than once for a reaction. The don't answer, just ignoring the whole issue.
Title: Re: child products with different size attributes
Post by: meltingpotdesign on March 29, 2012, 16:49:03 pm
it would be great if someone from the VM team could provide some feedback, or road map to this fundamental issue being resolved.

I agree, like I said in a previous post... I have no idea what makes them avoid this issue. Just say something, even if it's a "we aren't planning to make it work".

Meanwhile, I'm already integrating my ERP with Magento....

good choice - if you need any help ive been working with magento for about 18 months, its great when you get your head around it.  Make sure you have suitable hosting provisions for a magento store though - dedicated VPS with 1gb ram minimum. 
Title: Re: child products with different size attributes
Post by: jochem8 on March 30, 2012, 10:55:40 am
Ok. And now try to create the same dropdown with stock control.

Exactly, that's the same problem I'm facing.

If you want to keep stocks, you need a specific SKU for each variant (parent/child products). This makes the above method useless.   :'(

Thanks Karbono. I know it's a different method, but just wanted to bring it to the devvers attention that SKU still does not work in VM. See my other topic: http://forum.virtuemart.net/index.php?topic=99328.msg328040#msg328040
Title: Re: child products with different size attributes
Post by: Richard2 on June 05, 2012, 19:30:40 pm
I'm now sure it's not my lack of skills why I can't get it work...
Thanks guys for sharing your knowledge and frustration. It helped me finding a (kind of) workable solution.

Richard
(major rookie)
Title: Re: child products with different size attributes
Post by: leob3110 on June 16, 2012, 15:19:44 pm
To let you know what works for me.
On the custom field side:
Custom Field Type:    Cart Variant
Title: Sling Size
Published:  yes    
Parent:  leave blank    
Cart Attribute:  yes    
Description:  leave blank    
Default:  leave blank   
Tooltip:  leave blank    
Layout position:  leave blank    
Admin only: no    
Is a list?    no
Hidden : no   

On the Product side:
Select the "custom fields" tab
From the "custom filed type" select the custom field created (above).  In my case "Sling Type".
Repeat clicking the "custom field type" as many times as you need. In my case 5 times.
For each custom field type, enter your particular attribute each followed by four spaces.  In my case; Small    , Medium    , Medium-Large    , Large, Extra-Large    .
The four spaces eliminates virtuemart from inserting a system message "no charge...".

I hope this helps.  It took me three days to come to this solution.  After 40 years in IT I still am learning!

Regards

Leo (from Australia)
Title: Re: child products with different size attributes
Post by: spyderwebdesign on June 17, 2012, 03:46:18 am
I am using the generic child variants and the stock counts are working for me. The only problem I can see with using generic child variants is that the parent is listed as the first item. In my opinion, the first item in the drop down should say something like "Please choose a...". If I figure out how to change that I'll post back. I am sure it will be a hack in customfields.php file

[attachment cleanup by admin]
Title: Re: child products with different size attributes
Post by: wpompen on July 22, 2012, 12:54:30 pm
I'm reading this thread with tears in my eyes, after hard work getting a migration from joomla 1.5 to 2.5 and all extensions...
Then the VM "migration" to 2.0x it's just sad to find out that your stuck with a basic and functionality that used to work fine and then was left out.
What are the developers "thinking", i can't see. There's no point in hacking files with the risk of an update destroying your work.

Edit:
Somehow I got it to work... I'm using CSV Improved to import products.
I created ONE custom field named "child product" and add this to one product, then all child products appeared.
I've got no clue but I'll stick to this method for now ;-)
Title: Re: child products with different size attributes
Post by: k9jackie on July 28, 2012, 07:39:06 am
As far as I see, none of these ideas resolve the issue.  We need to have 2+ attributes  per item available in different dropdowns with stock control.  It is easy enough to setup a page without stock control.... However, the key missing factor is a way for stock controlled items to display like non stock controlled items.

For example, I have  tshirts  that come in 4 colors and  6 different sizes but when I use the method where I can control stock, I have a very long and unusable dropdown list.(below)  It is much easier for my customers to choose a color 1st and then a size secondarily.  Do I really have to choose between ease of use for my customers and stock control for me?

2X-Large Lavender Shirt
2X-Large Pink Shirt
2X-Large Sand Shirt
2X-Large White Shirt 
3X-Large Lavender
3X-Large Pink Shirt 
3X-Large Sand Shirt    
3X-Large White Shirt    
Large Lavender Shirt    
Large Pink Shirt 
Large Sand Shirt    
Large White Shirt    
Medium Lavender Shirt    
Medium Pink Shirt    
Medium Sand Shirt 
Medium White Shirt    
Small Lavender Shirt    
Small Pink Shirt    
Small Sand Shirt    
Small White Shirt    
X-Large Lavender Shirt
X-Large Pink Shirt    
X-Large Sand Shirt    
X-Large White Shirt
Title: Re: child products with different size attributes
Post by: spyderwebdesign on July 28, 2012, 07:41:19 am
As far as I see, none of these ideas resolve the issue.  We need to have 2+ attributes  per item available in different dropdowns with stock control.  It is easy enough to setup a page without stock control.... However, the key missing factor is a way for stock controlled items to display like non stock controlled items.

This is why I set eat color item as an individual product. Then I just need 1 drop down for size. There still isn't an working solution for 2 attributes with stock control.
Title: Re: child products with different size attributes
Post by: MissyW on January 10, 2013, 23:24:39 pm
Hard to believe, isn't it ... this topic was started in March 2012, and still no reply from a moderator or member of the Virtuemart development team.  Very very sad. :'(
Title: Re: child products with different size attributes
Post by: Milbo on January 13, 2013, 11:44:42 am
missyW, there are really a lot of threads about this. The thing is that it is not easy in no ecommerce system, because it IS just a complex thing. We are just tired to explain all the time the same. Everything works, if you dont need stock option, than you have really a lot of possibilities. You can also do a lot with the childs and the stockable variant plugin or the dynamic child variants. You can also buy a 3rd party plugin with endless possibilities.
Ah yes and you maybe noticed that the last message before yours is from July, the reason is that we enhanced it every version. There are also some books out (for example of Kerry Watson) which explains the customfields.
Title: Re: child products with different size attributes
Post by: Lockerbie on February 01, 2013, 16:57:08 pm
With Milbo's last reply on this thread, I'm not sure if I should post it here, but I didn't find a solution to my problem anywhere else... This thread seems to be very close to what I'm dealing with.

I've set up a webshop for clothes, with parents and childproducts. No stock control!
Parents are visible, but not orderable.
Childs inherit the name of their parent, with the name of the colorvariant added to it. These colors are set up using the 'generic child variant'.
Sizes are added, using the 'cart variant'.

All this is really quite simple, once you get the 'trick'. And as long as you give all childs the same sizes...
When you have a child with different (less) sizes then the parent, you'll have to check the little checkbox 'Overwrite plugin values of the parent'.
But after that, in frontend, when you choose this child, you can't see the other children with more sizes anymore in the dropdownbox.
The only thing there is to use the browser-back-button...

How can I adjust this so all children are visible in the dropdownboxes, at all times?

J!-2.5.9 / VM 2.0.18a
Title: Re: child products with different size attributes
Post by: Lockerbie on February 13, 2013, 15:20:28 pm
Anyone?
Please, everything else is working fine, this is the only thing still bothering me...