Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Limiting Purchase Quantities to stock on hand


Recommended Posts

When someone adds a product to the cart, it does not adjust the stock level until they actually complete checkout. Because of this, a person can repeatedly click on the same product link after every search and add another to the quantity even though there is not enough in stock to satify their order.


Now, I have set the checkout permissions so the system will not allow them to check out until they adjust the qantity, but then they have to guess how many are in stock and then make the proper adjustment and then hit the update button and then checkout. Whew...


Since my sales are usually, but not always very limited in quantity, I would like for the system to automatically reduce the number of any item in the basket to no more than the amount in stock.


I don't know how to do it, but something like:


if order quantity is > stock quantity, then make order quantity = stock quantity.


Thanks for reading.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...