Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Tomasz WP Desk

    (@tomaszwp)

    Hello @davidcasalsuarez

    Please write more about the problem because I do not understand what the question is about.

    We have two default address fields
    _billing_address_1
    _billing_address_2

    Both can be disabled after unchecking the Enable field checkbox and replaced with another blank text field.

    Thread Starter davidcasalsuarez

    (@davidcasalsuarez)

    It is that the billing field of address 2 does not let me put a label on it, the other fields do, but if I put a label on that field it does not change anything. Thank you

    Plugin Support Tomasz WP Desk

    (@tomaszwp)

    Hello @davidcasalsuarez

    Thanks. Now I understand but it is not related to our plugin because it is WooCommerce that forces this label to be hidden.
    Please paste the code below into the template functions.php file (make a backup of this file first).

    add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
    function custom_override_checkout_fields( $fields ) {
    $fields['billing']['billing_address_2'] = array(
    'label_class' => '',
    );
    return $fields;
    }
    Thread Starter davidcasalsuarez

    (@davidcasalsuarez)

    Resolved.Thank you very much for the help. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I needed the field to appear blank’ is closed to new replies.