Checkout

WooCommerce Remove Order Notes Field From Checkout

Pre-Requisites

There are no pre-requisites in order for you to be able to implement this solution.

How To Implement This Solution?

Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.

About This Solution

A lot of the time, the user wont need to enter additional information about their order especially if shipping is disabled. Typically these notes fields will let the store admin know when is a good time for delivery. But remember, the less options the user has to complete, the more likely they are to become a paying customer. Sure, you could hide fields using CSS but this doesn’t actually remove them, it just hides them from the user. Unsetting fields using PHP is a lot more practical in the long run. Removing this optional field may be beneficial in some contexts, and here’s how to remove the heading, label, and field itself.

/**
* Snippet Name:     Remove the Order Notes field section from the WooCommerce checkout.
* Snippet Author:   ecommercehints.com
*/

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

add_filter( 'woocommerce_checkout_fields' , 'remove_order_notes' );

function remove_order_notes( $fields ) {
unset($fields['order']['order_comments']);
return $fields;
}

Snippet Benefits

  • Reduce the number of distractions at the last stage of the sales funnel.
  • Focus the user’s attention on required, non-optional fields.
  • Shorten the buying process, reducing effort in becoming a converting customer.

100 WooCommerce Conversion Rate Optimisation Tips

This field is for validation purposes and should be left unchanged.

Let’s collaborate!

Need to outsource WordPress development?

Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.

First Timer Here?

Sign up to receive 20% off on your first month with us.

26027
WELCOME OFFER