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.
There is also the option to do this using add-ons for WooCommerce.
One is free and available on WordPress.org:
Then there are also two premium ones:
They all do the same thing basically, so it’s up to you what to you. If I were you, I would just do it programmatically.
If you enjoyed this post, make sure to subscribe to WP Mayor’s RSS feed.