Black FridayCyber Monday 2026
14Days
20Hrs
35Mins
01Secs
Flat20% OFF

Our biggest sale of the year20% off the first payment on all maintenance plans. Code BF2026

Grab the deal
WooCommerce

WooCommerce Product Variations Not Working? Fix Dropdowns and Prices

When WooCommerce variations are not working, the dropdown may be empty, options may be greyed out or the price may not change. Check attributes, variation data, stock, JavaScript and templates.

wpallsolution Updated 9 min read

WooCommerce variations not working can look like an empty dropdown, options that are greyed out, a price that never updates, or an Add to cart button that stays disabled. Most of these come from the product’s own data: attributes, variation prices and stock. A smaller number come from the theme, a script error or a template override. This guide checks the data first, because it is the quickest to fix.

Quick answer

Open the product and check that each attribute is saved and marked for variations, that variations were generated, and that every variation has a regular price and sensible stock. Variations without prices do not show in your store. If you changed attributes after creating variations, you may need to redefine the variations. If the data is correct and the dropdown still does nothing, look for JavaScript errors in the browser console and test with a default theme and only WooCommerce active, because the theme or another plugin may be changing the product template.

How this guide was prepared: the steps follow the WooCommerce documentation listed under Sources, read on October 19, 2026. We did not reproduce this problem on a live store for this guide, so the steps are research-based. Themes and extensions that restyle variations behave differently, and their documentation comes first for their own features.

Before you change anything

  • Back up the site and, for bulk changes, work on staging. See Is your WordPress backup really safe?
  • Export the product or note its attributes, prices and stock before regenerating variations.
  • Do not delete variations that have orders before you understand what the change does.
  • Test logged out, in a private window, after every change, because caches can show old product pages.

WooCommerce variations not working: the decision tree

WooCommerce variations not working flowchart: five questions covering attributes, variation prices, stock, JavaScript and price display
Five questions, asked in order, separate data problems from theme problems.
  1. Are the attributes marked Used for variations? If not, fix the attribute setup (Step 1).
  2. Does every variation have a price and a valid combination? If not, fix the variation data (Steps 2 and 3).
  3. Are options greyed out or out of stock? Check stock and missing combinations (Step 4).
  4. Does the dropdown do nothing on the product page? Look for a script error or theme problem (Steps 5 and 6).
  5. Is only the price range wrong in listings? Check price display and caching (Step 7).

Symptoms and likely causes

What you seeLikely causeStart with
No dropdown on the product pageAttributes not used for variations, or no variationsSteps 1 and 2
A variation is missing from the dropdownNo regular price, or not enabledStep 3
Options greyed outCombination missing or out of stockStep 4
Price or image does not changeJavaScript error or theme overrideSteps 5 and 6
Wrong price range in the shopVariation prices, sale prices or cacheStep 7
Behaviour changed with many variationsLarge products handled differentlyStep 2

7 steps to fix WooCommerce variations that are not working

Step 1: Check the attributes

WooCommerce describes the setup: choose Variable product in the Product data dropdown, open the Attributes tab, add a global attribute or create one for this product, and add the values. Custom values are separated with a vertical bar, for example Medium | Large | XL. Make sure the values are saved and that the attribute is set to be used for variations. If an attribute is saved only for display, it will not create a dropdown.

Step 2: Generate or re-define the variations

In the Variations tab you can generate all possible combinations or add them manually. WooCommerce warns that if you alter product attributes after creating variations, you may need to redefine the variations for the combinations to work correctly. It also notes that the dynamic product dropdowns behave differently for products with more than 30 variations. After any attribute change, regenerate or edit the variations, save, and test.

Step 3: Give every variation a price

WooCommerce states that the regular price is required for a variation and that variations without prices don’t show in your store. Open each variation and check the price, the sale price (if any), the stock status and whether it is enabled. Use the Bulk actions dropdown at the top of the Variations tab to set price or stock for all variations at once, then review the result.

Step 4: Check stock and missing combinations

