“Please enter an address to continue” in WooCommerce: the missing shipping country
Despite the wording, this message is about one field: the shipping country. Here is when WooCommerce ends up with an empty country, which usually comes down to a checkout field that was hidden, removed or made optional.
In this article13 sections
The wording suggests the whole address is missing, but WooCommerce is checking one thing: the country of the shipping address. When the cart needs shipping and that country is empty, it can’t work out shipping, and it stops the order with this message.
A normal checkout form makes this hard to hit, because the country field is required. So when customers see it, something has usually changed the form.
The exact message#
Please enter an address to continue.
Who sees it: Shoppers, after pressing Place order on the classic checkout, when the cart contains something that needs shipping. The checkout block doesn’t use this wording.
What WooCommerce checks#
After the posted fields are validated, and only if the cart needs shipping, WooCommerce:
- Takes the shipping country from the form. If Ship to a different address is unticked, that is the billing country copied across.
- If the form had no shipping country field at all, uses the country already stored for the customer, which for a new visitor is the default customer location.
- If the result is empty, adds this message, unless “Billing Country / Region is a required field” was already reported for the same order.
That last condition is why a plain store shows the required-field error instead. This message comes through when the country is empty but nothing reported it as a missing required field.
Causes and how to fix each one#
1. The country field was removed or hidden#
Single-country stores often hide the country field with a checkout field editor or a snippet. If the field isn’t in the form, WooCommerce uses the customer’s stored country. When there is no default location, that is empty, and every new customer gets this message. A field marked hidden is also no longer required, so it can’t produce the normal required-field error.
Check: Open the checkout in a private window and look for the Country / Region field in both the billing and shipping sections. Check any checkout field plugin’s settings.
Fix: Show the country field again. If you must hide it, make sure a default location is set, as described in the next cause.
2. No default customer location#
Under WooCommerce > Settings > General, Default customer location decides which country a new visitor starts with. With No location by default, the country starts empty. The default is also empty if your shop’s own country isn’t in your Selling location(s). On its own this is harmless, because the customer picks a country. Combined with a missing or optional country field, it produces this message.
Check: Look at Default customer location and Selling location(s) in WooCommerce > Settings > General.
Fix: Choose Shop country/region or a Geolocate option, and make sure your own country is one you sell to.
3. The country field was made optional#
A checkout field editor or a snippet can untick Required on the country field. Customers can then leave it on its empty choice. WooCommerce doesn’t complain about the field itself, so this message is the only error they see.
Check: Look at the country field’s Required setting in your checkout field plugin, or search your theme and snippets for <code>billing_country</code>.
Fix: Make the country field required again.
4. Ship to a different address with no shipping country#
When the customer ticks Ship to a different address and leaves that address’s country empty, WooCommerce reports the missing field and adds this message as well. Only the billing country suppresses the extra message, so seeing both together is expected.
Check: Ask the customer whether they ticked Ship to a different address.
Fix: The customer picks a shipping country. Setting a default customer location pre-fills it.
5. A custom or one-page checkout sent an incomplete form#
Plugins that replace the checkout, such as one-page, multi-step or express checkout tools, post their own form. If one leaves out the address fields, WooCommerce sees no country even though the customer filled one in on screen. This cause is outside WooCommerce.
Check: Test the same order with that plugin turned off, using the Health Check & Troubleshooting plugin.
Fix: Update the plugin or contact its developer.
Quick reference#
| Cause | How to check | Fix |
|---|---|---|
| The country field was removed or hidden | Open the checkout in a private window and look for the Country / Region field in both the billing and shipping sections. Check any checkout field plugin's settings. | Show the country field again. If you must hide it, make sure a default location is set, as described in the next cause. |
| No default customer location | Look at Default customer location and Selling location(s) in WooCommerce > Settings > General. | Choose Shop country/region or a Geolocate option, and make sure your own country is one you sell to. |
| The country field was made optional | Look at the country field's Required setting in your checkout field plugin, or search your theme and snippets for <code>billing_country</code>. | Make the country field required again. |
| Ship to a different address with no shipping country | Ask the customer whether they ticked Ship to a different address. | The customer picks a shipping country. Setting a default customer location pre-fills it. |
| A custom or one-page checkout sent an incomplete form | Test the same order with that plugin turned off, using the Health Check & Troubleshooting plugin. | Update the plugin or contact its developer. |
Reproduced on a test store#
We set up each case below on a clean WooCommerce 11.2.1 store on 6 November 2026 and recorded exactly what it showed.
| What we did | What WooCommerce showed |
|---|---|
| Settings > General: Default customer location set to No location by default. A snippet removes the country fields: add_filter( 'woocommerce_checkout_fields', function ( $f ) { unset( $f['billing']['billing_country'], $f['shipping']['shipping_country'] ); return $f; } ). Physical simple product priced 10, a flat rate in Rest of the world. New logged-out session, add 1, fill every visible field, place the order. | Please enter an address to continue. |
| No location by default. Snippet sets $f['billing']['billing_country']['required'] = false via woocommerce_checkout_fields. Logged out, leave Country / Region on its empty choice, fill the rest, Ship to a different address unticked, place the order. | Billing State is a required field. | Please enter an address to continue. |
| No location by default, no snippets. Logged out, fill the billing address including a country, tick Ship to a different address, leave the shipping Country / Region empty, place the order. | Shipping Country / Region is a required field. | Shipping State is a required field. | Please enter an address to continue. |
| No location by default, no snippets. Logged out, leave the billing Country / Region empty, Ship to a different address unticked, place the order. | Billing Country / Region is a required field. | Billing State is a required field. |
| Same as country-field-removed, but the cart contains only a virtual product. | No message. |
For developers#
If you remove the country fields on purpose, give WooCommerce a country to use. One way is to set the default location through the filter it already applies:
add_filter( 'woocommerce_customer_default_location', function () {
return 'GB';
} );The value must be a country you sell to. You can also fill the field in woocommerce_checkout_posted_data. To see the data WooCommerce validated, hook woocommerce_after_checkout_validation, which receives the posted data and the errors.
Where this lives in WooCommerce 11.2.1:
includes/class-wc-checkout.php,WC_Checkout::validate_checkout: When the cart needs shipping and the shipping country is empty, adds the message unless the billing country is already reported as a missing required field.includes/class-wc-checkout.php,WC_Checkout::get_posted_data: When Ship to a different address is unticked, copies the billing fields into the shipping fields.includes/class-wc-checkout.php,WC_Checkout::validate_posted_data: Required-field errors skip fields that are not required or are marked hidden.includes/wc-core-functions.php,wc_get_customer_default_location: The fallback country is blank with No location by default, or when the shop’s base country isn’t one you sell to.includes/class-wc-cart.php,WC_Cart::needs_shipping: Virtual-only carts, and stores with shipping disabled or no shipping methods, never reach this check.
Related WooCommerce errors#
- Unfortunately, we do not ship to Canada. Please enter an alternative shipping address.
- No shipping method has been selected. Please double check your address, or contact us if you need any help.
- Billing ZIP Code is not a valid postcode / ZIP.
Back to the WooCommerce error reference.
Frequently asked questions#
The customer filled in their whole address. Why does WooCommerce say to enter one?
WooCommerce only checks the shipping country here. If the country field is hidden, removed or left empty, the rest of the address doesn’t count.
Why do some customers get it and others don't?
Logged-in customers who ordered before already have a country stored on their account, so a missing field doesn’t matter for them. New visitors start with only the default customer location.
Does this appear for downloads or other virtual products?
No. The check only runs when something in the cart needs shipping.
I sell in one country only. Do I need the country field?
WooCommerce needs a country. When you sell to one country, the field offers only that country, already selected, so leaving it in place costs the customer nothing.