[ic] Prevent from ordering more than is in stock

Jim Balcom interchange-users@icdevgroup.org
Tue Oct 15 18:26:01 2002


On Tue, 15 Oct 2002, Jonathan Clark wrote:

JC>>> When is it counting the inventory, and when is it being deducted?
JC>>>
JC>>> Customer A orders 10 gadgets and puts them in his cart. (There are only 15
JC>>> in stock). Does it deduct them then, or does it deduct them when he
JC>>> submits his order? Or, after the CC# approval and the receipt sent to him?
JC>>
JC>>When the order is placed, accepted and confirmed to the customer - downdate
JC>>inventory happens in etc/log_transaction - a part of the order route.

Does this not answer the frequently asked question 'How can I shut off "Out
Of Stock" notices?' Simply get rid of this downdate code? (And, tell the
database that you have 10,000)

-= Jim =-

                   .-.
                   /v\
                  // \\
                 /(   )\
                 ^^ - ^^
          > Phear the Penguin <
              L  I  N  U  X

----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter

Tagline for Tuesday, October 15, 2002 at 18:20 PM:
Plagiarism is the sincerest form of flattery.

----------------------------------------------------------------
This Linux System has been up 48 hours

My web page: http://www.idk-enterprises.com
----------------------------------------------------------------