Viewing 5 replies - 1 through 5 (of 5 total)
  • Same issue. I had to edit the code to remove them. There’s a workaround posted here (https://www.ads-software.com/support/topic/not-working-with-woocommerce-232?replies=9) but I would appreciate it if the plugin authors would fix the plugin so I don’t have to edit the code.

    bravewhale

    (@bravewhale)

    +1 for this. Can’t remove the state/county field.

    Thread Starter eleganteye

    (@eleganteye)

    Well, here is how to make your own plugin:
    https://gist.github.com/BFTrick/7873168

    My guess is that something changed in the woocommerce code, and checkout manager has not been updated

    ownerjr

    (@ownerjr)

    Remove the front of the variable number $fields in file woocommerce-checkout-manager.php:

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

    To:

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

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

    Added in v.3.6.7

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Billing state, order notes, and phone fields cannot be removed (after update)’ is closed to new replies.