Deleted Completed Orders – How To Update Product Stock Quantity
-
Hi guys,
I’ve recently set up a new store and before going live, I’ve made a few test purchases myself of products displayed in the store.
This was done in normal mode via Paypal, so basically I just used very low product prices for the sake of testing and went through the checkout process myself, exactly the same way as a genuine customer would, and actually paid for the products.
As a result, this generated orders in WooCommerce as it should, and I “Completed” these orders just to make sure that everything worked fine.
After ensuring that it’s all good, I have then deleted these orders from the store, but unfortunately the record of these test sales is still reflected in the stock quantities of those products, as I have stock management enabled.
So in other words, with stock management being enabled, when potential customers view the product page, they see that 1 item has already been sold (my test purchase), but I would like this record to be removed, since it was my own test purchase.
Is there a way to refresh WooCommerce store for it to stop recognizing those deleted orders as sales?
I’ve read something about clearing transients and regenerating product lookup tables from the Tools section of WooCommerce Status, but didn’t want to mess around with that before asking, and I’m not sure if that would fix this issue?
Thanks for your help.
- The topic ‘Deleted Completed Orders – How To Update Product Stock Quantity’ is closed to new replies.