subproducts module and cart problems

Events happening in the community are now at Drupal community events on www.drupal.org.
kulvik's picture

Hi everyone.

I'm having a problem using the subproducts module for e-commerce. Alle modules are latest CVS.

I have a shop set up that sells t-shirts. I have added variations to let the user choose color and size from a dropdown menu. This is what i'm doing:

  1. View a product with available subproducts.
  2. Choose size and color from dropdown menus.
  3. Add to cart

The problem is that only the main product is added to the cart. So the size and color variations doesn't get transfered to the cart. That makes the entire subproducts module useless ^^ If I add 3 shirts with different colors to my shipping cart I should get the following:
T-Shirt, blue x1
T-Shirt, Green x1
T-Shirt, Yellow x1

Instead I get this:
T-Shirt x3

What the module should do, is to put the relevant subproduct to the cart instead of the actual main product.

This must be some kind of a bug?

Thanks for any input on this.

-Thomas

Comments

subproducts module and transactions tables

coupet's picture

I will also add that the color and size information (attributes) should be written to the transactions table.

This is a very good module, think further features and functionality is needed!

Fixed

kulvik's picture

This issue have been resolved. It was caused by a slightly older cvs-module was being used (apparel.module). Used the latest CVS and it worked like a charm.

-Thomas

e-Commerce Module

Group organizers

Group notifications

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