ecommerce tips wordpress

How to Remove Billing Details from WooCommerce

Last Updated on April 24, 2022 by WP Knowledge Hub

Sometimes, it might be necessary for you to remove the billing information from WooCommerce checkout. Whatever the reason, it’s pretty easy to do.

There are two ways you can remove the billing details in WooCommerce’s checkout template. The first is by disabling it using a plugin. The second is with a simple PHP code snippet you can add to the functions.php file in your child theme.

Why Should You Remove Billing Details from WooCommerce?

If your store doesn’t require a physical billing address, like for example, if you are collecting payments for client invoices, then you shouldn’t ask the client to refill the billing or shipping details again.

Removing billing from WooCommerce:

  • Reduces checkout time
  • Improves security and privacy by not collecting user information
  • Improves the user experience

Manually Remove Billing in WooCommerce Checkout Page

You can disable the billing fields in WooCommerce by editing your child theme’s functions.php file.

After activating and setting up your child theme, you need to add the following code to the functions.php file.

add_filter( 'woocommerce_checkout_fields' , 'remove_billing_fields_from_checkout' );
function remove_billing_fields_from_checkout( $fields ) {
    $fields[ 'billing' ] = array();
    return $fields;

Remove Billing Details Using a Plugin

If you’re not comfortable editing the theme files, rather than adding code directly in your functions.php file, you can also do it using a plugin.

The WooCommerce Checkout Field Editor is a paid plugin that allows removing billing details from WooCommerce checkout. It honestly does the same thing that simply adding the little PHP code snippet above, so it might not be worth your money.

The choice is yours!