• Blog
  • 6 Ways to Handle Out-of-Stock WooCommerce Product Variations Swatches

6 Ways to Handle Out-of-Stock WooCommerce Product Variations Swatches

August 4, 2026
posted in WooCommerce by
6 Ways to Handle Out-of-Stock WooCommerce Product Variations Swatches

Why Out-of-Stock Variations Kill Your Conversion Rate

Handling out-of-stock variations in WooCommerce effectively involves hiding sold-out options, showing clear grayed-out swatches, allowing backorders, or redirecting customers to similar products. Using WooCommerce product variations swatches makes it easy to visually communicate stock status, while custom code or built-in settings can prevent sales of unavailable variations. Getting this right matters more than most store owners realize, because every grayed-out size or hidden color choice either keeps a shopper on your site or sends them straight to a competitor.

Poor out-of-stock handling also damages your brand in subtler ways:

  • Broken trust: When shoppers see a product page that looks complete but fails at checkout, they question your inventory accuracy.
  • Wasted time: Customers abandon a purchase when the product is out of stock and most of them leave without exploring alternatives on your site.
  • Higher bounce rates: A product page that cannot fulfill its primary promise pushes visitors back to search results.
  • Negative word of mouth: Shoppers rarely complain about finding what they need, but they often tell others when a store wastes their time.

The good news is that this problem is fixable. Clear visual indicators, smart redirects, and backorder options all reduce friction. The strategies in this article show you exactly how to communicate availability clearly, keep shoppers engaged, and recover revenue that would otherwise leak away.

Why This Matters

Every out-of-stock variation is a moment where your store fails to meet customer expectations. The way you handle that moment determines whether the shopper leaves, waits, or buys something else. Poor handling leads to lost revenue and long-term damage.

  • Lost immediate sales: A shopper who clicks a dead variation often abandons the entire cart, not just that one item.
  • Damage to customer trust: Repeated stockouts make your store look unreliable, and 55% of shoppers will not return to a site after repeated stockouts.
  • Higher bounce rates: Confusing stock status forces shoppers to search elsewhere, usually on a competitor's site.
  • Wasted marketing spend: You pay for the traffic, but the product page fails to convert it into revenue.
  • Lower customer lifetime value: A frustrated first-time buyer rarely becomes a repeat customer.
  • Better competitor positioning: When your store handles stockouts clearly, shoppers remember the smooth experience.

1. Use Variation Swatches to Visualize Availability

Default dropdown selectors hide the stock status until the customer clicks and tries to select a variation. Replacing dropdowns with visual WooCommerce product variations swatches lets shoppers see availability at a glance, before they commit to a choice.

This strategy works because it reduces the number of clicks and removes the guesswork. A customer looking at a t-shirt in size large can immediately see if that size is crossed out or greyed out, instead of clicking through a dropdown and getting an error message.

To implement this, use a swatch plugin that supports out-of-stock states. WooCommerce variations swatches replaces dropdowns with buttons or color swatches and offers three clear visual states for unavailable options: Cross, Blur, or Hide. You configure this in WooCommerce > Settings > Variations Swatches, under the General Settings tab.

  • Cross: Shows the swatch with a line through it, clearly marking it as unavailable.
  • Blur: Softens the swatch, suggesting it exists but is currently out of stock.
  • Hide: Removes the option entirely, simplifying the choices presented.

Choose the Cross option if you want customers to see the full size range, or Hide if you prefer to present only what is available.

2. Configure Stock Status and Backorder Settings

WooCommerce defaults can cause confusion if you do not configure them carefully. The stock status field, backorder setting, and availability text all influence how out-of-stock variations behave. Getting these right removes ambiguity from the purchasing process.

Go to WooCommerce > Settings > Products > Inventory to set your default stock display options. For variable products, you can set individual stock levels per variation, which is essential for accurate out-of-stock handling.

You also need a strategy for backorders. WooCommerce allows three states: Do not allow, Allow, but notify customer, and Allow. Each changes the customer's perception of the product.

Backorder Setting

Customer Experience

Best Use Case

Do not allow

Variation shows as unavailable or out of stock.

Low-stock items, perishables, or custom products.

