{"id":5041,"date":"2019-08-08T15:45:09","date_gmt":"2019-08-08T10:15:09","guid":{"rendered":"https:\/\/phpyouth.com\/blog\/?p=5041"},"modified":"2025-10-08T17:56:19","modified_gmt":"2025-10-08T12:26:19","slug":"remove-woocommerce-billing-fields","status":"publish","type":"post","link":"https:\/\/phpyouth.com\/blog\/remove-woocommerce-billing-fields\/","title":{"rendered":"How to Remove WooCommerce Billing Fields"},"content":{"rendered":"<p>Hello friends, Good Morning!<br \/>\nToday, we are going to learn a WooCommerce trick. This trick is about how to remove WooCommerce billing fields. I want to tell you that WooCommerce is a very powerful WordPress tool that converts a simple website into an E-commerce one. Nowadays, if we look at the current stats, WooCommerce has been downloaded <strong data-start=\"427\" data-end=\"447\">73,299,254 times<\/strong>. Even more impressive, <strong><a href=\"https:\/\/woocommerce.com\/?aff=16526&amp;cid=2968994\" target=\"_blank\" rel=\"noopener noreferrer\">WooCommerce<\/a> <\/strong>powers <strong data-start=\"481\" data-end=\"509\">28% of all online stores<\/strong> worldwide.<\/p>\n<blockquote>\n<p style=\"text-align: center;\">WooCommerce, the <strong>most customizable eCommerce plateform<\/strong> for building <strong>your online business<\/strong>.<\/p>\n<\/blockquote>\n<p>A few days back, one of my friends asked me a question regarding WooCommerce about how to remove the billing field from the checkout page. He didn&#8217;t mention any field, but today we will show how to remove WooCommerce billing fields. So, let&#8217;s start<\/p>\n<p>There are two ways to remove WooCommerce billing fields on the checkout page. Below they are:<\/p>\n<ol>\n<li>Add the below snippet to the functions.php file of your website&#8217;s active theme.<\/li>\n<li>Install the <a href=\"https:\/\/phpyouth.com\/blog\/how-to-manage-woocommerce-checkout-fields\" target=\"_blank\" rel=\"noopener noreferrer\">WooCommerce Checkout Field Editor<\/a> plugin for more customization.<\/li>\n<\/ol>\n<p>Adding the below snippet is risky if you do it directly from the WordPress Dashboard. We highly recommend that you do this from either <a href=\"https:\/\/phpyouth.com\/blog\/ftp-tutorial\">FileZilla(File Transfer Protocol)<\/a> or through cPanel. What you have to do this to log in to CPanel or Connect FTP, Open the wp-contents folder &gt;&gt; Themes &gt;&gt; theme name Child &gt;&gt; functions.php. Here is the snippet to remove WooCommerce billing fields.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nadd_filter( &#039;woocommerce_checkout_fields&#039; , &#039;custom_override_checkout_woofields&#039; );\nfunction custom_override_checkout_woofields( $fields ) {\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_first_name&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_last_name&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_company&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_address_1&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_address_2&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_city&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_postcode&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_country&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_state&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_phone&#039;]);\n    unset($fields&#x5B;&#039;order&#039;]&#x5B;&#039;order_comments&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_address_2&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_postcode&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_company&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_last_name&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_email&#039;]);\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_city&#039;]);\n    return $fields;\n}\n<\/pre>\n<p>Here is another example: if you want to remove any specific billing field, let&#8217;s suppose Company Name, then your snippet would look like this:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nadd_filter( &#039;woocommerce_checkout_fields&#039; , &#039;custom_override_checkout_fields&#039; );\n\nfunction custom_override_checkout_fields( $fields ) {\n    unset($fields&#x5B;&#039;billing&#039;]&#x5B;&#039;billing_phone&#039;]);\n    return $fields;\n}\n<\/pre>\n<p>So friends, finally, a few lines of code and you can easily remove any WooCommerce billing field from the checkout page.<\/p>\n<p>Friends, if this WooCommerce tip&amp;trick helps you, then please let me know in the comments box, and please don&#8217;t forget to share this. Keep learning.<\/p>\n<p><a href=\"https:\/\/www.hostg.xyz\/aff_c?offer_id=6&amp;aff_id=115521&amp;url_id=35&amp;file_id=1399\" target=\"_blank\" rel=\"noopener\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/media.go2speed.org\/brand\/files\/hostinger\/6\/EN-970x250.jpg\" width=\"970\" height=\"250\" border=\"0\" alt=\"\" title=\"\"><\/a><img decoding=\"async\" style=\"position: absolute; visibility: hidden;\" src=\"https:\/\/www.hostg.xyz\/aff_i?offer_id=6&amp;file_id=1399&amp;aff_id=115521&amp;url_id=35\" width=\"0\" height=\"0\" border=\"0\" alt=\"\" title=\"\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello friends, Good Morning! Today, we are going to learn a WooCommerce trick. This trick is about how to remove WooCommerce billing fields. I want to tell you that WooCommerce is a very powerful WordPress tool that converts a simple website into an E-commerce one. Nowadays, if we look at the current stats, WooCommerce has [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5053,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[185,4],"tags":[190,188],"class_list":["post-5041","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-woocommerce","category-wordpress","tag-billing-fields","tag-woocommerce"],"acf":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/08\/Remove-WooCommerce-billing-fields.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8zepR-1jj","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":5055,"url":"https:\/\/phpyouth.com\/blog\/how-to-manage-woocommerce-checkout-fields\/","url_meta":{"origin":5041,"position":0},"title":"How to Manage WooCommerce Checkout Fields","author":"RK Jajoria","date":"August 12, 2019","format":false,"excerpt":"Hello friends! In my last article, we discussed how to remove WooCommerce billing fields from the checkout page using custom code. Now, you might be wondering why I\u2019m mentioning that again. Well, it\u2019s because today we\u2019ll be talking about the\u00a0 WooCommerce Checkout Field Editor plugin. Unlike custom coding, this plugin\u2026","rel":"","context":"In &quot;Plugins&quot;","block_context":{"text":"Plugins","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/plugins\/"},"img":{"alt_text":"checkout field editor","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/08\/checkout-field-editor.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/08\/checkout-field-editor.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/08\/checkout-field-editor.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":8880,"url":"https:\/\/phpyouth.com\/blog\/10-best-woocommerce-migration-plugins\/","url_meta":{"origin":5041,"position":1},"title":"10 Best WooCommerce Migration Plugins for 2026 (Ranked)","author":"RK Jajoria","date":"May 14, 2025","format":false,"excerpt":"WooCommerce Migration Plugins can make transferring your online store much easier and more secure. Whether you\u2019re moving to a new host, switching domains, or consolidating two WooCommerce stores into one, manually copying products, orders, customers, and coupons is a good way to lose data, break URLs, or spend a weekend\u2026","rel":"","context":"In &quot;Plugins&quot;","block_context":{"text":"Plugins","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/plugins\/"},"img":{"alt_text":"WooCommerce Migration Plugins","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2025\/05\/10-Best-WooCommerce-Migration-Plugins.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2025\/05\/10-Best-WooCommerce-Migration-Plugins.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2025\/05\/10-Best-WooCommerce-Migration-Plugins.webp?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2025\/05\/10-Best-WooCommerce-Migration-Plugins.webp?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2025\/05\/10-Best-WooCommerce-Migration-Plugins.webp?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2025\/05\/10-Best-WooCommerce-Migration-Plugins.webp?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":7286,"url":"https:\/\/phpyouth.com\/blog\/best-woocommerce-plugins\/","url_meta":{"origin":5041,"position":2},"title":"Top 15 WooCommerce Plugins for Your Store in 2025","author":"RK Jajoria","date":"December 20, 2024","format":false,"excerpt":"WordPress stands out as one of the most effective platforms for building and managing eCommerce sites, thanks to its remarkable flexibility and vast selection of WooCommerce plugins. These plugins are essential tools to optimize your store\u2019s performance, enhance the customer experience, and boost sales. Choosing the Top 15 WooCommerce plugins\u2026","rel":"","context":"In &quot;Plugins&quot;","block_context":{"text":"Plugins","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/plugins\/"},"img":{"alt_text":"Top 15 Best WooCommerce Plugins in 2025","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2024\/12\/15-Best-WooCommerce-Plugins.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2024\/12\/15-Best-WooCommerce-Plugins.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2024\/12\/15-Best-WooCommerce-Plugins.webp?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2024\/12\/15-Best-WooCommerce-Plugins.webp?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":5000,"url":"https:\/\/phpyouth.com\/blog\/remove-wc_sessions-in-woocommerce\/","url_meta":{"origin":5041,"position":3},"title":"How to Remove wc_sessions in WooCommerce","author":"RK Jajoria","date":"July 4, 2019","format":false,"excerpt":"Hello friends! Today, in this tutorial, we will learn how to remove sessions in WooCommerce. First, we will discuss why we need to remove these sessions from WooCommerce. These sessions make the wp_options table heavy in size. WooCommerce stores the _wc_session_xxx and _wc_session_expires_xxx entries in the wp_options table. There are\u2026","rel":"","context":"In &quot;Plugins&quot;","block_context":{"text":"Plugins","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/plugins\/"},"img":{"alt_text":"Remove woocommerce sessions","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/Remove-woocommerce-sessions.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/Remove-woocommerce-sessions.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/Remove-woocommerce-sessions.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":5259,"url":"https:\/\/phpyouth.com\/blog\/list-woocommerce-products-on-google-shopping\/","url_meta":{"origin":5041,"position":4},"title":"List Your Woocommerce Products On Google Shopping","author":"RK Jajoria","date":"June 23, 2022","format":false,"excerpt":"I heard many times that WordPress is not good for creating an online store. However, it is totally a myth. In fact, WordPress allows you to design any website, and you can create your own online store with the help of the WooCommerce plugin. Furthermore, WooCommerce helps online stores connect\u2026","rel":"","context":"In &quot;Plugins&quot;","block_context":{"text":"Plugins","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/plugins\/"},"img":{"alt_text":"List your woocommerce products on google shopping","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2022\/06\/List-your-woocommerce-products-on-google-shopping.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2022\/06\/List-your-woocommerce-products-on-google-shopping.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2022\/06\/List-your-woocommerce-products-on-google-shopping.webp?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":8596,"url":"https:\/\/phpyouth.com\/blog\/increase-conversions-with-woocommerce-file-upload-features\/","url_meta":{"origin":5041,"position":5},"title":"Increase Conversions with WooCommerce File Upload Features","author":"RK Jajoria","date":"March 26, 2025","format":false,"excerpt":"Have you ever lost a sale because your customers were unable to upload relevant files during the checkout process? In the world of e-commerce, convenience is essential for improving sales conversion numbers. The WooCommerce file upload feature plays a crucial role in enhancing customer experience by allowing them to submit\u2026","rel":"","context":"In &quot;Plugins&quot;","block_context":{"text":"Plugins","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/plugins\/"},"img":{"alt_text":"Phpyout Increase Conversions with WooCommerce File Upload Features","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2025\/02\/Increase-Conversions-with-WooCommerce-File-Upload-Features.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2025\/02\/Increase-Conversions-with-WooCommerce-File-Upload-Features.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2025\/02\/Increase-Conversions-with-WooCommerce-File-Upload-Features.webp?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2025\/02\/Increase-Conversions-with-WooCommerce-File-Upload-Features.webp?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2025\/02\/Increase-Conversions-with-WooCommerce-File-Upload-Features.webp?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/5041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/comments?post=5041"}],"version-history":[{"count":0,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/5041\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/media\/5053"}],"wp:attachment":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/media?parent=5041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/categories?post=5041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/tags?post=5041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}