Prestashop sold the remaining goods in stock for 1 piece to two different buyers. There was one piece of goods in the soap warehouse, but the system sold it to two buyers.
How to avoid similar problems in the future, why prestashop sold the product, there is only one piece in stock, and the sale was for two orders?