Running out of stock happens to every online store. A supplier gets delayed, a product sells faster than expected, or you decide to discontinue an item. The problem is not that you run out. The problem is what happens when a customer lands on that empty product page.
Most WooCommerce stores handle out-of-stock products badly. They show a grayed-out button, no useful information, and leave customers frustrated. Some hide the product entirely, which creates broken links and SEO issues. Others leave products visible but make no effort to guide the customer toward an alternative.
The way you handle out-of-stock inventory directly affects your sales, your customer experience, and your search rankings. This article covers the practical steps to configure WooCommerce so that stock issues do not cost you money.
Why Hiding Out-of-Stock Products Usually Backfires
WooCommerce gives you an option to hide out-of-stock items from your catalog. This sounds logical. Why show something you cannot sell?
The issue is that those products still exist in Google's index. They still have inbound links from your blog, email campaigns, and other websites. When someone clicks a link and gets a 404 error, they leave. Google sees this as a poor user experience and may lower your rankings over time.
Hiding products also removes any chance to offer an alternative. If someone searches for a specific item and lands on your site, you want to keep them there. Showing related products, offering a waitlist, or suggesting a substitute gives you a chance to recover the sale.
Set Up Stock Management Correctly
Before you can handle out-of-stock situations well, you need accurate inventory tracking. Go to each product and enable stock management under the Inventory tab. Enter your current quantity and set a low stock threshold so you get a warning before you hit zero.
WooCommerce will automatically mark a product as out of stock when the quantity reaches zero. You can also manually set stock status to out of stock, on backorder, or in stock regardless of quantity. This is useful for pre-orders or products that do not have trackable inventory.
Make sure you configure your email notifications so you know immediately when stock runs low. Go to WooCommerce settings, then Emails, and enable low stock and out-of-stock notifications. Set the threshold to a number that gives you time to reorder.
Display Helpful Information on Out-of-Stock Product Pages
When a product is out of stock, do not just remove the Add to Cart button and leave customers guessing. Show a clear message that explains the situation and tells them what to do next.
WooCommerce displays a default out-of-stock message, but you can customize it. Go to WooCommerce settings, then Products, then Inventory. Look for the out-of-stock threshold and visibility settings. You can change the stock display format and the message that appears.
A better approach is to add custom text for each product. If the item will be restocked soon, say so and give an estimated date. If it is discontinued, recommend an alternative. If you are unsure, invite them to contact you or sign up for a notification.
Add a Back-in-Stock Notification Option
One of the best ways to recover a lost sale is to let customers request a notification when the product returns. This keeps them engaged and gives you a direct line to contact them when stock arrives.
You can add this feature with a plugin or custom code. Several WooCommerce extensions offer waitlist or back-in-stock notification features. When a customer signs up, they receive an email as soon as you mark the product as in stock again.
This approach works especially well for popular items or products with unpredictable restock schedules. It turns a dead end into an opportunity to build your email list and close a sale later.
Use Backorders to Keep Selling
If you know a product will be restocked soon, enable backorders instead of marking it out of stock. Go to the product's Inventory tab and set backorders to allow or allow with notification.
When backorders are enabled, customers can still add the product to their cart and complete the purchase. They see a message that the item is on backorder, which sets the correct expectation. You fulfill the order when stock arrives.
Backorders work well for businesses with reliable suppliers and short restock times. They keep revenue flowing and prevent customers from going to a competitor. Just make sure you communicate delivery timelines clearly so customers know what to expect.
Recommend Related or Alternative Products
Every out-of-stock product page should include suggestions for similar items. If someone wants a specific product and it is unavailable, show them the next best option.
WooCommerce has a related products feature, but it is not always smart about what it shows. You can manually assign related products, upsells, or cross-sells under the Linked Products tab for each item. Choose alternatives that truly solve the same problem.
You can also use categories and tags to automatically display similar products. If your theme or a plugin supports dynamic recommendations, configure it to prioritize in-stock items so you are not sending customers to more dead ends.
Monitor the Impact on SEO and Traffic
Out-of-stock products still generate organic traffic. If you hide them or let them go stale, you lose that traffic and hurt your SEO.
Keep product pages live and optimized even when stock is unavailable. Update the content to mention the product is temporarily out of stock, and use schema markup to indicate availability status. This signals to search engines that the page is still relevant.
If a product is permanently discontinued, you have two options. You can leave the page live and redirect visitors to a similar product using a clear message and a link. Or you can set up a 301 redirect to the category page or a replacement product. Do not just delete the page and let it 404.
When Professional Help Makes Sense
Managing inventory and customer experience across hundreds of products gets complicated fast. If you are spending too much time manually updating stock levels, configuring notifications, or troubleshooting display issues, it may be time to bring in a developer.
A WooCommerce specialist can automate stock management, integrate your store with inventory systems, and build custom features like advanced waitlists or dynamic product recommendations. The right setup pays for itself by reducing manual work and recovering sales you would otherwise lose.
Final Thoughts
Out-of-stock products are not a crisis. They are a normal part of running an online store. The key is how you handle them. Show helpful information, offer alternatives, and give customers a reason to stay on your site instead of leaving for a competitor.
Set up inventory tracking, enable notifications, and use backorders when it makes sense. Keep product pages live and optimized so you do not lose traffic or rankings. And if the problem grows beyond what you can manage manually, get help before it starts costing you sales.
Image credit: Photo by Adrien Olichon on Pexels.