Every mandatory input on an e-commerce checkout form adds friction. In standard WooCommerce stores, forcing customers to provide a telephone number is one of the most reliable ways to lose completed orders.
Research from the Baymard Institute shows that roughly 14% of online shoppers actively abandon checkouts due to aggressive phone number requirements. When forced, many customers either leave the site or submit fake numbers like 123-456-7890 to bypass the prompt.
Understanding how to make the phone number optional at WooCommerce checkout allows you to remove this barrier without breaking order processing.
However, modern WooCommerce installations introduce a technical divide: the traditional WordPress Customizer setting has no effect if your site runs the modern WooCommerce Block Checkout. Additionally, automated shipping integrations like ShipStation, EasyPost, or carrier APIs can reject orders that arrive without a telephone record.
This guide covers how to make phone fields optional across both checkout architectures, how to clean up field labels, and how to protect automated shipping pipelines from carrier validation errors.
Why You Should Make Phone Numbers Optional in WooCommerce
Online shoppers guard their contact details carefully. Forcing a phone number at checkout introduces two distinct conversion obstacles:
- Privacy resistance: Buyers routinely assume that telephone numbers will feed automated marketing campaigns, SMS spam lists, or third-party data brokers. When buying a simple retail item or digital download, demanding private telephone data feels disproportionate.
- Mobile autofill failures: When customers complete checkout on mobile devices using Apple Pay, Google Pay, or browser autofill, address and payment fields populate automatically. However, browser autofill profiles often omit telephone numbers or fail to match WooCommerce form selectors. If the field is mandatory, submission halts.
Unless your warehouse operations call every buyer prior to fulfillment, making phone numbers optional at checkout directly reduces abandoned carts.
The Two WooCommerce Checkout Systems
Before changing settings, confirm which checkout system your store runs. WooCommerce currently operates two distinct checkout architectures:
- The Modern Block Checkout: Built on React and the WordPress Gutenberg editor (
<!-- wp:woocommerce/checkout -->). This is the default on modern WooCommerce installations. - The Classic Shortcode Checkout: Powered by the legacy
[woocommerce_checkout]shortcode, PHP template files, and jQuery AJAX handlers.
Settings adjusted in the classic Customizer do not apply to the Block Checkout. Identify your system first to apply the correct method.
Method 1: Make Phone Optional in WooCommerce Block Checkout (No Code)
If your checkout page uses Gutenberg blocks, configure field requirements directly within the page editor.
Step 1: Open the Checkout Page
From your WordPress dashboard, navigate to Pages > All Pages and click Edit on your designated Checkout page.
Step 2: Select the Address Block
Click inside the checkout area to select the Block hierarchy. In the block canvas or Document List View, click on the Shipping Address or Billing Address sub-block.
Step 3: Configure Phone Field Settings
Open the right-hand Block Inspector panel (the settings gear icon). Under the Address options section, locate the Phone dropdown.
WooCommerce provides three choices:
- Hidden: Strips the phone input entirely from the checkout layout.
- Optional: Displays the input with an optional badge, allowing shoppers to provide a number voluntarily.
- Required: Default setting that blocks checkout submission if left blank.
Select Optional and click Update to save your page.
Because the Block Checkout stores attributes in block JSON data, this setting remains intact across core WooCommerce updates.
Method 2: Make Phone Optional via Classic WordPress Customizer
If your store runs the classic shortcode [woocommerce_checkout], WooCommerce includes a built-in control inside the WordPress Customizer.
Step 1: Open the Customizer
In your WordPress admin menu, navigate to Appearance > Customize.
Step 2: Open WooCommerce Checkout Controls
Select WooCommerce from the sidebar, then click Checkout.
Step 3: Switch Phone to Optional
Find the setting labeled Phone field and select Optional from the dropdown menu. Click Publish at the top of the Customizer panel.
Appearance > Customize > WooCommerce > Checkout
βββ Phone field: [ Optional βΌ ]
Note on Theme Conflicts: Some premium WordPress themes override WooCommerce core template files (form-billing.php) and hardcode the phone field as required. If you select Optional in the Customizer but a red asterisk persists on your live checkout, your theme is overriding core settings. In that scenario, use Method 3 below.
Method 3: Make Phone Field Optional Using a PHP Filter Hook
For classic checkouts where theme templates or page builders ignore Customizer options, a targeted WooCommerce filter hook guarantees the field remains optional.
Add the following code to your child themeβs functions.php file, or add it through a code snippet plugin like WPCode:
/**
* Make billing phone number optional at WooCommerce checkout.
* Hooks into woocommerce_billing_fields to override theme defaults.
*/
add_filter( 'woocommerce_billing_fields', 'blogitems_make_phone_optional', 20, 1 );
function blogitems_make_phone_optional( $fields ) {
if ( isset( $fields['billing_phone'] ) ) {
$fields['billing_phone']['required'] = false;
}
return $fields;
}
Making Both Billing and Shipping Phones Optional
If your store uses a separate shipping phone input, apply the filter to both field arrays:
/**
* Make both billing and shipping phone numbers optional at checkout.
*/
add_filter( 'woocommerce_billing_fields', 'blogitems_make_billing_phone_optional', 20, 1 );
add_filter( 'woocommerce_shipping_fields', 'blogitems_make_shipping_phone_optional', 20, 1 );
function blogitems_make_billing_phone_optional( $fields ) {
if ( isset( $fields['billing_phone'] ) ) {
$fields['billing_phone']['required'] = false;
}
return $fields;
}
function blogitems_make_shipping_phone_optional( $fields ) {
if ( isset( $fields['shipping_phone'] ) ) {
$fields['shipping_phone']['required'] = false;
}
return $fields;
}
Developer Note on Block Checkout Compatibility: Classic PHP filter hooks like woocommerce_billing_fields operate on server-rendered classic forms. They do not alter client-side field validation in the modern Block Checkout, which queries field definitions through the WooCommerce Store API (/wp-json/wc/store/v1/checkout). To manage fields in Block Checkout, use Method 1 or register client-side extensions via the @woocommerce/blocks-checkout package.
Using native code filters instead of installing heavy checkout management plugins preserves site speed and honors the 5-plugin rule for fast WordPress sites.
How to Remove the β(optional)β Label Badge
When you set the phone field to optional, WooCommerce automatically appends an (optional) badge next to the input label.
If you prefer a clean layout without label text clutter, you can remove the badge using a small filter hook:
/**
* Remove the (optional) text badge from WooCommerce checkout field labels.
*/
add_filter( 'woocommerce_form_field', 'blogitems_remove_optional_badge', 9999, 4 );
function blogitems_remove_optional_badge( $field, $key, $args, $value ) {
if ( is_checkout() && ! empty( $args['clear'] ) || $key === 'billing_phone' ) {
$field = str_replace( '<span class="optional">(optional)</span>', '', $field );
}
return $field;
}
Alternatively, you can hide the badge purely through CSS in Appearance > Customize > Additional CSS:
/* Hide optional badge specifically on the billing phone field */
#billing_phone_field .optional {
display: none;
}
The Fulfillment Trap: Carrier API 422 Errors (DHL, FedEx, UPS)
Making the phone number optional at WooCommerce checkout solves front-end cart abandonment, but it can introduce a back-end fulfillment defect.
Many automated fulfillment tools (such as ShipStation, EasyPost, and direct shipping carrier APIs like DHL Express or FedEx) strictly require a recipient telephone number to issue commercial shipping labels.
When an order arrives with an empty phone field:
- WooCommerce completes the order normally.
- An automated webhook transmits order data to the carrier API.
- The carrier API rejects the payload with an error:
422 Unprocessable Entity: missing recipient_phone. - Automated label generation halts, forcing manual warehouse intervention.
[Customer skips phone input]
β
βΌ
[WooCommerce Order Created with empty billing_phone]
β
βΌ
[Fulfillment Webhook -> Carrier API (DHL / FedEx)]
β
βΌ
[API Error: 422 Unprocessable Entity - phone required]
β
βΌ
[Label Generation Fails -> Order Held in Warehouse Queue]
The Solution: Inject a Store Fallback Phone Number
To prevent shipping automation failures without forcing shoppers to submit personal numbers, inject your store customer service phone number into the order metadata when the buyer skips the field.
Add this snippet to your child theme or code snippets plugin:
/**
* Inject store fallback phone number if customer leaves it empty.
* Prevents 422 errors during automated carrier label generation.
*/
add_action( 'woocommerce_checkout_create_order', 'blogitems_fallback_carrier_phone', 10, 2 );
function blogitems_fallback_carrier_phone( $order, $data ) {
$phone = $order->get_billing_phone();
if ( empty( trim( $phone ) ) ) {
// Use verified store support number with full international dial code
$fallback_store_phone = '+15550192834';
$order->set_billing_phone( $fallback_store_phone );
}
}
This ensures carrier APIs always receive a valid telephone format to print labels, while your shoppers enjoy an unencumbered checkout form.
When You Must Keep Phone Numbers Required: Baymard Microcopy Strategy
Certain business models genuinely require phone numbers. If your operations fall into one of these categories, do not make the field optional:
- Perishable goods and local delivery: Couriers need real-time communication to hand off fresh food or floral deliveries.
- Freight and LTL shipping: Pallet carriers require scheduled delivery appointments with consignees.
- SMS verification: Stores using OTP verification to stop payment fraud on high-ticket goods.
If you must keep phone numbers required, Baymard Institute testing shows you can reduce cart abandonment by adding inline explanatory microcopy directly under the input:
βUsed only for delivery carrier updates. We never send marketing texts.β
To add this helper text below the phone field in classic WooCommerce, use the field filter:
/**
* Add explanatory microcopy below billing phone field.
*/
add_filter( 'woocommerce_billing_fields', 'blogitems_add_phone_microcopy', 20, 1 );
function blogitems_add_phone_microcopy( $fields ) {
if ( isset( $fields['billing_phone'] ) ) {
$fields['billing_phone']['description'] = 'Used only for delivery updates. No marketing calls.';
}
return $fields;
}
Explaining the operational purpose resolves customer privacy concerns and prevents shoppers from submitting bogus phone numbers.
Troubleshooting Client-Side JavaScript Validation Collisions
If you set the phone field to optional in WooCommerce but mobile shoppers still report checkout submission errors, inspect your site for third-party telephone formatters.
Plugins that attach country flags and formatting masks (such as intl-tel-input scripts) often bind client-side validation listeners to the phone field:
// Example of problematic third-party script behavior
phoneInput.addEventListener('blur', function() {
if (!iti.isValidNumber()) {
displayError("Please enter a valid telephone number");
submitButton.disabled = true;
}
});
When a user taps into an optional field, decides not to provide a number, and moves to the next field, poorly written scripts evaluate the empty input as an invalid number and disable the checkout submit button.
How to Test for JavaScript Collisions:
- Open your checkout page in an incognito browser window.
- Open Chrome DevTools (
F12), toggle device emulation to mobile, and open the Console tab. - Fill in all address fields, leaving the phone field blank.
- Tap into the phone input, then immediately tap outside it.
- Check if the Console throws validation errors or if the Place Order button becomes unclickable.
If a script disables the button on an empty optional field, adjust the telephone plugin settings to ignore empty inputs or deactivate the formatting script.
Business Decision Matrix: Required vs Optional vs Hidden
Use this matrix to choose the right phone field configuration for your catalog:
| Business Model | Recommended Setting | Operational Reason |
|---|---|---|
| Digital Products & Software | Hidden | No physical fulfillment. Demanding a phone number adds friction with zero utility. Follow our digital products checkout guide. |
| Standard Consumer Retail | Optional | Customers who want carrier SMS notifications can opt in; privacy-conscious buyers checkout without friction. |
| Perishable Food & Local Courier | Required (with microcopy) | Drivers need immediate contact if gate codes fail or recipient is absent. |
| High-Ticket Freight (LTL) | Required (with microcopy) | Freight carriers require scheduled delivery appointments. |
| B2B Wholesale | Required | Accounts payable departments verify high-value invoices by voice. |
If you are trimming out other redundant inputs like second address lines or company names, review our tutorial on how to remove unnecessary checkout fields in WooCommerce.
Pre-Deployment Verification Checklist
Before publishing these changes, verify your checkout flow with this three-step test:
- Verify Checkout Engine: Determine whether your live store uses Gutenberg Blocks or the Classic Shortcode. Apply changes in the matching interface.
- Test Guest Checkout: Open a private browser window on a mobile device. Complete a test purchase with an empty phone field to confirm validation passes.
- Verify Shipping Webhooks: If you use ShipStation or direct carrier APIs, ensure an order with an empty phone field successfully generates a shipping label using your store fallback number.
Making the phone number optional at WooCommerce checkout removes an unnecessary conversion barrier while respecting customer privacy. Select the right method for your checkout architecture, protect your carrier API webhooks, and give buyers a clean path to complete their purchase.

