Get rid of Billing Address (2 posts)

  1. LGRstaff
    Posted 2 years ago #

    I'm new to using WooCommerce. Right now I have it set with paypal as the only payment gateway.

    My first product is a downloadable product, so I don't need to collect shipping address-no problem.

    But for some reason the checkout page is still requiring me to enter a billing address when I test purchasing the product. This is unnecessary and annoying. When using paypal, shouldn't the checkout page not need to collect such details? Is there any way to get rid of this?


  2. Tareq
    Posted 2 years ago #

    If I'm catching your drift, you should be able to include this in your functions.php file (make sure you're using a child-theme).

    // Hook in
    add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
    // Our hooked in function - $fields is passed via the filter!
    function custom_override_checkout_fields( $fields ) {
         return $fields;

    Find more information on this here

    Hope this helps!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic