Remove Billing Fields For Virtual Products - Woocommerce Checkout Page Snippets

Woocommerce Oct 01, 2019

If you sell only virtual/downloadable products with woocommerce there is no point of collecting Billing details , if you think the same then here is the snippet to hide the billing details and order notes from woocommerce checkout if Virtual product is in cart.

How to add this snippet?

You can add this snippet to your child themes functions.php , We don't recommend adding code to your main theme if its not developed by you. Otherwise you can use a simple plugin https://wordpress.org/plugins/code-snippets/

Express your views in the comment section below.

Yellamaddi Naveen

Naveen is 22 years old , self-taught Wordpress developer , Currently Working as a Wordpress developer at Upwork.