Out of stock error, “simple product” type

Hi @richardmiller-1,

When the inventory drops to 5 or lower, the product shows as “out of stock” on the sales page. I’m tracking inventory. This is a “simple product”, not a variable one.

From what I understand, you’re facing a problem where your products display as “out of stock” on the sales page when the inventory drops to 5 or less, despite your attempts to fix this. Thank you for providing such detailed information and for the troubleshooting steps you’ve already taken.

Looking at your product settings screenshot, I noticed that you’ve set ‘Allow backorders?’ to ‘Do not allow’ and ‘Low stock threshold’ to 2. These settings imply that the product will be tagged as ‘low stock’ once your inventory drops to 2 or less. However, the product shouldn’t appear as ‘out of stock’ until the quantity is 0.

Considering you’ve already tried using the default WP theme, disabling all plugins except WooCommerce, clearing WooCommerce transients, and experimenting with different out-of-stock thresholds, this issue is indeed unusual.

Here are a few more steps you can try:

  1. Check your WooCommerce version: Make sure you’re using the latest version of WooCommerce. If not, it might be worth updating.
  2. Check your WooCommerce settings: Go to WooCommerce > Settings > Products > Inventory and see if the ‘Out of stock threshold‘ is set to a number that might be causing this issue. Need help with that? Here’s a handy guide on 👉 Configuring WooCommerce: Inventory Settings.
  3. Enable Debugging: If the issue is still there, turning on debugging in WordPress might help us find the problem. Just add these lines to your wp-config.php file:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

This will create a debug.log file in your wp-content directory, logging any PHP errors or notices. For a more detailed guide on enabling debugging in WordPress, you can visit this link: 👉 Debugging in WordPress.

If the issue continues after trying these steps, please share more details, like the exact error messages you see when debug mode is on. This will help us identify and solve the problem more effectively.

We’d also appreciate it if you could share your site’s System Status report. This will help us understand your site’s setup better and identify the problem. You can find it via WooCommerce > Status. Select Get system report and then Copy for support.

Once you have all this information, you can paste it inside a Code block in your reply, or use https://pastebin.com to paste it and share the link with us.

Thanks for your patience and cooperation in this matter! We’re here to help you get this sorted.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer