Support » Plugin: WooCommerce » Regarding Checkout

  • Hello,

    I have enabled Facebook Connect on my woocommerce website. During the checkout, it asks for first name, last name, email address, company name, etc. But my wordpress account already extracts first name, last name, from facebook, and displays it in the profile.

    I want the first name, last name, email address to be synced with the wordpress one. Please help.

    Also, I wanted to remove the field “Company Name” completely. And wanted to add “Address Line 3” in my whole of woocommerce.

    Please can someone help me with these. I got more changes actually.

    Thank you.
    Anish Jajodia.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Here’s a useful doc that will show you how to remove the fields from checkout:

    Here’s the code:

    // Hook in
    add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
    // Our hooked in function - $fields is passed via the filter!
    function custom_override_checkout_fields( $fields ) {
         // remove company
         // add Billing Address3
    $fields['shipping']['billing_address3'] = array(
            'label'     => __('Address 3', 'woocommerce'),
        'placeholder'   => _x('Address 3', 'placeholder', 'woocommerce'),
        'required'  => false,
        'class'     => array('form-row-wide'),
        'clear'     => true
         return $fields;

    I don’t use Facebook, so am no help there.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Regarding Checkout’ is closed to new replies.