Viewing 4 replies - 1 through 4 (of 4 total)
  • Remove the front of the variable number $fields in file woocommerce-checkout-manager.php:

    if ( 1 == ($options[‘checkness’][‘wccs_opt_10’] ) ) {
    unset($fields10[‘billing’][‘billing_phone’]);
    }

    To:

    if ( 1 == ($options[‘checkness’][‘wccs_opt_10’] ) ) {
    unset($fields[‘billing’][‘billing_phone’]);
    }

    There are other variables incorrect, just have to remove the numbers also

    Hi I’ve fixed the telephone problem but I have the same problem with State field. Is ok to remove the number 9 from fields9 ?

    And I see another number field: fields11

    What do you suggest to do?

    Thanks!

    Yes, remove the numbers in front of the variable $fields at least of which is used for not fully looked at the code.

    Added in 3.6.7

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide phone number from checkout doesn't work’ is closed to new replies.