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: