WooCommerce - excelling eCommerce
Regarding Checkout (3 posts)

  1. devilzkrazy
    Posted 1 year ago #


    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.


  2. Daniel Espinoza
    Posted 1 year ago #

    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;
  3. Daniel Espinoza
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.