We value your privacy

We use cookies to see how our site is used and to measure our ads. Necessary cookies are always on. Privacy policy

  • Skip to main content
  • Skip to footer
GS Plugins
  • Home
  • Plugins
    • Solid Testimonials iconSolid TestimonialsCustomer reviews & ratings
    • GS Logo Slider iconLogo SliderClient & partner logos
    • GS Filterable Portfolio iconFilterable PortfolioFilterable work galleries
    • GS Team Members iconTeam MembersTeam profiles & bios
    • GS Projects Showcase iconProjects ShowcaseProjects with details
    • GS Books Showcase iconBooks ShowcaseBook library & authors
    • GS Coaches iconCoachesCoaches & trainers
    • GS Posts Grid iconPosts GridBlog posts in grids
    • GS WooCommerce Product Slider iconWC Products SliderWooCommerce carousels
    • Variation Swatches iconVariation SwatchesColor & image swatches
    • WooCommerce Product Brands iconWC BrandsBrands for WooCommerce
    • GS Pinterest Portfolio iconPinterest PortfolioPins & boards
    • GS YouTube Gallery iconYouTube GalleryVideo galleries
    • BundlesAll Pro plugins, save up to 61%
    • All PluginsCompare all 14 plugins→
  • Bundles
  • Services
  • Blog
  • Account
Home/ Blog /GS Variation Swatches

Why All WooCommerce Swatches Show Out of Stock When Only One Variation Is Unavailable

Sarwar Zaman Written bySarwar Zaman PublishedAug 28, 2026 UpdatedAug 31, 2026 Reading time7 min
Why All WooCommerce Swatches Show Out of Stock When Only One Variation Is Unavailable
Variation Swatches icon

Made by GS Plugins

Try Variation Swatches

Replace variation dropdowns with color, image and button swatches.

  • Color, image & button swatches
  • Replaces variation dropdowns
  • Faster product choices
See the plugin
Summarize with
CChatGPTGGrokCClaudePPerplexityGGoogle AI
On this page4 sections
  1. First, Understand How WooCommerce calculates availability.
  2. How to Fix All Swatches Showing Out of Stock
  3. FAQs
  4. Conclusion

You mark one WooCommerce variation as unavailable. Then you open the product page and suddenly every color or size swatch appears disabled.

That is confusing for customers and even more confusing when the remaining variations are actually available.

When all swatches show out of stock because of a single unavailable combination, the issue usually comes from how WooCommerce, your swatches plugin, or your theme interprets variation availability. Here is how to find the cause without rebuilding the product from scratch.

First, Understand How WooCommerce calculates availability.

A variable product does not treat Color and Size as completely separate inventory items.

WooCommerce evaluates actual variation combinations.

Suppose your product has:

  • Black + Small: In stock
  • Black + Medium: In stock
  • Black + Large: Out of stock
  • Blue + Small: In stock
  • Blue + Medium: In stock
  • Blue + Large: In stock

Black itself is still in stock.

Only Black + Large is unavailable.

A properly working swatches plugin should keep Black available. After the customer selects Black, it should disable only Large.

If every Black option, every size, or even every swatch on the page begins to show out of stock, something is incorrectly applying one variation’s status to a wider group of options.

Free Version Pro Version Live Demo Documentation

How to Fix All Swatches Showing Out of Stock

1. Check the Stock Status of Every Variation

Start inside the product rather than the plugin settings.

Check the show out of Stock Status of every variation.
Check the Stock Status of Every Variation

Go to:

Products → Edit Product → Product Data → Variations

Open each variation and check:

  • Stock status
  • Manage stock
  • Stock quantity
  • Backorders
  • Enabled status

Check all variations, not just the one you marked unavailable.

Sometimes another variation has accidentally been set to out of stock, disabled, or given a quantity of zero.

For example, you may expect the following:

Blue + Medium = In stock

but find

Stock quantity = 0

If several variations have incorrect inventory information, WooCommerce may show more swatches as out of stock than you expected.

Correct the underlying inventory data first.

2. Check Whether the Parent Product Is Out of Stock

This step is easy to overlook.

WooCommerce has variation-level inventory, but the parent variable product can also have inventory-related settings.

If the parent product is treated as unavailable, your swatches plugin may disable every option regardless of individual variation stock.

Check Whether the Parent Product Is Out of Stock
Check Whether the Parent Product Is Out of Stock

Open:

Product Data → Inventory

Check whether the parent product has been marked out of stock or whether stock management settings are interfering with variation-level inventory.

For most variable products where stock is controlled separately for each variation, the individual variations should remain the main source of availability.

If every swatch suddenly shows out of stock, parent-level inventory is worth checking.

3. Make Sure Variations Are Built Correctly

A missing or incorrectly configured variation can look like an unavailable option.

Make Sure Variations Are Built Correctly
Make Sure Variations Are Built Correctly

Suppose you have these attributes:

Colors: Black, Blue
Size: Small, Medium, Large

You can assume WooCommerce has six combinations.

But if only five actual variations exist, one combination is missing entirely.

Some swatch plugins visually treat missing combinations the same way they treat out-of-stock variations.

