WooCommerce: Hide “Order Notes” @ Checkout

Here’s a simple PHP snippet to remove the annoying “Order Notes” / “Additional Information” on the checkout page. This section can usually be found below the shipping form (or the billing form if you have no shipping). Thankfully, you just need 1 line of custom PHP!

WooCommerce Checkout Order Notes
WooCommerce Checkout Order Notes

PHP Snippet: Remove the Order Notes Field and “Order Notes” title from the Checkout Page – WooCommerce

/**
* @snippet        Remove Order Notes @ WooCommerce Checkout
* @how-to         Watch tutorial @ https://businessbloomer.com/?p=19055
* @author         Rodolfo Melogli
* @compatible     WC 3.7
* @donate $9      https://businessbloomer.com/bloomer-armada/
*/

add_filter( 'woocommerce_enable_order_notes_field', '__return_false' );

Where to add this snippet?

You can place PHP snippets at the bottom of your child theme functions.php file (before "?>" if you have it). CSS, on the other hand, goes in your child theme style.css file. Make sure you know what you are doing when editing such files - if you need more guidance, please take a look at my free video tutorial "Where to Place WooCommerce Customization?"

Does this snippet (still) work?

Please let me know in the comments if everything worked as expected. I would be happy to revise the snippet if you report otherwise (please provide screenshots). I have tested this code with Storefront theme, the WooCommerce version listed above and a WordPress-friendly hosting on PHP 7+.

If you think this code saved you time & money, please join other Business Bloomer supporters and avail of 365 days of WooCommerce benefits. Thank you in advance :)

Need Help with WooCommerce Customization?

Check out these free video tutorials!

  • how-to-edit-woocommerce-with-php-snippets
  • woocommerce-hooks-add_action-list-visual
  • woocommerce-customize-single-product-page-PHP

Rodolfo Melogli

Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as a WooCommerce freelancer since 2011. His goal is to help entrepreneurs and developers overcome their WooCommerce nightmares. Rodolfo loves travelling, chasing tennis & soccer balls and, of course, wood fired oven pizza.

21 thoughts on “WooCommerce: Hide “Order Notes” @ Checkout

  1. Hi Rodolfo,

    This snippet still works beautifully on:
    – WordPress 5.2.2.
    – Divi 3.23.3
    – WooCommerce 3.6.5
    – Flywheel hosting w/ PHP 7.2

    Thanks so much!

    1. Excellent!

  2. it worked! thanks! 😉
    Great tutorials. I have added your page to my favorites!

    1. Awesome, thanks Nathalie 🙂

  3. Didn’t work for me 🙁

    Here’s what I have:
    //remove Order Notes Field
    add_filter( ‘woocommerce_checkout_fields’ , ‘bbloomer_remove_checkout_order_notes’ );

    function bbloomer_remove_checkout_order_notes( $fields ) {
    unset($fields[‘order’][‘order_comments’]);
    return $fields;
    }

    // removes Order Notes Title – Additional Information
    add_filter( ‘woocommerce_enable_order_notes_field’, ‘__return_false’ );

    1. Hey Keely, thanks for your comment! Could you try with a different theme and let me know if it works please?

  4. Thanks for great solution,
    Still working in feb-2108

  5. Code snippet one should say:
    Remove the Order Notes field & “Order Notes” title from the Checkout Page – WooCommerce.

    Code snippet two should say:
    Remove the Order Notes field, “Order Notes” title and “Additional information” title from the Checkout Page – WooCommerce.

    There should also be a code snippet three that removes the column. col-2 so that col-1 has a width of 100%. I can do so through CSS but there is probably a better way of handling this.

    1. Thanks for that Paal 🙂 To hide the shipping column with shipping enabled, CSS is your best bet, as WooCommerce needs to validate those fields. Hope this helps!

      1. Now that I think you can also “Force Shipping to Billing address” in the settings – that will remove the col 2 entirely

  6. Hi Rodofo
    It would be interesting to see a snippet on you site that:

    Hide [order] & [order comments] for all countries – excluding [selected countries or countries in the “zero tax” setting of woocommerce]

    Thank you for the great snippet insights you have provided so far

    1. Thanks Rob! I’ll see what I can do 🙂

  7. Thank you, worked perfectly!

  8. Is there a way to move order notes above billing info

    1. Dragan, thanks so much for your comment! Yes, this is possible – but unfortunately this is custom work and I cannot provide a complementary solution here on the blog. Thanks a lot for your understanding! ~R

  9. Hi Rodolfo
    I’ve just tried that. It will remove the field promptly, but not the title ‘Order Notes’ above that. How could be the title removed aswell? Thanks N

    1. Natasha, thanks for your feedback. Try use the following snippet and let me know if it works!

      add_filter( 'woocommerce_enable_order_notes_field', '__return_false' );
      
      1. Hi Rodolfo, works like a charm! Thanks

Questions? Feedback? Support? Leave your Comment Now!
_____

If you are writing code, please wrap it between: [php]code_here[/php]. Failure to complying with this (as well as going off topic) will result in comment deletion. You should expect a reply in about a week - this is a popular blog but I need to get paid work done first. Please consider joining #BloomerArmada to ask me 1-to-1 WooCommerce questions. Thank you :)

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.