When a customer placed an order, he/she is required to enter a province in the billing address in the checkout page. It is by default set to ' ...
Inside the function, $fields['billing_phone']['required'] is assigned a “false” value implying that the field is not required or is optional. Adding the ...
3 Answers. 3. order by. active, oldest, votes. Up vote 16 ...
This way you can set default WooCommerce fields as not required. Also, you can create new custom fields and set them as required. In that ...
Do you want to make some checkout fields not required such as phone number or the first name? Use this snippet below to do this.
Here you can see that the state field is required. woocommerce. If i click on place order, this order list will be displayed.
Uninstalling WordPress plugins is remarkably simple. The hard part comes after, when you have to make sure they didn't leave any extra ...
email before phone and let's make last name and phone fields not required".
In order to remove unused scripts, we should first find out what
WooCommerce - Make "state" field not required on checkout page - gist:6129163 .