If a combination does not exist as a variation, the dropdown greys it out or shows it as unavailable. If a variation is out of stock, it is unavailable too. WooCommerce lists inventory options for variable products at product and variation level, so check where stock is managed and whether a variation has quantity zero. Also check the Any option: a variation set to “Any” for an attribute matches every value of that attribute.

Step 5: Look for JavaScript errors

If the data is right but nothing changes when you pick an option, open the browser’s developer tools on the product page and check the Console. An error from a theme or plugin script can stop the variation form from working, and it can also stop the price from updating. Try a private window without extensions, and note which file the error names. A minify or combine setting in your cache plugin can also break scripts, so try excluding that file or switching the setting off for a test.

Step 6: Test the theme, templates and plugins

Many themes and add-ons replace the product page or add swatches. Follow WooCommerce’s conflict test on staging: update everything, switch to a default theme such as Twenty Twenty-Five or Storefront, deactivate all plugins except WooCommerce, and test. Reactivate plugins one at a time, testing after each. If a theme overrides WooCommerce templates, compare them with the current WooCommerce version. Our guide How to find the plugin that broke your site explains the method.

Step 7: Check the price display and caching

For a variable product, shop pages normally show a price range from the lowest to the highest variation price. If the range looks wrong, check the variations’ regular and sale prices, and clear all caches, including the host and CDN cache. Check that prices entered inclusive or exclusive of tax match your tax settings. If the single product page is right but listings are old, the problem is a cache, not the variation.

A check that is often missed: how many variations you have

According to the WooCommerce documentation on variable products, dropdowns are dynamic by default for up to 30 variations; if a product has more than 30, the dropdowns are static. The documentation says this improves site performance. In practice this means that a product with many combinations can behave differently from a small one: choices may not narrow down as you select them, and a combination that does not exist can still be picked. If your product has more than 30 variations, test it as a visitor before assuming something is broken, and consider splitting it into several products or reducing the options.

The same page notes two other points worth checking. Variations without prices do not show in your store, and when you use “Any” attributes, duplicate variations resolve to the first match in the sorted list, so the documentation recommends defining all attributes. If the dropdown looks right in the admin but wrong on the store, compare these three things first: price set on every variation, no accidental duplicates, and the number of variations.

Related guides: WooCommerce checkout not working, WooCommerce cart empty after adding products and WooCommerce coupon not working.

Version and hosting differences

  • Swatch, bundle and add-on plugins change how variations look and may bring their own settings.
  • Block themes and classic themes handle product templates differently.
  • Large variable products need enough PHP resources. WooCommerce’s System Status report shows limits such as PHP Max Input Vars, which can matter when saving many variations.
  • Menus differ slightly between WooCommerce versions.

How to verify the fix

  • Each combination you sell can be selected, shows the right price and image, and adds to the cart.
  • Unavailable combinations are greyed out for the right reason.
  • The cart and checkout show the chosen variation, price and stock.
  • It works on mobile and desktop, and logged out.

How to prevent it from happening again

Frequently asked questions

Why is my variation missing?

Most often it has no regular price, is not enabled, or does not exist as a combination.

Do I need to regenerate variations after changing attributes?

You may need to redefine them, as WooCommerce warns. Back up first.

Why does it work in the admin but not the store?

The store page uses your theme and scripts. A script error or template override is the usual cause.

Is there a limit on variations?

WooCommerce notes that the dropdown behaves differently with more than 30 variations.

What to do next

Check the data, then the script, then the theme. If WooCommerce variations are still not working, send the product’s attribute and variation settings, the console error and your theme name to your theme or plugin developer. If you would like a person to look, wpallsolution offers independent plugin support, and our WooCommerce development page explains what we build. We cannot promise a fix without seeing your setup.

Sources and official documentation

Last reviewed: October 19, 2026. WooCommerce is a trademark of its owner. wpallsolution is not affiliated with or endorsed by WooCommerce or Automattic.

Keep reading

More guides

Need a hand with this?

Tell us what is happening. We reply with honest next steps.

Talk to us