instagram rss arrow-down

When you are selling digital or virtual products with your WooCommerce store, you probably don’t need all the checkout fields.

I was getting many requests for this particular “issue”, so here is how you can safely remove default WooCommerce checkout fields.

There are two approaches*:

  1. By installing a plugin My Custom Functions and add the following code inside Appearance -> Custom Functions
  2. By adding this snippet to your themes functions.php file

Note that editing your theme functions.php file can be risky on your live site. So unless you know what you’re doing, or at least have an access to cPanel or FTP, I suggest to go with #1.

The snippet for removing default WooCommerce checkout fields is below:

So if you want to remove only billing phone, your snippet would look like

That’s all! A few lines of code and you can remove WooCommerce checkout fields in a few minutes! If you made a typo and you can’t get back in to WordPress, use FTP to edit your functions.php file and fix or remove the code.

If you are looking for more customization, we also created a post on how you can reorder your billing fields.

*Updated 2019: WooCommerce now has a plugin called Checkout Field Editor to remove fields without needing to touch a line of code! The plugin also allows you to add new or edit the billing fields from the plugin dashboard.

Plugin to Remove Billing Fields from WooCommerce

Support New Articles with a Sweet Tee

2 comment on “How to remove billing fields from WooCommerce

  • Hameed
    February 6, 2019 | 7:55 am

    Thank you,
    How do I remove “SHIP TO A DIFFERENT ADDRESS?” checkbox from the checkout page?

Leave a Reply
Your email address will not be published. Required fields are marked *

*

*