Remove the Billing Details from WooCommerce Checkout


By default, WooCommerce will add a form to the client to enter his billing details such as name, company, address, city postcode, state, phone & country. For some web store owner, you may not need of them, especially if you only sell digital or virtual products. We just need customers to make payment through PayPal in the simplest way possible.

Unfortunately, there are no settings in WooCommerce to disable these fields. The only way to do it is by editing theme’s “functions.php” file.

What you need to do is add the following codes in your theme’s “functions.php” file but remember to remove the line where you need details from your customers.

add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
 
function custom_override_checkout_fields( $fields ) {
    unset($fields['billing']['billing_first_name']);
    unset($fields['billing']['billing_last_name']);
    unset($fields['billing']['billing_company']);
    unset($fields['billing']['billing_email']);
    unset($fields['billing']['billing_address_1']);
    unset($fields['billing']['billing_address_2']);
    unset($fields['billing']['billing_city']);
    unset($fields['billing']['billing_postcode']);
    unset($fields['billing']['billing_country']);
    unset($fields['billing']['billing_state']);
    unset($fields['billing']['billing_phone']);
    unset($fields['order']['order_comments']);
    return $fields;
}

How to Change Primary Domain in Google Apps


Now Google allows Google Apps users to change their Primary Domain as announced by Google Apps blog on 5th October 2015. However, the change can only be done through Google Apps Customer API interface instead on GUI in the Admin Panel.

Bear in mind that, you can only change Primary Domain from Secondary Domain. Domain Alias is not allowed. So, FREE Standard Version (called Legacy or Grandfather version) is out of luck, unless they already add the Secondary Domain in their account prior to 14th November 2014. This date is the day when Google disabled the function to add Secondary Domain in FREE Standard Version. Now, FREE Standard Version users may only add Domain Alias.

Back to Change of Primary Domain in Google Apps, actually the process is rather easy. You may refer to step by step instruction below.

  1. Login to your Google Apps Control Panel.
  2. Browse to Google Apps API Page where you change customer information. Make sure you see your Admin email address in to right corner.
  3. Click “Try it now” link.
  4. In “customerKey” field enter “my_customer“.
  5. In “fields” field enter “customerDomain“.
  6. Click “Request body” field, a drop down box will appear & select “customerDomain“.
  7. In the newly appear field, enter your Secondary Domain which you want to change to Primary Domain.
  8. Finally click the blue “AUTHORIZE AND EXECUTE” button.
  9. When the process is done, your secondary domain is converted to Primary Domain and vise versa.

 


Page 4 of 53« First...23456...102030...Last »