Forums / Setting Up Categories, Products, Attributes / I sell unit or a package of 20 unit, How can I control the Stock by Attribute?

I sell unit or a package of 20 unit, How can I control the Stock by Attribute?

Locked

Started by weber on 23 Apr 2007, 2:10 AM · Views: 1,755

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
23 Apr 2007, 2:10 AM
#1
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

I sell unit or a package of 20 unit, How can I control the Stock by Attribute?

Same Question asked before by me. But I didn't understood....

For me, Item Price is $0
I add a Option Name:
Package
Under this, add Option Value
Each $2.00
20/CS $20.00
30/CS ..
50/CS ...
100/CS $200.00

Each item will be available in Single Unite or Case of 20/30--depend on item's original packge.

What I want, when customer select each, my stock will be deducted by 1. When order 20, will be deducted by 20, not one.

I can only find that there is a Price Offset there, and qty discount. but no qty offset or something.

Zen-cart Version 1.3.7

23 Apr 2007, 4:53 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: I sell unit or a package of 20 unit, How can I control the Stock by Attribute?

To work correctly, you will have to use the quantity discount method. The attribute list as you show it will unfortunately not work right, although it looks better.

You can set the product to be available only in multiples, but then it will not be available as a single, and you can't specify 20 or 30 but not 10...

What might solve your problem is turning the quantity box from a text input to a dropdown or radiobutton, which could be pre-filled with only the values you want to allow. This will require some coding knowledge, but will probably be easy for someone who does have the knowledge.