Troubleshooting · Troubleshooting
How to Fix "Sorry, This Product Cannot Be Purchased"
Short answer
The error means WooCommerce refused to add the product to the cart because it failed a basic check. Open the product and set its status to Published, enter a Regular price (0 for a free product), and set the stock status to In Stock. For a variable product, repeat the price and stock checks for every variation, then test the product on the default WooCommerce checkout page.
Key takeaways
- WooCommerce blocks a product that is unpublished, out of stock, or has no price.
- A free product needs its Regular price set to 0; a blank field does not count.
- Every variation of a variable product needs its own price and stock status.
- Out of stock means no purchase; On backorder still allows buying with a notice.
- Test on the default WooCommerce checkout to tell a product problem from a checkout problem.
What does “Sorry, this product cannot be purchased” mean?
It means WooCommerce refused to add the product to the cart because the product failed a basic check.
Before adding a product to the cart, WooCommerce checks that the product is published, in stock, and has a price defined, and the shopper sees this message when any of those checks fails, as the AlgolPlus cart FAQ explains.
CartFlows describes the same message on checkout pages: it means one or more of the selected products are not purchasable, as its guide to the error states.
The message can show on the product page, in the cart, or at checkout, and the fix is almost always in the product settings. If the add to cart button itself does nothing, that is a different fault, covered in our guide to a broken add to cart button.
What usually causes this error?
The usual causes are a missing price, a draft or private status, missing subscription details, or stock and catalogue settings, as the CartFlows guide lists.
| Cause | Where to check | Fix |
|---|---|---|
| No price set | Product data > General | Enter a Regular price, or 0 for a free product |
| Draft or private status | Publish panel | Change the status to Published |
| Out of stock | Product data > Inventory | Set stock status to In Stock or add quantity |
| Variation without a price | Product data > Variations | Give every variation a Regular price |
| External product type | Product data > General | Check the Product URL, since it links out |
| Catalogue or membership lock | Catalogue and membership settings | Turn off catalogue mode for the product |
Work through the causes in the order below, starting with the product status, because the first three checks fix most cases. CartFlows published its guide on 9 June 2026 and updated it on 10 June 2026, and the AlgolPlus cart FAQ was updated on 26 May 2026.
Is the product published?
A draft or private product cannot be purchased, so the product status must be Published.
Go to Products > All Products and look at the Status column to spot a draft at a glance. Then open the product and check the Publish panel, which the WooCommerce product editor guide places in the top-right column of the edit screen.
If the panel says Draft, Pending Review, or Private, change it to Published and click Update. Imports and bulk edits can leave a product in Draft, so check the status even when the product looks complete on the shop page.
Does the product have a price?
A product with no price cannot be added to the cart, so open Product data > General and fill in the Regular price field.
For a free product, type 0 in the Regular price field, because a blank field is not the same as 0, as the AlgolPlus cart FAQ explains.
The same FAQ notes that this message does not relate to discount rules, but to WooCommerce core product validation. The FAQ belongs to the Advanced Dynamic Pricing for WooCommerce plugin, listed on WordPress.org.
A Sale price is optional and never replaces the Regular price. If you use a pricing or discount plugin, check its settings too, because a rule can hide or change the price the shopper sees.
Is the product in stock?
An out-of-stock product cannot be purchased, so check Product data > Inventory before you change anything else.
The WooCommerce product editor guide lists 3 stock status options: In Stock, where sales continue; Out of stock, where the item cannot be purchased; and On backorder, where customers can buy with a notice that restocking takes time.
If Manage stock is checked, WooCommerce uses the Quantity field and automatically sets the item to Out of stock when the quantity reaches zero, as the same WooCommerce guide states. A quantity of 0 with stock management on is therefore the same as marking the product out of stock by hand.
When stock is managed, you can also choose how backorders behave: Do not allow, Allow but notify customer, or Allow. Pick Do not allow when you cannot fulfil orders for items you do not hold.
Why does a variable product show this error?
A variable product fails when even one chosen variation lacks a price or stock, so check every variation, not just the parent product.
The WooCommerce variable product guide marks Regular Price as required for each variation and warns that variations without prices do not show in your store.
Each variation can have its own price, stock, image, and more, so a shirt in size Large can fail while size Medium works, as the same WooCommerce guide explains. That is why the error can seem random: it follows the exact variation the shopper picked.
- Open Product data > Variations.
- Expand each variation and check its Regular price and stock status.
- Use the Bulk actions menu to set a price for all variations at once, then click Save changes.
If the product has more than 15 variations, navigation arrows appear at the top and bottom of the list, so page through them all instead of checking only the first page, as the WooCommerce variable product guide notes.
Could the product type or catalogue settings block buying?
Some products are never meant to be bought on your site, so check the product type and any catalogue or membership settings.
WooCommerce ships with 4 default product types — Simple, Grouped, External/Affiliate, and Variable — and each behaves differently, as the WooCommerce product editor guide lists.
An External or Affiliate product links out to a Product URL instead of adding to the cart, so shoppers see a button that takes them to another site. A Grouped product is a container of other products, and the items inside it carry the prices.
Catalogue visibility is not the same as purchasability: a catalogue-mode, membership, or theme setting can hide the buy button on purpose while the product stays visible.
If the product should be buyable, switch those settings off for it, or ask the plugin author how to exempt one product. For a wider look at store settings, see How Do WooCommerce Settings Work?.
How do you test whether the fix worked?
Test the product through the default WooCommerce checkout page, because that shows whether the product or the checkout setup is at fault.
CartFlows advises the same test: try buying the product on the default WooCommerce checkout page, and if the same error appears there, the product is not set up right, as its guide to the error states.
- Empty the cart, then add the fixed product from the shop page.
- Go through the default checkout as a shopper would.
- If it works there, the product is fixed, and the fault lies in your custom checkout or theme.
If the fixed product still fails on the default checkout, switch to a default theme such as Storefront and try again, since the AlgolPlus FAQ uses the same theme test to rule out theme pricing changes.
Clear your cache after the fix, or the shop page may still show the old product state. The best LiteSpeed Cache settings for WooCommerce explain how to clear the cache without breaking the shop.
If the default checkout and a default theme still fail while the product settings look right, open WooCommerce > Status and share the report with your host or with WooCommerce support. The guide How Do You Read the WooCommerce Status Report? explains what each part of that report means.
What mistakes should you avoid?
Avoid the six errors below, because each one leaves the product unpurchasable even after the rest is fixed.
- Leaving the Regular price blank for a free product instead of typing 0.
- Setting a price on the parent product but not on each variation.
- Editing the checkout plugin first when the product itself is the fault.
- Forgetting to click Update after changing the status, price, or stock.
- Treating catalogue visibility as proof that a product can be bought.
- Testing only on a custom checkout page and blaming the checkout.
Work through the checks in order, save after each change, and retest on the default checkout, because a retest after each change shows which fix worked.
Frequently asked questions
Why does a free product show this error?
A free product still needs a price that WooCommerce can read. Type 0 in the Regular price field, set the status to Published, and set the stock status to In Stock. A blank price field is not the same as 0, so WooCommerce treats the product as unpriced and blocks it.
Can an out-of-stock product still be bought?
Only if backorders are allowed. With stock management on, set Allow backorders to Allow or Allow but notify customer, and shoppers can buy with a notice. If the stock status is Out of stock and backorders are off, the product cannot be purchased until you add quantity or change the status.
Why does only one size of a variable product fail?
Each variation has its own price and stock settings, so one size can fail while the others work. Open Product data > Variations, expand the failing variation, and check its Regular price and stock status. A variation with no price does not show in the store at all.
Does hiding a product from the shop stop it being bought?
No. Catalogue visibility only controls where the product appears, not whether it can be bought. A product hidden from the shop can still be purchased through a direct link. Catalogue-mode or membership plugins are different: they can remove the buy button on purpose.
I fixed the price but the error is still there. What next?
Check the other two checks: the status must be Published and the stock status must be In Stock, with a quantity above 0 if stock is managed. Then clear your cache and test the product on the default WooCommerce checkout page. If it still fails there, the product setup is still wrong.
Is this error caused by my payment gateway?
No. The error appears before payment, when WooCommerce validates the product as it goes into the cart. A gateway problem would show later, at the payment step. Fix the product status, price, and stock first, and only look at payment settings if the error appears after the cart step.
Sources
- WooCommerce Product Editor settings WooCommerce
- Variable Products WooCommerce
- How to Fix the “Sorry, This Product Cannot Be Purchased” Error CartFlows
- Cart FAQ – Discounts & Pricing Rules in Cart AlgolPlus
- Advanced Dynamic Pricing for WooCommerce WordPress.org
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
