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        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli
 * @compatible    WooCommerce 5
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */

add_filter( 'woocommerce_enable_order_notes_field', '__return_false', 9999 );

Where to add this snippet?

You can place PHP snippets at the bottom of your child theme functions.php file (delete "?>" if you have it there). 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.3.

If you think this code saved you time & money, feel free to join 14,000+ WooCommerce Weekly subscribers for blog post updates or 250+ Business Bloomer supporters for 365 days of WooCommerce benefits. Thank you in advance :)

Need Help with WooCommerce?

Check out these free video tutorials. You can learn how to customize WooCommerce without unnecessary plugins, how to properly configure the WooCommerce plugin settings and even how to master WooCommerce troubleshooting in case of a bug!

Rodolfo Melogli

Business Bloomer Founder

Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as an independent 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.

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

  1. Strangely this didn’t work for me.

    WP Version: 5.7.2
    WOO Version: 5.3.0
    PHP Version: 7.4
    Theme: Avada (Child)
    Theme Version: 7.3.1

    After reading the comments I found this line:

    add_filter( 'woocommerce_enable_order_notes_field', '__return_false' 9999 );

    which worked no problems.

    1. EDIT:

      add_filter( 'woocommerce_enable_order_notes_field', '__return_false', 9999 );
      1. Cool, snippet updated

  2. Thanks for that Rodolfo, worked perfectly!

    Theme: Flatsome (Version: 3.12.3)

    Do you have an idea if it is possible not to allow a line break (no ENTER) in the Order Notes?
    I have problems exporting the order. The customers should not be able to enter a line break.
    Therefore I have hidden the Notes for the time being.

    1. Hey Engin, thanks so much for your comment! Yes, this is definitely possible, but I’m afraid it’s custom work. If you’d like to get a quote, feel free to contact me here. Thanks a lot for your understanding!

  3. add_filter( ‘woocommerce_enable_order_notes_field’, ‘__return_false’ );

    Stops items from being added to cart in a pop out cart slider in Shoptimizer theme for me.

    1. Weird. Did you tell Shoptimizer support team?

  4. Hi Rodolfo,
    How can i hide the order notes if one payment method is selected ?

    1. Hi Yousoof, thanks so much for your comment! Yes, this is definitely possible, but I’m afraid it’s custom work. If you’d like to get a quote, feel free to contact me here. Thanks a lot for your understanding!

  5. Thanks for that Rodolfo. Still working nel 2020 😀

    1. Great!

  6. This is working also for me – WP 5.3.2 + WC 3.8.1:

    add_filter( 'woocommerce_enable_order_notes_field', '__return_false', 9999 );
    1. Cool!

      1. Yeah, this one works for me,
        but the other one provided by post author didn’t work for me.
        Thanks man.

  7. 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!

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

    1. Awesome, thanks Nathalie 🙂

  9. 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?

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

  11. 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

  12. 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 🙂

  13. Thank you, worked perfectly!

  14. 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

  15. 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 shortcodes: [php]code_here[/php]. Failure to complying with this (as well as going off topic, not writing in English, etc.) will result in comment deletion. You should expect a reply in about 2 weeks - this is a popular blog but I need to get paid work done first. Please consider joining BloomerArmada to get blog comment reply priority, ask me 1-to-1 WooCommerce questions and enjoy many more perks. Thank you :)

Your email address will not be published.