Key takeaways
- Where does stock status show? On the product page by default. Shop and category pages need a snippet or plugin.
- How do you turn it on? WooCommerce → Settings → Products → Inventory, then enable stock management.
- Want an exact count? Turn on Track stock quantity for that product.
- Want urgency? Set the display to “Only show quantity when low.”
- Want custom text? Use a plugin for labels like “Ships in 2 days.”
- Status not showing? Tracking is off, or your theme is hiding it.
- Sold out? Keep the product visible and add a “notify me” waitlist.
Empty shelves cost stores real money. Nearly 69% of online shoppers leave and buy from a competitor when an item is out of stock, according to ecommerce stockout research. That is a lost sale you never see. The fix is simple.
When you show stock status on WooCommerce products, shoppers know what they can buy before they click “Add to cart.”
This guide shows you how to show stock status on WooCommerce products. You can turn it on, display it on shop and category pages, and customize the labels. No prior coding skill needed.
What “Stock Status” Means in WooCommerce
Stock status is the label that tells shoppers if a product is available. WooCommerce has three built-in statuses:
- In stock: The product is ready to buy.
- Out of stock: The product is not available right now.
- On backorder: Shoppers can order it now and get it later.
You can show the plain status, like “In stock.” Or you can show the exact count, like “7 in stock.” Which one you use depends on your store and your goal.
Method 1: Turn On Stock Status in WooCommerce Settings
This is the built-in way. It works with no plugin and no code.
Step 1: Open the Inventory settings
Go to WooCommerce → Settings → Products → Inventory in your WordPress dashboard.
Step 2: Enable stock management
Tick the box for Enable stock management. This lets WooCommerce track quantities and update stock as orders come in.

You will also see these options:
- Hold stock (minutes): Holds items for unpaid orders. Leave blank to skip.
- Notifications: Get an email when stock is low or gone.
- Low stock threshold: The count that triggers a “low stock” alert.
- Out of stock threshold: The count that marks a product out of stock.
- Out of stock visibility: Tick this to hide sold-out products from your catalog.
Step 3: Choose a stock display format
Pick how the count shows to shoppers:

- Always show quantity remaining: Shows the exact number, like “12 in stock.”
- Only show quantity when low: Shows “Only 2 left in stock” near the threshold, and just “In stock” otherwise.
- Never show quantity: Shows only “In stock” or “Out of stock,” with no number.
Click Save changes.
Good Read: Backorder vs Out of Stock: Key Differences Every eCommerce Owner Needs to Know
Step 4: Set stock status on the product
Open any product. Find the Product data box and click the Inventory tab.

