A customer clicks to buy your $19 PDF guide or Lightroom preset pack.
Then your checkout screen demands their street address, apartment number, state, and postal code. There is nothing to ship, no package to deliver, and no physical courier involved.
Asking for a home address when selling a digital download creates instant friction and security suspicion. Customers wonder why an ebook seller needs to know their apartment number, and many abandon the transaction before entering their card number.
You can completely remove address fields for digital products in WooCommerce—leaving only First Name, Last Name, and Email—in under five minutes.
Editorial Transparency: We independently test, compare, and recommend software tools based on hands-on evaluation. When you purchase through our links, we may earn an affiliate commission at no additional cost to you.
Why Address Fields Hurt Digital Product Sales
Digital buyers expect instant gratification. They want to pay with Apple Pay, Google Pay, or a credit card and immediately access their download link.
Forcing a digital buyer through a traditional 12-field physical shipping form causes three immediate problems:
- High Mobile Drop-Off: Typing physical street addresses on small mobile keyboards leads to typos and abandoned sessions.
- Privacy Hesitation: Modern web users are increasingly protective of their home addresses. Forcing an address for a digital file triggers distrust.
- Failed Autofill Glitches: Browser autofill often inserts old or mismatched addresses that trigger gateway validation errors.
If you are optimizing your store’s overall checkout funnel, explore our foundational WooCommerce checkout field editor guide to plan your field setup.
Step 1: Ensure All Digital Products Are Set to “Virtual”
WooCommerce has a built-in mechanism to disable shipping fields automatically, but it only works if your products are properly configured.
- Open your WordPress dashboard and go to Products > All Products.
- Edit your digital item.
- In the Product Data box, check both the Virtual and Downloadable checkboxes.
- Click Update.
Checking Virtual immediately tells WooCommerce that this product requires no physical shipping, automatically removing the entire “Shipping Address” section from the checkout screen.
Step 2: Strip Billing Address Fields for Virtual Orders
While marking an item “Virtual” hides shipping fields, WooCommerce still asks for a full Billing Address by default.
To remove billing address inputs and leave only Name + Email, add this lightweight filter snippet to your child theme’s functions.php file or via a code snippets plugin:
/**
* Remove billing address fields for virtual/digital products in WooCommerce.
*/
add_filter( 'woocommerce_checkout_fields', 'blogitems_minimal_digital_checkout' );
function blogitems_minimal_digital_checkout( $fields ) {
// Check if cart contains only virtual/downloadable items
$only_virtual = true;
foreach ( WC()->cart->get_cart() as $cart_item ) {
if ( ! $cart_item['data']->is_virtual() ) {
$only_virtual = false;
break;
}
}
// If only virtual items, remove address fields
if ( $only_virtual ) {
unset( $fields['billing']['billing_company'] );
unset( $fields['billing']['billing_address_1'] );
unset( $fields['billing']['billing_address_2'] );
unset( $fields['billing']['billing_city'] );
unset( $fields['billing']['billing_postcode'] );
unset( $fields['billing']['billing_country'] );
unset( $fields['billing']['billing_state'] );
unset( $fields['billing']['billing_phone'] );
}
return $fields;
}
This snippet ensures that if a customer buys a physical product later, the full address form reappears automatically without breaking your store logic.
Step 3: Payment Gateway Compatibility Check
Before taking this live, verify that your credit card processor does not require postal address verification for small digital charges:
- Stripe: In your Stripe dashboard under Settings > Radar > Rules, ensure you do not have a rule that blocks payments when Address Verification (AVS) is missing. Stripe only requires card number, expiration, CVC, and postal code by default (or just card + CVC for digital payments).
- PayPal: PayPal standard and PayPal Complete Payments process digital transactions with just an email and payment authorization.
- Apple Pay / Google Pay: Express checkout buttons will process payments in a single tap without prompting for shipping addresses.
To maintain lightning-fast page response times across your store, review our guide on 5 best WordPress caching plugins without bloat.
Frequently Asked Questions
What happens if an order contains both physical and digital items?
The code snippet checks whether the cart contains any non-virtual items. If a customer buys a physical t-shirt alongside an ebook, the full shipping and billing address forms will display normally.
Do I need tax addresses for digital goods under EU VAT regulations?
If your store must comply with EU digital VAT (MOSS) rules, you must verify the customer’s country of residence. You can keep the billing_country field active while safely removing street addresses, apartment numbers, and postal codes.
Can I do this with a plugin instead of code?
Yes. Plugins like Checkout Field Editor by ThemeHigh or ShopLentor allow you to set conditional rules that hide address fields when a cart contains only virtual products.
Summary
Selling digital files should feel as smooth as downloading an app on your phone.
Mark your products as Virtual, remove irrelevant street address fields, and watch your digital conversion rates climb immediately.

