Support » Plugin: Checkout Field Manager (Checkout Manager) for WooCommerce » Show billing_address_2 label

  • Resolved Berg Informatik



    How can i show the label for billing_address_2 and shipping_address_2 field? I have enabled them via “Customizer” and reset the billing and shipping fields. The field is showing up in admin dashboard and i can change the “Label” text there. But the label text does not show on frontend because of the screen-reader css class added to this fields. I have tried to remove the class like described in this post “Edit existing checkout fields” but i can not remove the label_class. Also this hook is not working:

    add_filter('woocommerce_billing_fields', 'custom_woocommerce_billing_fields');
    function custom_woocommerce_billing_fields($fields)
    	$fields['billing_address_2']['label_class'] = '';
        return $fields;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.