How to remove billing details on check out page?

Picture of Amitpal Singh
Amitpal Singh
August 11, 2023
You can achieve disable billing address by using the hooks in functions file of wordpress theme. Use these two hooks below:
add_filter( 'woocommerce_checkout_fields' , 'remove_billing_fields_from_checkout' );
function remove_billing_fields_from_checkout( $fields ) {
    $fields[ 'billing' ] = array();
    return $fields;
} 
add_action('woocommerce_checkout_init','disable_billing');
function disable_billing($checkout){
  $checkout->checkout_fields['billing']=array();
  return $checkout;
 } 

Share this post:

How to Attribute?

Lorem ipsum is typically a corrupted version of De finibus bonorum et malorum, a 1st-century BC text by the Roman statesman and philosopher Cicero.
for Example: Website, Social Media, Blogs, ebooks , newsletter, etc.
Lorem ipsum is typically a corrupted version of De finibus bonorum et malorum, a 1st-century BC text by the Roman statesman and philosopher Cicero.
Copied!

Got a Question? Check out our FAQ Section.

Your action, our appreciation

It encourage us to give you more valuable content on website.