Vote up!
Vote down!

Custom product variations

I have a project where the customer will be able to select the colors they want on the product. Example: a baseball hat where the bill can be one color, the top of the hat one color, the inside of the hat one color and the logo one color. Something like this: http://www.picarisplatform.com/picaris-visualization-demos/furniture ... but not with couches.

Normally, we would create a product for each variation (small - red tshirt is one product, medium red tshirt is one product, small blue tshirt is one product... and so on). In this case, I have way to many color options to make this manageable. If I have 1 hat, with 3 different areas that could have a color, and I have 30 colors (and/or patterns) to choose from, I have 30 to the power of 3 products.... that 27000 products for 1 custom product.

If I have 15 products that have this ability to select custom color combinations thats 15*27000 = 405k products... for a simple 15 product display eCommerce store.

So, with all that said, how would you recommend doing this w/o a product per variation? I don't need an sku per color variation.

Thanks for your help!

Asked by: that0n3guy
on January 29, 2013


add a select field to your product type. put all of the color options in the select field list. ensure "Enable this field to function as an attribute field on Add to Cart forms." is checked in the field efit settings. now user will be able to choose color when addiing item to cart.

- drupalability on February 1, 2013

1 Answer

Vote up!
Vote down!

Hi that0n3guy,

I was just wondering how you got on with your custom product variation use case, as I have a similar problem to solve. But as a relative Drupal newbie.

may use case is single product which has 1. An on board selection option of one or two add on's 2. a selection from one of 7 options 3. A selection from one of 5 options. I saw a Commerce Module Tuesday: Commerce Customizable Products Screen cast by Josh Miller http://www.youtube.com/watch?v=j9KsyvQZaAY.

However its not clear how to add 3 custom line items to one product display and add to cart in commerce kickstart 2. In the screen cast Josh seems to indicate that you can add more than one vocabularies to line items in the add to cart. (06.05)

Answer by: peter burytec
Posted: Sep 3, 2014