- To track a number, tick Track stock quantity for this product. Then enter a Stock quantity.
- To set status by hand, leave tracking off. Then pick a Stock status: In stock, Out of stock, or On backorder.
Update the product. The status now shows on the single product page.
Good to know: By default, the count only shows when Track stock quantity is on for that product. If you set status by hand without a quantity, WooCommerce may show nothing until you enable tracking or use a plugin.
Method 2: Show Stock Status on Shop & Category Pages
Here is the gap most guides skip. WooCommerce shows stock status on the single product page only. It does not show it on the main shop page or category pages by default.
That is a problem. Shoppers browse the shop grid first. If they cannot see availability there, they click a product, find it sold out, and leave frustrated.
You have two ways to fix this.
Option A: Add a code snippet (free)
Add this to your child theme’s functions.php file. Always use a child theme so updates do not erase your code.
php
add_action( ‘woocommerce_after_shop_loop_item_title’, ‘show_stock_status_on_shop’, 5 );
function show_stock_status_on_shop() {
global $product;
if ( $product->is_in_stock() ) {
echo ‘<p class=”stock-label in-stock”>In stock</p>’;
} else {
echo ‘<p class=”stock-label out-of-stock”>Out of stock</p>’;
}
}
This adds a stock label under each product title in the shop grid. You can style the .in-stock and .out-of-stock classes with CSS to add color.
Not comfortable editing code? Use Option B.
Option B: Use a plugin (no code)
A plugin does the same job with clicks instead of code. Popular choices let you show status on the shop page, category pages, and archives. Many also add color, icons, and custom text.
Plugins are the safer pick if you do not want to touch theme files. They also survive theme changes, since the setting lives in the plugin, not your template.
Good Read: How to Set Up Pre-Orders in WooCommerce
Method 3: Show Exact Quantity vs. a Simple Label
Which should you show? It depends on your goal.
- Show the exact count (“3 left in stock”) to build urgency. Low numbers push shoppers to act fast.
- Show a simple label (“In stock”) for a cleaner look, or when counts change too fast to trust.
- Show “Only X left” when low for the best of both. Shoppers see urgency only when it matters.
Set this under the Stock display format option in Step 3 above.
Method 4: Create Custom Stock Status Labels
The default words are plain. “In stock” and “Out of stock” do the job, but they do not sell.
Custom labels help you say more:
- “Ships in 2 days”
- “Only a few left”
- “Back in stock soon”
- “Made to order”
- “Sold out, join the waitlist”
WooCommerce does not offer custom labels out of the box. To add them, use a custom stock status plugin. These let you set the text, pick colors, add icons, and even show messages based on the quantity left. For example, you can show “Selling fast” when stock drops below 5.
Custom labels turn a plain status into a marketing tool. They reduce buyer worry and can lift conversions.
How to Show Stock Status on Product Variations
Variable products, like a shirt in three sizes, need stock set per variation.
- Open the product and go to the Variations tab.
- Click a variation to expand it.
- Tick Manage stock? to track quantity for that size or color.
- Enter the Stock quantity or set the Stock status by hand.
Now each variation shows its own status. A shopper who picks “Large” sees if Large is in stock, not just the product as a whole.
Troubleshooting: Stock Status Not Showing
This is the most common problem store owners hit. Here is why it happens and how to fix it.
Track stock quantity is off. If a product does not track quantity, WooCommerce may not show a count. Fix: open the product, go to the Inventory tab, and tick Track stock quantity for this product.
Stock management is disabled globally. Fix: go to WooCommerce → Settings → Products → Inventory and tick Enable stock management.
Your theme or page builder hides it. Page builders like Elementor use their own product templates. These can skip the stock status block. Fix: check your builder’s single product template and add the stock element. To test, switch to a default theme like Storefront for a moment. If the status appears, your theme or builder is the cause.
A plugin conflict. Another plugin may block the display. Fix: deactivate plugins one by one to find the clash. A live visitor counter or a custom code snippet is a common culprit.
The product is set to “In stock” with no quantity. Fix: either add a quantity, or use a plugin that forces “In stock” to show without tracking.
Still stuck? Go to WooCommerce → Status → Logs to check for errors, and review your System Status report.
Best Practices for Stock Status
- Show status on shop pages, not just product pages. Shoppers decide in the grid. Do not make them click to find out.
- Use urgency with care. “Only 2 left” works when true. Fake scarcity breaks trust.
- Keep out-of-stock products visible with a waitlist. Hiding them loses SEO value and repeat buyers. A “notify me” option captures the sale later.
- Match your labels to your brand. Custom text feels more human than a plain system word.
- Sync your real stock. Nothing hurts trust more than selling an item you cannot ship. Keep quantities accurate.
Good Read: How to Display Product Badges for New Arrivals and Sales
Frequently Asked Questions (FAQs)
Why is stock status not showing in WooCommerce?
The most common cause is that Track stock quantity is off for that product, or global stock management is disabled. Turn both on under the product’s Inventory tab and in WooCommerce settings. A theme or page builder can also hide the status. Test with a default theme to check.
How do I show stock quantity on the WooCommerce shop page?
WooCommerce shows quantity on single product pages only. To show it on the shop or category page, add a code snippet to your child theme’s functions.php, or use a stock display plugin. Both add the status to the product grid.
Can I change the “In stock” text in WooCommerce?
Not with the built-in settings. To use custom text like “Ships in 2 days” or “Selling fast,” install a custom stock status plugin. It lets you set your own labels, colors, and icons.
How do I show “Only X left in stock”?
Go to WooCommerce → Settings → Products → Inventory. Set Stock display format to “Only show quantity remaining in stock when low.” Then set a Low stock threshold on the product. The message shows only when stock drops near that number.
Should I hide out-of-stock products?
Usually no. Hiding them can hurt search rankings and lose repeat buyers. A better move is to keep them visible and add a “notify me when back in stock” option. That way you capture the sale when the item returns.
Does showing stock status help sales?
Yes. Clear stock status builds trust and cuts wasted clicks. Low-stock messages add urgency. Shoppers who see availability up front are more likely to buy and less likely to bounce to a competitor.
Next step
Start with Method 1 to turn stock status on. Then add Method 2 so shoppers see availability across your whole store, not just one page. If you want custom labels or more control, a stock status plugin will save you time.
Clear stock info is one of the cheapest ways to win more sales. Set it up once, keep your counts accurate, and let it work for you.