Allow, but notify

Product can be ordered, with a note about delayed delivery.

Popular items with predictable restock dates.

Allow

Product order processes normally without any warning.

Items you can reliably source or dropship.

The "Allow, but notify" option is a strong compromise. It keeps the sale while setting honest expectations, and it prevents the surprise of an unexpected delay.

3. Display Real-Time Inventory Visibility

Nothing frustrates a shopper more than adding an item to the cart and discovering it is unavailable at checkout. Transparent stock visibility throughout the browsing experience reduces this frustration and builds confidence in your store.

Implement real-time stock display in two places:

  • On the product page: Show availability text next to each variation, such as "In stock" or "Only 3 left". This creates urgency for low-stock items and removes doubt for available ones.
  • On the shop page: Display a stock badge indicator before the customer even opens the product. Its settings include an option to display labels directly on shop and category pages, so customers can see which variations are available without clicking through.

To keep stock data accurate, sync your WooCommerce inventory with your warehouse management system or POS. If you sell across multiple channels, use an inventory management tool that updates stock levels in real time across all of them. A single oversold item can trigger a chain reaction of checkout errors that erodes trust.

Also consider automating low-stock alerts. WooCommerce has a built-in notification that emails you when stock drops below a threshold, and most inventory plugins extend this with more granular controls. The earlier you know a variation is running low, the faster you can reorder or update the product page.

4. Visual Cues, Gray Out Sold-Out Swatches

Hiding sold-out variations removes the option entirely, which means shoppers never see what you don't have. That approach works, but it has a downside: it hides useful information. When a customer sees a product with three colors and only two are clickable, they immediately understand the third color exists but is unavailable. That transparency builds trust. It also prevents the frustration of selecting a color, size, or style and then discovering it is out of stock.

The core idea is simple: keep the option visible, but make its unavailable status obvious at a glance. Graying out sold-out swatches communicates "we know you want this, and we are sorry it is not available right now" without forcing the customer to click through every variation to find what is in stock.

The WooCommerce variation swatches plugin handles this cleanly. Within its general settings, you will find a field called "When Variation is Out of Stock." This gives you three visual treatments for unavailable variations: Cross, Blur, or Hide.

Here is the difference between those three options:

  • Cross: Shows an X or slash through the swatch. This is the most explicit signal that an option is unavailable. It works well for products where customers expect all options to exist, like clothing sizes.
  • Blur: Softens the swatch image or label so it looks faded. This is effective for color swatches, helping customers see the color shade while understanding it is out of stock.
  • Hide: Removes the swatch entirely. This reduces visual clutter but loses the transparency that keeps shoppers informed.

For most stores, Cross or Blur outperforms Hide. A customer browsing a t-shirt with sizes small through XXL can see at a glance that medium is sold out. They do not have to hover over every option to check availability. This micro-interaction reduces friction during the buying process.

The plugin also includes tooltip settings, so you can display a message like "Out of Stock" when a customer hovers over an unavailable swatch. Combine that with the visual treatment, and the customer receives both an immediate and a contextual signal.

6. Enable Backorders to Capture Demand

Sometimes the best way to handle an out-of-stock variation is to stop treating it as a dead end. Enabling backorders lets you keep the sale moving forward even when inventory hasn't arrived yet. Instead of losing the customer to a competitor, you capture their intent now and fulfill it later.

Backorders work best for products with predictable restock timelines, like made-to-order items, seasonal goods you've already purchased, or bestsellers with reliable supplier lead times. If you know a restock is coming within days or weeks, a backorder turns a potential lost sale into a confirmed one.

WooCommerce gives you three backorder settings per product or variation, and choosing the right one matters:

Setting

What It Does

Best Used When

Do not allow

Blocks purchases when stock hits zero

You cannot reliably fulfill late orders

Allow, but notify customer

Lets customers order, with a clear notice that the item is on backorder

You have a firm restock date and want transparency

Allow

Lets customers order without any visible notice

Fast-moving inventory that restocks frequently, or made-to-order items

To configure this in WooCommerce, edit the product, open the Inventory tab in Product Data, and select your preferred backorder option. You can apply it to the whole product or drill down to individual variations, which is especially useful when only certain sizes or colors are running low.

