Posted on

WooCommerce: Hide “Additional Information” & “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 (fully, including the title) on the WooCommerce Checkout
* @how-to Watch tutorial @ https://businessbloomer.com/?p=19055
* @sourcecode https://businessbloomer.com/?p=17432
* @author Rodolfo Melogli
* @testedwith WooCommerce 3.4.4
*/

add_filter( 'woocommerce_enable_order_notes_field', '__return_false' );

Where to add this code?

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 delicate files - if you need more guidance, please take a look at my free WooCommerce Customization video tutorial.

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?

Check out these free videos, tutorials and tips!

  • how-to-edit-woocommerce-with-php-snippets
  • woocommerce-hooks-add_action-list-visual
  • woocommerce-customize-single-product-page-PHP
  • woocommerce-customize-shop-page-PHP
  • woocommerce-advanced-customization
  • how-to-edit-woocommerce-cart
  • woocommerce-customize-checkout-page-PHP
  • woocommerce-email-customization
  • woocommerce-conditional-logic

Rodolfo Melogli

Author, WooCommerce expert, WordCamp speaker and Internet marketer, Rodolfo Melogli has worked as a WooCommerce freelancer since 2011. He helps entrepreneurs and developers overcome their WooCommerce nightmares :) Rodolfo is the organiser of WordCamp Dublin, the Dublin WooCommerce Meetup, the Dublin Ecommerce Meetup and the Dublin WordPress Meetup. He enjoys interacting with people, travelling and chasing tennis & soccer balls. Of course, he loves pizza too.

19 thoughts on “WooCommerce: Hide “Additional Information” & “Order Notes” @ Checkout

  1. it worked! thanks! πŸ˜‰
    Great tutorials. I have added your page to my favorites!

    1. Awesome, thanks Nathalie πŸ™‚

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

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

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

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

  5. 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 πŸ™‚

  6. Thank you, worked perfectly!

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

  8. 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' );
      
    2. Hi Rodolfo, works like a charm! Thanks

Questions? Feedback? Support? Leave your Comment Now!
If you're writing code, please wrap it between: [php] code_here [/php]

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.