state required
-
Hi,
Am the programer of this site and i want to make state filed required.
I try this code:
add_filter( ‘woocommerce_billing_fields’, ‘ts_require_wc_company_field’);
function ts_require_wc_company_field( $fields ) {
$fields[‘billing_state’][‘required’] = true;
return $fields;
}But it doesn work,
Can you help me how to do it?The customer has Flexible Checkout Fields PRO 3.5.4
Thanks in advanceThe page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘state required’ is closed to new replies.