Guide

How to remove or simplify WooCommerce checkout fields

Fewer fields usually means fewer shoppers giving up — but the block and classic checkouts are configured differently, and some fields you must keep. How to do it right.

Updated

The short answer

To simplify a WooCommerce checkout:

  • block checkout (the default for new stores): select the Checkout block in the editor and set company, address line 2 and phone to hidden or optional;
  • classic checkout: use the Customizer's checkout settings, or a short woocommerce_checkout_fields filter;
  • keep what payment, shipping and tax need — email, country, postcode, and the address for physical goods.

Then measure: the field shoppers stop at is the one worth changing.

First, which checkout do you have?

Open the checkout page in the editor. If it shows a Checkout block, you have the block checkout — the default for new WooCommerce stores. If it shows the [woocommerce_checkout] shortcode, you have the classic one. The two are configured differently, and code written for one does nothing to the other.

On the block checkout

  1. Go to Pages, open the checkout page in the editor and select the Checkout block.
  2. In the block's settings sidebar, set Company, Address line 2 and Phone to hidden, optional or required.
  3. Save, and place a test order.

Adding your own fields to the block checkout uses WooCommerce's additional checkout fields API, not the classic filters.

On the classic checkout

The Customizer, under WooCommerce → Checkout, sets company, address line 2 and phone to hidden, optional or required. For anything else, a filter in a code snippets plugin or your child theme's functions.php:

add_filter( 'woocommerce_checkout_fields', function ( $fields ) {
    // Remove fields you don't use.
    unset( $fields['billing']['billing_company'] );
    unset( $fields['billing']['billing_address_2'] );

    // Keep the phone, but don't require it.
    $fields['billing']['billing_phone']['required'] = false;

    return $fields;
} );

For a store that also sells downloads, the same filter can remove the address fields when WC()->cart->needs_shipping() is false — but check that your payment method doesn't require a billing address first.

What to keep

  • Email — the order confirmation, and the only way to reach a shopper who doesn't finish.
  • Country and postcode — shipping zones and tax rates depend on them, and many payment providers use them to check the card.
  • The full address for anything you ship.
  • Phone, if your carrier needs it for delivery.

What else makes the form easier

  • Guest checkout, with the option to create an account after the order.
  • The shipping address hidden by default, behind “ship to a different address”.
  • Address autocomplete, if your country's addresses suit it.
  • Clear, specific error messages next to the field that needs fixing.

Measure before and after

A field nobody struggles with costs little; the one where shoppers stop costs sales. StorePilot's Checkout fields panel shows each field's visits, average time, how often shoppers come back to it and how many unpaid carts were left there — field names only, never what was typed — so you can see which field to change and whether the change helped. Every checkout is also saved with the shopper's contact and cart.

Install the WordPress plugin or see ecommerce analytics.

FAQ

Questions about this guide

How do I remove the company field from the WooCommerce checkout?

On the block checkout, select the Checkout block in the editor and set Company to hidden in its settings. On the classic checkout, use the Customizer's WooCommerce → Checkout section, or the woocommerce_checkout_fields filter.

How do I make the phone number optional in WooCommerce?

The same settings that hide the company field let you set phone to optional or hidden — the Checkout block's settings on the block checkout, the Customizer on the classic one. Keep it if your carrier needs a phone number for delivery.

Does the woocommerce_checkout_fields filter work on the block checkout?

No. It changes the classic shortcode checkout only. The block checkout has its own settings for its built-in fields and a separate API for adding fields.

Which checkout fields should I never remove?

Email, and whatever your payment method, carrier or tax settings need — often the country and postcode, and the full address for physical products. Removing a field a payment provider uses can make payments fail.

Find the field where shoppers give up

Install the plugin, and every checkout field shows how long it takes, who comes back to it and the carts left there.

Start for free

Every feature on the Free plan, for 100 visitors a month. No card required.

Choose a plan

Plans from €29 a month, priced by your monthly visitors and the websites you connect.