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
PHP Snippet: Remove the Order Notes Field and “Order Notes” title from the Checkout Page – WooCommerce
Please let me know in the comments if everything went 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.
If you think this code saved you time & money, feel free to join 17,000+ WooCommerce Weekly subscribers for blog post updates and 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.
37 thoughts on “WooCommerce: Hide “Order Notes” @ Checkout”
Chris
Great article! How can I remove order notes for non-shipping products? So that it still shows for shipping items but not digital products like courses or downloads?
Hi Chris, 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!
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.
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!
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!
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.
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!
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
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
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 :)
With 100,000 (and growing) monthly organic sessions, Business Bloomer is the most consistent, most active and most complete WooCommerce development/customization blog.
Of course this website itself uses the WooCommerce plugin, the Storefront theme and runs on a WooCommerce-friendly hosting.
Great article! How can I remove order notes for non-shipping products? So that it still shows for shipping items but not digital products like courses or downloads?
Thank you!
Hi Chris, 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!
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:
which worked no problems.
EDIT:
Cool, snippet updated
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.
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!
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.
Weird. Did you tell Shoptimizer support team?
Hi Rodolfo,
How can i hide the order notes if one payment method is selected ?
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!
Thanks for that Rodolfo. Still working nel 2020 😀
Great!
This is working also for me – WP 5.3.2 + WC 3.8.1:
Cool!
Yeah, this one works for me,
but the other one provided by post author didn’t work for me.
Thanks man.
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!
Excellent!
it worked! thanks! 😉
Great tutorials. I have added your page to my favorites!
Awesome, thanks Nathalie 🙂
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’ );
Hey Keely, thanks for your comment! Could you try with a different theme and let me know if it works please?
Thanks for great solution,
Still working in feb-2108
Excellent 🙂
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.
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!
Now that I think you can also “Force Shipping to Billing address” in the settings – that will remove the col 2 entirely
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
Thanks Rob! I’ll see what I can do 🙂
Thank you, worked perfectly!
Awesome 🙂
Is there a way to move order notes above billing info
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
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
Natasha, thanks for your feedback. Try use the following snippet and let me know if it works!
Hi Rodolfo, works like a charm! Thanks
Awesome 🙂