This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

CloudwaysCDN — a powerful solution that offers superior performance and satisfied global audience for your business. Read More

WooCommerce Custom Checkout Fields: Edit, Delete Fields and Email

Updated on  7th February

5 Min Read
Reading Time: 5 minutes

WooCommerce is, without any doubt, a very powerful ecommerce plugin for WordPress. It is capable enough to set up and manage successful ecommerce store of sizable proportions.

WooCommerce Custom Checkout Fields

In my previous article, I covered How to add additional custom fields into WooCommerce checkout page. In this tutorial, I will continue the topic and explain how you could dynamically customize additional fields such as removing the billing address, add/edit custom checkout fields and save these custom fields to the database. I will also discuss how you could add these custom fields to order emails.

Remove Billing Address of WooCommerce Custom Checkout Fields

Remove Billing Address of WooCommerce Custom Checkout Fields

The following code removes the address fields from the billing screen.

Add this code snippet to the functions.php located in the theme folder of the WordPress website.

theme folder of the WordPress website

Addition of WooCommerce Custom Checkout Field

The following code will add a field to the checkout page, saves the data to the order meta and displays the order meta in the orders admin. I received several queries about the process of adding multiple fields. To help address the issue, this code snippet has been modified to add two fields.

Save the Data of Custom Checkout WooCommerce Fields

Display  the Data of  WooCommerce Custom Fields to User

Input text field

Display the Data of  WooCommerce Custom Fields in Admin

This code snippet will function as the shipping and billing address data and reveal inputs when the user clicks the little pencil icon.

additional information

Add WooCommerce Custom Fields to Order Emails

If you wish to customize the output in the emails,  you can add some text to any of the hooks available in the email templates.

Billing address


In this tutorial, I demonstrated how you could you add, edit and save custom fields to the WooCommerce checkout page. I also added code to edit the email templates to add the information from the custom fields to the emails. If you face any issues with the code or would like to contribute to the discussion, do leave a comment below.

Share your opinion in the comment section. COMMENT NOW

Owais Alam

is the WordPress Community Manager at Cloudways - A Managed WooCommerce Hosting Platform and a seasoned PHP developer. He loves to develop all sorts of websites on WordPress and is in love with WooCommerce in particular. You can email him at

Start Growing with Cloudways Today.

Our Clients Love us because we never compromise on these

Get Our Newsletter
Be the first to get the latest updates and tutorials.