Forums / General Questions / Preventing out of stock checkout

Preventing out of stock checkout

Locked

Views: 901

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
25 Oct 2010, 3:32 PM
#1
sawtooth500 avatar

sawtooth500

New Zenner

Join Date:
Feb 2010
Posts:
23
Plugin Contributions:
0

Preventing out of stock checkout

In our zen cart setup, I have it so that it automatically prevents someone from adding a product to the cart if it is out of stock. However, let's say we have 120 pieces of product X in stock, and someone adds 130 to cart. It allows them to check out with 130 pieces and the inventory goes to -10. How can I make it so that the quantity added is limited to what we have?

25 Oct 2010, 3:46 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Preventing out of stock checkout

Check these settings in admin>configuration>stock

Check stock level true
Subtract stock true
Allow Checkout false

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

25 Oct 2010, 3:50 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Preventing out of stock checkout

If I set Admin - Configuration - Stock - Allow Checkout to False, and try to buy more of an item than I have in stock, it won't let me check out. Have you added any checkout-related mods ?