US Phone number validation on checkout
-
Hi – great plugin. I have an issue that with US set as default country when a user types in an invalid/incomplete number such as (818) 967-12 the checkout form is submitted and no error generated. If I edit class-woocommerce-account.php and comment out these lines – then it works fine – it appears woo doesn’t handle these errors correctly :
99 if( !is_numeric( str_replace( ‘ ‘, ”, $bil_phone ) ) ) // WC will handle this, so no need to report errors
100 return;
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘US Phone number validation on checkout’ is closed to new replies.