Disable billing address in WooCommerce in checkout form when user select paypal payment method

I am trying to disable the Billing fields in the checkout page when user selects the paypal payment method in WooCommerce wordpress theme.

Once the user complete the item selectionand comes to checkout page, if the user selects the paypal payment then the checkout form should not validate the billing fields if any other payment methos is selected then it should work as normal.

I searched alot but not able to find the clue. Please some one help to me on this.

Thanks in Advance.

Answers


Take a look at PayPal for WooCommerce. It's free and it will allow you to enable PayPal Express Checkout instead of PayPal Standard, which flows a lot more nicely for people paying with PayPal.


Need Your Help

svn diff -x (v1.6) does not accept my diff option --unified=40

shell svn diff command-line-arguments sh

I often use this command line that works great on Subversion 1.6.11 and GNU diff 2.8.1.

Cheap, hosted Tracks installation?

hosting gtd

(I am not sure whether this belongs on StackOverflow or SuperUser. Admins: feel free to move it.)