Jump to content

customers can order goods which are out of stock


buhajus

Recommended Posts

Today, discovered bug, that customers can order goods which are out of stock.

You ask may, how can they do this?

Example:

In stock we have 20 pcs of Z product

Customer Y ordered 15 pcs of Z product

Customer X added 5 pcs of Z product to cart and didn't bought

Customer Y asked us to add more 5 pcs of Z products to hes order, so we add manually via BO /order (check img)

ps_stock_available table decreased these products, but ps_stock didn't...

 

After while customer X placed order from hes cart where were 5 pcs of Z product. Yes he may saw that product is out of stock (if he refresh page), but system let him confirm order.

Of cause he got email that product is out of stock, but Z product quantity goes to -5 pcs

 Question:

How to prevent customers order products which aren't in stock

Settings Allow ordering of out-of-stock products set to ** NO

Prestashop 1.6.1.x

3.png

Edited by buhajus
missing version (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...