The problem becomes more noticeable when plugin logic is overly aggressive and several swatches show out of stock based on incomplete variation data.

Open the Variations tab and confirm that all intended combinations exist.

If necessary, use WooCommerce’s show out of stock option to generate variations from all attributes, then remove only combinations you genuinely do not sell.

4. Check Default Attribute Selections

Default selections can influence what customers initially see.

For example, imagine the default variation is

Check Default Attribute Selections
Check Default Attribute Selections

Black + Large

and Black + Large is not available.

When the page loads, WooCommerce may initially calculate availability using that combination.

A well-designed swatches plugin should handle the “show out of stock” situation correctly, but some plugins or themes may incorrectly leave other options in a disabled state.

Check:

Product Data → Variations → Default Form Values

Try removing the default selections temporarily.

Reload the product.

If the swatches no longer incorrectly show as out of stock, your default variation was likely causing the issue.

You can then choose an available default variation or leave the fields unselected.

5. Review the Swatches Plugin’s Availability Logic

Swatch plugins do not all handle unavailable combinations in exactly the same way.

Review the Swatches Plugin's Availability Logic
Review the Swatches Plugin’s Availability Logic

Open your swatch settings and look for options involving

  • Disable unavailable variations
  • Hide unavailable swatches
  • Stock-based swatches
  • Dynamic availability
  • Attribute behavior
  • Disable parent attribute
  • Cross out unavailable options
  • Variation threshold
  • AJAX variation loading

The important feature here is dynamic availability.

If a shopper selects Black, the plugin should recalculate available Size options based on Black.

It should not decide that Black is unavailable just because one Black variation is out of stock.

If all related swatches show out of stock, test different availability settings within the plugin.

6. Check WooCommerce’s Variation Threshold

WooCommerce has special behavior for products with a large number of variations.

Check WooCommerce's Variation Threshold
Check WooCommerce’s Variation Threshold

For larger variable products, variation data may not all be loaded onto the page immediately. WooCommerce can rely more heavily on AJAX requests to resolve valid combinations.

Some swatch plugins handle this perfectly. Others behave differently once a product crosses the variation threshold.

Such behavior can create situations where swatches show out of stock incorrectly on products with many combinations but work normally on simpler products.

Create a small test product with:

  • Two colors
  • Three sizes
  • Six variations

Mark only one variation as unavailable.

If the test product behaves correctly while your large product does not, investigate your plugin’s support for large variation sets and AJAX variation loading.

Free Version Pro Version Live Demo Documentation

7. Check Whether Custom Attributes Are Causing Confusion

Global WooCommerce attributes generally provide the cleanest structure for variation swatches.

Check Whether Custom Attributes Are Causing Confusion
Check Whether Custom Attributes Are Causing Confusion

Go to:

Products → Attributes

For common attributes such as Color and Size, global attributes are preferable.

If your product mixes global attributes with manually created custom attributes, a swatches plugin may have trouble matching terms consistently.

This can result in incorrect availability calculations where several options show out of stock even though WooCommerce still has valid combinations.

If possible, test the affected product using global Color and Size attributes.

You do not need to rebuild your whole catalog immediately. A clean test product can tell you whether attribute structure is contributing to the problem.

8. Test for Theme or Plugin Conflicts

Another plugin may also be changing WooCommerce variation behavior.

Test for Theme or Plugin Conflicts
Test for Theme or Plugin Conflicts

Common candidates include:

  • Product add-ons
  • Variation galleries
  • Quick-view plugins
  • Product bundles
  • Composite products
  • Optimization plugins
  • Custom variation scripts

Temporarily keep only:

WooCommerce + your swatches plugin

active in a safe staging environment.

Then test the affected product.

If the swatches stop incorrectly showing unavailable states, reactivate plugins gradually until the problem returns.

The same method works for themes.

Temporarily test with a standard WooCommerce-compatible theme. If swatches no longer show out of stock incorrectly, your theme may be modifying WooCommerce’s variation markup, classes, or JavaScript behavior.

9. Clear Cache and WooCommerce Transients

You can correct all the stock information and still see the old result.

Clear Cache and WooCommerce Transients
Clear Cache and WooCommerce Transients

Clear:

  • WordPress page cache
  • Server cache
  • CDN cache
  • Browser cache
  • WooCommerce transients

Then open the product in a private browser window.

This step is especially important after changing multiple variation stock statuses.

Cached frontend data can make available swatches show as out of stock even though WooCommerce now has the correct inventory information.

If the issue disappears in a private window, you probably had stale cached product or variation data.

10. Create a Simple Test Product to Find the Real Cause

When a complicated product has dozens of variations, troubleshooting every combination can take too long.

 Create a Simple Test Product to Find the Real Cause
Create a Simple Test Product to Find the Real Cause

Create a temporary product with:

Colors: Black, Blue
Size: Small, Medium, Large

Create all six variations.

Set only:

Black + Large = Out of stock

Leave everything else available.

Now test the frontend.

The correct behavior should be simple:

Black remains selectable.

After selecting Black, Small and Medium remain active while Large becomes disabled.

