Zen Cart Logo
Forums / Managing Customers and Orders / Composite products

Composite products

Locked

Views: 1,626

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
6 Mar 2009, 10:01 AM
#1
mikado avatar

mikado

Zen Follower

Join Date:
Nov 2007
Location:
Toulouse - France
Posts:
112
Plugin Contributions:
0

Composite products

I have composite products (kits).

Example:

  • prod n°47 = prod n°149 + prod n°16 + prod n°83
  • prod n°81 = prod n°102 + prod n°55 + prod n°83

When I sell a prod n°47, I would like that the stock of products n°149, n°16 and n°83 is decremented by 1.
What is to be done?

6 Mar 2009, 1:07 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Composite products

Currently there is no facility for inventory control for a "composite" product
One would have to manually adjust the individual component inventories

6 Mar 2009, 4:25 PM
#3
mikado avatar

mikado

Zen Follower

Join Date:
Nov 2007
Location:
Toulouse - France
Posts:
112
Plugin Contributions:
0

Re: Composite products

This fonctionnality is very important, I am surprised that is absent of Zencart.

6 Mar 2009, 4:32 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Composite products

This fonctionnality is very important,
Important in your opinion....Look at other carts and I think that you will not find this as a default feature

6 Mar 2009, 5:28 PM
#5
mikado avatar

mikado

Zen Follower

Join Date:
Nov 2007
Location:
Toulouse - France
Posts:
112
Plugin Contributions:
0

Re: Composite products

I do not look at others carts, Zen is the best :P

6 Mar 2009, 5:31 PM
#6
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Composite products

Mikado:

I have composite products (kits).

Example:

  • prod n°47 = prod n°149 + prod n°16 + prod n°83
  • prod n°81 = prod n°102 + prod n°55 + prod n°83

When I sell a prod n°47, I would like that the stock of products n°149, n°16 and n°83 is decremented by 1.
What is to be done?

As Kobra said, there is no native functionality for this in Zen Cart.

I have previously developed a 'composite product' product type for a client, and it does maintain inventory control for both the composite product and the component products. When a composite product is sold, the stock levels of the component products are reduced. Likewise, when a single component product is sold, the stock level of the composite product is recalculated as well.

If for example you have a composite product A, that is comprised of 1 x product B and 3 x product C. If current stocks of B and C are 4 and 10 respectively, the cart knows that the stock for product A can only be 3, because that's all that 10 x product C allows for. If somebody buys 2 x product C, the cart recalculates the stock for product A and will reset it to 2.

This sort of capability does require modifications to the database and the order class file (although I'm in the process of recoding it to use the notifier system instead of a modified class file).

6 Mar 2009, 6:04 PM
#7
mikado avatar

mikado

Zen Follower

Join Date:
Nov 2007
Location:
Toulouse - France
Posts:
112
Plugin Contributions:
0

Re: Composite products

Could you point out to to me by PM the expense of this development?

9 Mar 2009, 5:40 AM
#8
wolfsz avatar

wolfsz

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
286
Plugin Contributions:
3

Re: Composite products

Hi bunyip
I'm also interested in this functionality. Are you planning to release a module? Maybe a few of us could sponsor this?