Qty update broken
-
It is possible to order items out of stock.
To reproduce the scenario you need 2 users:
1. user 1 logs into the site, add an item to the cart which has stock quantity “1”
2. a second different user logs into the site and adds the same item to the cart
3. the first user concludes the order: item qty correctly updated to “0”
4. the second user concludes the order: woo commerce does not block, user is able to go to the checkout and qty is updated to “-1”.With the plugin disabled, when the second user tries to buy the qty.0 item, an error is raised.
https://www.ads-software.com/plugins/woocommerce-poor-guys-swiss-knife/
- The topic ‘Qty update broken’ is closed to new replies.