WooCommerce: Auto Restore Stock Levels After Cancellation

When an order is cancelled or refunded, there is a way to have the stock level restored automatically for your WooCommerce store.
Get fast, reliable hosting for WordPress
Power your site with the industry’s fastest, most optimized WordPress hosting

Automatically Restoring Stock Levels After Cancellation
If you’re selling physical products with your WooCommerce store, you already know that accurate inventory counts are really important. You need to know how many t-shirts you have on hand, or if it’s time to restock specialty items after a big sale. With WooCommerce, it’s easy to see how much you’ve sold on your store and watch stock levels.
When an Order is Cancelled or Refunded, is There a Way to Have the Stock Level Restored Automatically for Your WooCommerce Store?
Part 1 – Plugin for Managing Cancelled Orders
When an order is cancelled, what happens? What do you do when you have to issue a refund for an item that didn’t fit? Maybe you manually update stock counts after every cancellation of refund. But that’s more work than you have time for, and it leaves too much room for counting errors.
Fortunately, the WooCommerce Cancel Abandoned Order Plugin automates post-cancellation stock updates. Simply install and activate the plugin on your WooCommerce store. Now your stock levels will automatically adjust when a customer cancels their order, or you cancel and refund for them:
WooCommerce Cancel Abandoned Order – WordPress Plugin | WordPress.org
Part 2 – Restocking as Handled by WooCommerce
See the Configuring WooCommerce Settings > Inventory Section of the related article, which documents the following functionality in WooCommerce:
WooCommerce > Settings > Products > Inventory

In that article, the reader is walked through all settings available in WooCommerce. You’ll find information about configuring General WooCommerce settings as well as Product, Tax, Payments, Shipping, Accounts, Email, API, and Webhooks.
In this case, you will want to review the information related to the Products tab under the Inventory link covering the following options:
- Manage Stock
- Hold Stock (minutes)
- Notifications
- Notification Recipient
- Low Stock Threshold
- Out Of Stock Threshold
- Out Of Stock Visibility
- Stock Display Format
Sales Performance Monitor — Built-In Ecommerce Monitoring for Your Online Store
Personalized revenue insights, delivered right to your inbox. The Nexcess Sales Performance Monitor delivers weekly revenue trends to help you stay profitable.
Why Choose Nexcess?
Because we are different! Chris Lema captures “the why” in his passionate and stirring recount of a Nexcess support-related story.
Why Your Hosting Provider Matters
We’ve optimized hosting for the industry’s leading commerce and content platforms. That means speed, security, scalability and support are built in. Backed by free migrations. Let us show you why we’re the best.
No one optimizes hosting for open-source applications better than Nexcess!
Recent Articles
- Using MAMP with WordPress for Local Development | Nexcess
- How to Use XAMPP for Local WordPress Development | Nexcess
- Laragon: Best Local Development Environment for WordPress | Nexcess
Related Articles
- How to Add Discounts to Products in WooCommerce | Nexcess
- Using Traditional Sales Tactics in WooCommerce | Nexcess
- Automatically Apply Coupons in Cart on WooCommerce | Nexcess
Additional resources
What is managed WordPress hosting? →
Get details and decide if managed WordPress hosting is right for you.
Must-have web development plugins to create WordPress websites at scale →
Explore the best web development plugins to enhance functionality, improve performance, and streamline your WordPress site.
A complete guide to WordPress shortcodes →
Shortcodes make life easier. Learn how to get started!