If all options show out of stock even on this clean product, the problem is probably related to your swatches plugin, theme, JavaScript, or global configuration.

If the test works perfectly, focus on the original product’s variation data.

Add Stunning Image Swatches for Fabric, Pattern, and Material Variations Read next Add Stunning Image Swatches for Fabric, Pattern, and Material Variations Sarwar Zaman Sarwar Zaman Aug 7, 2026 Read article

FAQs

Why do all WooCommerce swatches show out of stock when only one variation is unavailable?

This usually happens when variation combinations are configured incorrectly, the parent product has incorrect stock settings, or the swatches plugin is applying one unavailable variation’s status too broadly.

Should a color swatch show out of stock if only one size is unavailable?

No. If other sizes for that color remain purchasable, the color should normally stay active. Only the unavailable size combination should show out of stock after the relevant color is selected.

Can missing variations make swatches show out of stock?

Yes. A missing combination can be interpreted as unavailable. Confirm that every variation you intend to sell actually exists under WooCommerce’s Variations tab.

Can caching cause available swatches to show out of stock?

Yes. Cached product pages, WooCommerce transients, CDN caching, or browser cache can preserve older variation data. Clear the relevant caches after changing stock information.

How can I tell whether the problem is WooCommerce or my swatches plugin?

Create a simple variable test product with six combinations and make only one unavailable. If multiple swatches still show out of stock, test with your swatches plugin disabled or with a standard WooCommerce-compatible theme.

Conclusion

When every swatch appears unavailable because one variation has no stock, do not start changing the swatch design first.

Check the actual variation combinations, parent inventory, defaults, plugin availability logic, cache, and JavaScript behavior. WooCommerce should disable only the combinations customers can purchase.

Once that relationship is working correctly, your swatches can show “out of stock” accurately without hiding perfectly valid product choices.

Free Version Pro Version Live Demo Documentation
GS Variation Swatches
Found this useful? Share it
Variation Swatches icon

Made by GS Plugins

Try Variation Swatches

Replace variation dropdowns with color, image and button swatches.

  • Color, image & button swatches
  • Replaces variation dropdowns
  • Faster product choices
See the plugin
Sarwar Zaman
About the author

Sarwar Zaman

Hi, I'm Sarwar Zaman, founder of GS Plugins, creating tools that make WordPress effortless and powerful. When I’m not diving into code, I’m a dad who loves spending quality time with my family. Besides traveling and reading novels, writing blogs is the way I connect with people, sharing tips and stories to make the web a better place.

More articles by Sarwar Zaman

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

On this page

  1. First, Understand How WooCommerce calculates availability.
  2. How to Fix All Swatches Showing Out of Stock
  3. FAQs
  4. Conclusion
Share
GS Logo Slider iconSolid Testimonials iconGS Team Members iconGS Filterable Portfolio icon All plugins bundle Get all 12 Pro plugins and save up to 61% See bundles WordPress services Need help with your site? Talk to our team. Book a free call

Keep reading

Related articles

View all
Easy Way to Fix WooCommerce Swatches Not Showing on Shop Page
GS Variation Swatches 7 min read

Easy Way to Fix WooCommerce Swatches Not Showing on Shop Page

Your swatches look perfect on individual product pages, but the moment you visit the Shop or Category page, they disappear. This is…

Sarwar ZamanSarwar Zaman Aug 31, 2026
Out of Stock Variation Swatches Are Not Hidden, Blurred, or Crossed Out
GS Variation Swatches 7 min read

Out of Stock Variation Swatches Are Not Hidden, Blurred, or Crossed Out

A customer opens a variable product, sees several color or size swatches, clicks one, and only then discovers that the option is…

Sarwar ZamanSarwar Zaman Aug 25, 2026
Avoid Costly Duplicate Colors and Sizes by Organizing Product Attribute Terms
GS Variation Swatches 7 min read

Avoid Costly Duplicate Colors and Sizes by Organizing Product Attribute Terms

A WooCommerce catalog can become messy faster than expected. One product uses Navy, another uses Navy Blue, and a third uses Dark…

Sarwar ZamanSarwar Zaman Aug 22, 2026

Made by the GS Plugins team

Put these ideas to work on your site

Easy, well-supported plugins for logos, teams, portfolios, testimonials and WooCommerce. Start free, upgrade when you need more.

Explore plugins See bundles

Footer

GS Plugins

Build better WordPress sites, faster.Easy, well-supported plugins that save you hours of customization and development.

Resources

  • Documentation
  • Refund Policy
  • Privacy Policy
  • Terms of Use

Quick Links

  • About
  • Contact
  • Blog
  • Manage License
  • Affiliate Program
  • Sitemap

Free Tools

  • HTML Beautifier
  • HTML Minifier
  • CSS Minifier
  • CSS Beautifier
  • Case Converter

More Tools

  • Image Optimizer
  • JSON Minify
  • JSON Viewer
  • CSV to JSON
  • All Tools

Copyright © 2026 | GS Plugins, All Rights Reserved.

Cookie settings

4.6/5 · 540+ ratings on WP.org Paddle