Solved!
It was causing errors from this.
add_action(‘woocommerce_checkout_process’, ‘tbw_custom_checkout_field_process’);
function tbw_custom_checkout_field_process() {
global $woocommerce;
// Check if set, if its not set add an error. This one is only requite for companies
if ( ! (preg_match(‘/^[0-9]{11}$/D’, $_POST[‘billing_phone’] ))){
wc_add_notice( “The Phone Number should contain a maxmumum of 11 digits. Please do not enter country code.” ,’error’ );
}
}
-
This reply was modified 6 years ago by acreative.