When combined with WooCommerce product variations swatches backorders become even more transparent. Customers can see exactly which variation is available for immediate shipping versus which one requires a wait, all at a glance on the product page. That clarity reduces the frustration that drives shoppers away. 

Set an expectation for fulfillment time on your product page and in the cart. If you promise delivery by a specific date, honor it. Backorders that slip past their promised timeline create refund requests and erode trust faster than a simple sold-out badge ever could.

7. Redirect to Similar Products

When a shopper clicks a sold-out variation, the default WooCommerce response is a static "out of stock" notice that dead-ends the browsing session. A redirect to similar in-stock products keeps that customer moving through your catalog instead of bouncing to a competitor. This strategy is especially effective for high-traffic product pages where demand consistently outpaces supply, such as seasonal items or limited colorways.

The logic is straightforward: detect when a customer selects or attempts to add an unavailable variation, then route them to a related product that is available. You can implement this with a plugin that supports redirect rules or with custom code that hooks into WooCommerce's stock-checking functions. 

Why this works so well:

  • It recovers revenue that would otherwise be lost to the dead end of an out-of-stock notice.
  • It keeps shoppers inside your store, preserving the momentum of their buying intent.
  • It reduces frustration by giving shoppers an immediate alternative rather than forcing them to search manually.

A word of caution: redirects can feel jarring if the alternative is a poor match. Keep the replacement product closely related in style, price, and function, and test your redirect rules across multiple device types to confirm they behave consistently.

Can Plugins Like Variation Swatches as Radio Buttons Help?

Variation Swatches for WooCommerce plugin effectively handle out-of-stock variations, especially if you manage large catalogs. Instead of relying on manual settings for each product, a swatch plugin centralizes the most important controls in one place.

Once installed, the plugin adds a dedicated "Variations Swatches" tab under WooCommerce > Settings. From there, you can set a store-wide default for how sold-out variations appear. The plugin offers three visual treatments: Cross, Blur, or Hide. This single global setting lets you apply a consistent out-of-stock policy across every variable product in one click, rather than editing each product individually.

For example, a clothing retailer might choose "Cross" to clearly signal sold-out sizes, while a furniture store could prefer "Blur" to avoid cluttering the page with crossed-out options. Hiding sold-out variations entirely is the best fit for stores with long attribute lists, like a smartphone case seller with dozens of color options.

Beyond global settings, the plugin supports product-level customization. When editing a specific variable product, you can override the default behavior if that product needs different treatment. The product-level settings take priority over the general settings, giving you fine-grained control when it matters.

Key advantages for out-of-stock management include:

  • A unified dashboard to manage swatch display across all variable products
  • Visual treatments (Cross, Blur, Hide) that communicate availability at a glance
  • Tooltips that can display stock status context before a customer clicks
  • Customizable swatch shapes (round or square) and sizes that improve visual clarity
  • Shop page display options so customers know which variations are unavailable before they even open the product page

The plugin also shines in multi-attribute scenarios. If your product has both size and color attributes, you can assign a different swatch type to each attribute and customize their shapes independently. This clarity reduces the "which sizes are left?" guesswork that drives customers toward competitors.

For stores dealing with high stockout rates, the speed of implementation matters. Setting a global out-of-stock display rule takes minutes, not hours. The plugin relieves your team from manually updating dozens of products whenever stock levels shift, freeing you to focus on restocking and customer communication.

Conclusion

Handling out-of-stock WooCommerce product variations the right way can reduce customer frustration and recover sales that might otherwise be lost. Whether you choose to gray out unavailable options, enable backorders, display real-time stock status, or redirect shoppers to similar products, every improvement makes the buying process clearer and more reliable. Pairing these strategies with WooCommerce product variations swatches gives customers instant visibility into available options, helping them make faster purchasing decisions. A well-optimized variation experience not only improves conversions but also builds trust and encourages repeat purchases

Share Article

  • support widget30-day money back guarantee
  • support widgetDedicated Support Team
  • support widgetSafe & Secure Free Update
  • support widgetSafe Customized Solutions