Can I Make Phone Number Optional On Checkout WooCommerce?

We have created a quick code snippet that you can use to make phone numbers not a required field in WooCommerce.

add_filter( 'woocommerce_billing_fields', 'wps_remove_filter_phone', 10, 1 );
function wps_remove_filter_phone( $address_fields ) {
$address_fields['billing_phone']['required'] = false;
return $address_fields;


You can use code snippet plugin to use the above code.

Leave a Reply

Your email address will not be published. Required fields are marked *

Update on March 17, 2020