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!
PHP Snippet: Remove the Order Notes Field and “Order Notes” title from the Checkout Page – WooCommerce
This code still works, unless you report otherwise. To exclude conflicts, temporarily switch to the Storefront theme, disable all plugins except WooCommerce, and test the snippet again: WooCommerce troubleshooting 101
Related content
WooCommerce: Cart and Checkout on the Same Page This is your ultimate guide – complete with shortcodes, snippets and workarounds – to completely skip the Cart page and have both cart table and checkout form on the same (Checkout) page. But first… why’d you want to do this? Well, if you sell high ticket products (i.e. on average, you sell no more than […]
WooCommerce: Disable Payment Method If Product Category @ Cart Today we take a look at the WooCommerce Checkout and specifically at how to disable a payment gateway (e.g. PayPal) if a specific product category is in the Cart. There are two tasks to code in this case: (1) based on all the products in the Cart, calculate the list of product categories in the […]
WooCommerce: Add Privacy Policy Checkbox @ Checkout Here’s a snippet regarding the checkout page. If you’ve been affected by GDPR, you will know you now need users to give you Privacy Policy consent. Or, you might need customer to acknowledge special shipping requirements for example. So, how do we display an additional tick box on the Checkout page (together with the existing […]
WooCommerce: Redirect to Custom Thank you Page How can you redirect customers to a beautifully looking, custom, thank you page? Thankfully you can add some PHP code to your functions.php or install a simple plugin and define a redirect to a custom WordPress page (as opposed to the default order-received endpoint). This is a great way for you to add specific up-sells, […]
WooCommerce: Disable Payment Gateway by Country You might want to disable PayPal for non-local customers or enable a specific gateway for only one country… Either way, this is a very common requirement for all of those who trade internationally. Here’s a simple snippet you can further customize to achieve your objective. Simply pick the payment gateway “slug” you want to disable/enable […]
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. Follow @rmelogli
39 thoughts on “WooCommerce: Hide “Order Notes” @ Checkout”
Hello Nur, 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!
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? Customization? Leave your comment now! _____
If you are writing code, please wrap it like so: [php]code_here[/php]. Failure to complying with this, as well as going off topic or not using the English language will result in comment disapproval. 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 the Business Bloomer Club to get quick WooCommerce support. Thank you!
I just want to set order note to read only, don’t hide it. Any suggestion?
Hello Nur, 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!
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 ๐