20 Responses

  1. BobWP
    BobWP June 28, 2013 at 17:15 | | Reply

    Perfect timing. I was just going to do this and had found a tutorial on YouTube but it recommended putting this same code in a woocommerce file which kind of freaked me out. Good to see it works in the theme.php file as well … cheers!

  2. Karen
    Karen September 12, 2013 at 04:44 | | Reply

    Thank you for this code! Do you know how i can do this same thing for the Edit Address & My Account pages in Woocommerce? Thanks!

    1. Wesley Asher
      Wesley Asher April 5, 2014 at 19:59 | | Reply

      I know this is like wicked late but try this:

      function wpdebug_disable_account_addresses( $fields ) {
      return array();
      add_filter( ‘woocommerce_my_account_get_addresses’, ‘wpdebug_disable_account_addresses’ );

  3. clickmac
    clickmac September 12, 2013 at 13:43 | | Reply
  4. Karen
    Karen September 12, 2013 at 16:22 | | Reply

    That plugin was mentioned in the article already, and I do use that plugin for the checkout page. But I need the same limited fields ( First name, Last name, and email address only) on the Edit Address page and My Account page that are part of Woocommerce. Can anyone help me figure out how to do that?

  5. vj
    vj November 2, 2013 at 22:09 | | Reply

    This worked a treat – thanks!

  6. papa0urs
    papa0urs November 22, 2013 at 01:43 | | Reply

    I did it and now i have a blank screen and i cant login my wp account ;(

  7. Andrew Rezk
    Andrew Rezk December 26, 2013 at 02:25 | | Reply

    Thanks much for this helpful info., I used woocommerce checkout manager plugin, it removed all the fields but anyone knows how to remove the billing address title that shows on the checkout page?


  8. Vinny Moreira
    Vinny Moreira January 9, 2014 at 19:06 | | Reply

    It works! Thank you for this code.

  9. Dinga Bogdan
    Dinga Bogdan January 16, 2014 at 11:44 | | Reply

    “If I were you, I would just do it programmatically.” you just made me to get my hands dirty… again :)
    Thank you !

  10. sergioronei
    sergioronei August 10, 2014 at 18:01 | | Reply

    Yeah man! Thanks.

  11. Brad
    Brad October 31, 2014 at 16:46 | | Reply

    Worked perfect! Thanks. Is it just me or are there several quarks with WooCommerce? Seems like they would make a lot more money if they offered a pro version for $50 with additional features like this than trying to upsell a boat load of plugins for $100 each that only do one thing.

  12. saimon
    saimon October 31, 2014 at 18:31 | | Reply

    thanks for sharing this tips. it solves my prob..

  13. haru
    haru November 19, 2014 at 08:02 | | Reply

    hi i just want to empty the default billing details from my checkout page is ther any possibility for this.

  14. buscando1milhaoernando
    buscando1milhaoernando December 16, 2014 at 01:30 | | Reply

    Hey Jean, thanks, very nice post!

    Do you know a way (manually or automatic) to remove the whole section “additional information/billing and shipping address”?


    1. Coen
      Coen February 1, 2015 at 14:30 | | Reply

      I’d like to know how to do this too!
      It’s kinda strange when the titles still appear whilst there are no fields below them to fill….


  15. Judah Lamm
    Judah Lamm January 27, 2015 at 17:06 | | Reply

    Hey Jean,

    Thank you for the code! I was wondering if you knew how to turn it into more of an if statement? Meaning, I have two options on my checkout page (CC & Paypal) if the user clicks on Paypal, I would like your code to run.

    Do you know how/where to do that?


  16. Lana
    Lana March 2, 2015 at 02:27 | | Reply

    This totally fucked up my site. Now I can’t access it!!

    1. Judah
      Judah March 2, 2015 at 03:13 | | Reply

      Hey Lana.

      Where did you place the code?

      If you access your site via ftp, you should be able to locate the file and delete the code you put in.

  17. Anup Dhirwan
    Anup Dhirwan March 7, 2015 at 14:18 | | Reply

    Lana, you might have placed that code inside the braces of already existing code in theme’s functions.php. I did that too and “fucked up my site” anyway, i undo the modification via ftp and added the whole code outside the braces of the already existing code. That did the job.

Leave a Reply