Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

WooCommerce classic checkout "There are no shipping options available.": zones, methods and the rules behind them

Technical article
Hosting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

On the classic checkout, WooCommerce shows "There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help." when the customer has entered an address and WooCommerce found no shipping rate for it. The address may match no zone, the zone it matches may have no enabled method, or a method may have a rule the cart does not meet. The fault is almost always in the shop's shipping zones and methods, so start with the zone the address should match.

What the error means

In the WooCommerce 11.3.1 template templates/cart/cart-shipping.php, the message is printed when there are no available methods, shipping has been calculated, an address is present, and the page is not the cart. The same template prints other sentences in other states. Before an address exists it says "Enter your address to view shipping options." On the cart page it says "No shipping options were found for" followed by the address.

Two other messages look similar and have other causes. In includes/class-wc-checkout.php at 11.3.1, an address in a country the shop does not ship to gives "Unfortunately, we do not ship" followed by the country, and a missing choice gives "No shipping method has been selected. Please double check your address, or contact us if you need any help." The checkout block, used by newer stores, has its own sentence: in 11.3.1 it is "No shipping options are available for this address. Please verify the address is correct or try a different address." and in 9.4.3 it was "There are no shipping options available. Please check your shipping address."

WooCommerce's shipping zone page explains how the rates are found. Customers "only see the methods available for their address and its corresponding shipping zone", zones are assigned "based on the first one the customer matches", and each customer matches only one zone. If a customer enters an address in a zone without shipping methods, "they will be informed that no shipping option is available."

In includes/class-wc-shipping.php at 11.3.1, for a package that is not shippable, such as one addressed to an invalid country, WooCommerce does not calculate rates and returns only local pickup rates. The same file reuses the rates stored in the customer's session unless the package has changed or Debug mode is on.

Likely causes

Cause What you see How to confirm
The zone the address matches has no methods, or all are switched off The message for every address in that region The zone's list shows no method, or the Enabled switch is off
A broader zone higher in the list matches first A narrower zone's methods never appear The zones page lists the broader zone first (WooCommerce 11.1 and later also shows an inline warning)
The address matches no zone and Rest of the world has no methods The message for addresses outside every zone The address's region is in no zone, and the Rest of the world zone is empty
A method's own rule is not met, such as free shipping with a minimum order The message only for some carts The method's requirement is not met by the cart
Shipping location(s) excludes the country "Unfortunately, we do not ship" or no rates WooCommerce > Settings > General restricts or disables shipping
A postcode pattern is written in a way WooCommerce does not match One suburb or postcode fails The zone's postcode list has a range with a wildcard
A method comes from an extension or custom code A method is missing from the Add shipping method list The zones page says a method that does not appear is likely from a third-party extension or custom code

Prove the cause before changing anything

All of these steps only read, except the debug switch, which has its own steps below.

1. Match the page. The classic checkout shows the wording above. If the sentence is the block checkout's, the same zones and methods apply but the text differs.

2. Write down the address. Note the country, state or province, and postcode that the customer typed.

3. Read the shipping location setting. The zones page says to check WooCommerce > Settings > General first, and the general settings page says Shipping location(s) can limit the countries or disable shipping. Write down its current value.

4. Read the zones. Go to WooCommerce > Settings > Shipping > Shipping zones. Work down the list the way WooCommerce does: the first zone whose region and postcode rules fit the address is the one. Note its name and methods.

5. Read each method. Check that the Enabled switch is on. For free shipping, read the Free shipping requires value and compare it with the cart. For flat rate, read the Cost.

6. Compare the cart. Note the cart total and any coupon, because a minimum order amount or coupon rule can remove the only method.

7. Optional: show the matched zone. WooCommerce's settings page says that Debug mode in the shipping settings displays the customer's matched shipping zone in a notice on the front end of the site, and bypasses the shipping rate cache. Use the steps in the next section.

Fix

See which zone matched

First save the current state: write down the current value of Debug mode in the shipping settings and the time.

Disruptive step: the next setting makes the shop show the matched zone in a notice on its front end, and it bypasses the shipping rate cache.

In WooCommerce > Settings > Shipping, turn on Debug mode and save. Open the checkout page and read the notice.

To undo it: set Debug mode back to the value you wrote down and save, then reload the checkout and confirm the notice is gone.

Add or switch on a method in the matched zone

First save the current state: write down the zone's methods, their Enabled switches and the time.

Risk: the next change makes every customer whose address matches this zone see the method, with its price, at their next checkout.

Go to WooCommerce > Settings > Shipping > Shipping zones, select Edit on the zone, and either turn on the existing method's Enabled switch or select Add shipping method, choose it and select Continue. Set its options and save the zone.

To undo it, use the one case that applies. If you turned on a method that was already in the zone, edit the zone again, set its Enabled switch back to the value you wrote down and select Save changes.

If you added a method, the zone's list you wrote down did not hold it, so it has to be removed.

Risk: the next step removes the method you added from the zone, with the options you set on it, and cannot be undone. Adding the method again means entering its options again. Customers whose address matches the zone stop seeing it at their next checkout.

Edit the zone, select Delete on the method you added and select Save changes. The zone's methods now match what you wrote down.

Then run a test checkout for an address in that zone.

Put a narrower zone above a broader one

First save the current state: write down the order of the zone names, top to bottom, and the time.

Risk: the next change alters which zone, and so which prices, every customer matches. Zones are matched from the top, and WooCommerce says to order them from the smallest area to the largest.

On the shipping zones list, drag the narrower zone above the broader one by its handle and select Save changes.

To undo it: drag the zones back into the order you wrote down and save, then run a test checkout for an address that matches the zone.

Free shipping and extension methods

WooCommerce's free shipping page lists the Free shipping requires options: no requirement, a valid free shipping coupon, a minimum order amount, either of those, or both. A method that does not meet its option is not offered. The zones page says a method that cannot be added is likely provided by a third-party extension or custom code, and points to that extension's own documentation.

Example (illustrative): at shop.example.com, a customer in Victoria reaches the checkout and sees the message. The zones list has Australia (all states) with Flat rate, and Rest of the world with no methods. Someone switched Flat rate off for a sale. The administrator writes down the zone's methods, turns Flat rate back on in Australia, and the next checkout shows the flat rate.

Confirm the fix

  1. Repeat the same address and cart through the classic checkout. A shipping option should appear.
  2. Try one address in each zone, and one outside every zone, so you see what customers outside your area see.
  3. If you used Debug mode, confirm it is back to the value you wrote down and the notice is gone.

What to watch afterwards

  • After any change to a zone or method, run a test checkout for an address in that zone.
  • When you add a narrower zone, such as a postcode area, place it above the country zone.
  • WooCommerce's page recommends the wildcard form for postcodes with non-numeric characters. Wildcards inside numeric ranges are not supported.

Risks and limits

  • These commands have not been run or lab-tested.
  • Shipping settings change what customers pay at once.- The WooCommerce zones page describes behaviour in WooCommerce 11.1 and 11.3.1. Older versions may word the notices and the zone warning differently.
  • Third-party shipping extensions have their own rules and messages; their own documentation applies.

Sources