When using WooCommerce, it will by default add a form for the client to enter his billing details. Now for some cases we might not want that, for example when purchasing a simple virtual product. We just want to send the user to PayPal without any hassle.
There is no option within WooCommerce to disable the billing details, instead we’ll do this programmatically using hooks supplied by WooCommerce.
Here’s how to do it, you can place this code in your theme’s functions.php file.
If you want to easily edit the checkout fields in WooCommerce you can just purchase the official extension that exists specifically for this purpose. I highly recommend it if you’re not a developer.
The checkout field editor provides you with an interface to add, edit and remove fields shown on your WooCommerce checkout page. Fields can be added and removed from the billing and shipping sections, as well as inserted after these sections next to the standard ‘order notes’.
The editor supports several types for custom fields including text, select, checkboxes and datepickers.
Core fields can also be moved around giving you more control over your checkout without touching the code.