Multiple product attributes, but only one requires alternate images = PROBLEM
My Products are typical womens' dresses. Each product comes in two colours, Red or Black, and 5 sizes, 6 / 8 / 10 / 12 / 14
The red dresses have a different image to the black, and each product has about 5 images per colour. The different sizes per colour do not need different images - they obviously use the same image per size. Colour and Size both need to be selected as Product Attributes to make use of the Commerce Cart functionality.
There seems to be a HUGE problem with making this typical product setup streamlined in Commerce using Products and Product Displays. I'm keen to set it up in the "truest" fashion, ie, 10x Product entities covering all variations, all displayed in a single Product Display. But whichever way I turn (Bulk Product Creation, Inline Entity Form, or just creating Product entities manually), I have to upload the same 5 images for each of the 5 sizes and then do it all again for the other colour! That's a crazy system to present to the client.
It's like the system is tripped up when there's more then one set of attributes, particularly when only one set of attributes requires the change in image.
Not to mention I have to import legacy data of about 300 products using Feeds, but that another mind-f$%# all-together. At the moment I'm just wondering how this is DESIGNED to work in Commerce.
Any ideas??
Comments
I've tackled the issue of only one product attribute needing a different image, and I always solve it very ugly. I have an image field on my attribute and then I have an image on the product display. I then display both on my node tpl. Then I use drupal javascript behaviors to test if the attribute image is there, and hide the product image. It's disgusting, heavy and makes me sad inside, but it gets the job done.
Edit: Check out the module filefield_sources to keep from having to reupload the image every time. I use this in conjuncture with IMCE
http://drupal.org/project/filefield_sources
http://drupal.org/project/imce
Hey Drew - I dig what you're saying. Makes sense. Not pretty though! And I still can't really present that solution to the client.
It frustrates the hell out of me that all of Randy's video tutorials start off saying how great Commerce is, and how easy it is to incorporate Product Attributes, but then only ever demonstrate using a SINGLE set of product attributes. I'll give you Impishness! What kind of Commerce system can't deal with multiple product attribute sets well? A crappy one!