Products with different attributes (not so easy)?

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by kulvik on June 9, 2006 at 7:27am

I'm currently building a webshop that sell clothes. Before I start installing and configuring the e-commerce module I really need to understand one consept. How can I create different products with different attributes? Here's an example:

Lets's use socks as an example. Socks come in different types (sports, wool, light summer etc.). These are all separate products. However, each product come in different colors and sizes (attributes). The number of attributes on each type is not constant, for example:

Sports sock comes in

  • Medium - Black
  • Medium - White
  • Large - Black

Wool socks comes in

  • Medium - White
  • Medium - Green

OK, so I have a lot of products with different attributes. So why don't I just create one product per product/attribute combination like this?:

  • Sports sock - Medium - Black
  • Sports sock - Medium - White
  • Sports sock - Large - Black
  • Wool sock - Medium - Black
  • Wool sock - Medium - Green

There we go. 5 separate predefined products that can be put directly in the shopping cart. That would solve the problem right? Or would it? The problem is that they have hundreds and hundreds of products, and what I would like to do it so let the user click on "Sports sock" and then choose size and color from dropdown menus before putting it in the cart. It would be very little intuitive for the user to scroll through 100 sports socks, just because drupal is showing all possible type-size-color combinations in a list.

Other e-commerce solutions like OSCommerce have supported this for years, but I have fallen in love with drupal and really hope there is a solution for this.

Can the subproducts module handle all this?

Thanks for any input!

-Thomas

Categories: , ,

Comments

The Subproducts module does

Posted by darren oh on June 14, 2006 at 6:56pm

The Subproducts module does nothing unless you enable a module that provides a parent product type. The latest version of E-Commerce includes the Apparel module, which is what you need. It's working well now.

What about...

Posted by rickvug on June 15, 2006 at 8:04am

What about products that aren't apparel but have different sizings? Use the apparel module anyways? Moreover, do these sub-products allow for different pricing? A partner of mine will soon need to sell art prints, with each size costing a different amount.

Any thoughts?

Unfortunate Name

Posted by darren oh on June 15, 2006 at 12:48pm

The apparel module is unfortunately named. It's just a shippable product that supports subproducts. Other product types could also be modified to support subproducts.

Apparel module

Posted by codevelopment on June 20, 2006 at 7:44am

The current version of Apparel that comes with 4.7 is marked as cvs. Is this the version I should be using?

I've created attributes under "admin/store/settings/subproducts", but how do I enable customers to choose these attibutes for their order?

The apparel module is

Posted by darren oh on June 20, 2006 at 1:27pm

The apparel module is currently the only one that allows customers to choose product variations. The version in 4.7 works.

There is a custom module designed to allow customers to add attributes to existing products, but it is not working yet.

Apparel module

Posted by codevelopment on June 20, 2006 at 2:03pm

Thanks for the info, I eventually managed to get it working. I discovered that "subproducts" tab doesn't appear if a book page is turned into an apparel product, the product has to be created from scratch from the "create content" menu to work correctly.

Temporary Fix

Posted by darren oh on June 20, 2006 at 2:52pm

Issue 68292 deals with this problem. It includes a patch you can try until the subproducts module is updated.

Perfecto!

Posted by codevelopment on June 20, 2006 at 3:24pm

Thanks, that's exactly what was needed to fix the problem.

e-Commerce Module

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /