Pro Verified

Name

Remove Order Notes Information on Woo Checkout

About

This will remove the Order Notes from being visible on the Checkout

Language

Javascript

Rating

Voted: 1 by 1 user(s)

How to Setup Snippet

Add to Code Snippets and Run Everywhere

Codevault

WebSquadron

Scroll down to see more snippets from this codevault.

Wordpress Compatability

The author has indicated that this snippet is compatable up to wordpress version: Not Specified

Code Snippet Plugin Sync

Free & Pro

Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.

Pro Only (Coming Soon)

You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.

History

Last modified:

29/11/2022

Important Note

This snippet has the following status:

Pro Verified

This snippet has been verified by a Code Snippet Pro team member.

Pro Comments:

Remove Order Notes Information on Woo Checkout

 
                    
1// Remove Order Notes Field
2add_filter( 'woocommerce_checkout_fields' , 'remove_order_notes' );
3 
4function remove_order_notes( $fields ) {
5 unset($fields['order']['order_comments']);
6 return $fields;
7}

1

Related Snippets

Please see some snippets below related to this snippet..

WooCommerce

AI Verified

0

WooCommerce PDF Invoice - Remove all invoices

Added: 1 year ago

Last Updated: 1 year ago

Remove all generated invoices from the plugin WooCommerce PDF Invoice

WooCommerce

AI Verified

0

Remove WooCommerce Checkout Fields

Added: 1 year ago

Last Updated: 1 year ago

This code removes certain checkout fields from a WooCommerce checkout page, including billing company, billing address, billing city, billing postcode, billing country, billing state, billing phone, a...

WooCommerce

AI Verified

0

WooCommerce Custom Text Before Register Form Fields

Added: 1 year ago

Last Updated: 1 year ago

This quick guides shows you how you can add any custom text under the Register Form heading, above the form fields on the My Account page. By adding custom text above the register form fields on the m...

Other Snippets in this Codevault

These are some popular snippets from this users codevault..

Performance

AI Verified

31

Remove Unused Javascript

Added: 1 year ago

Last Updated: 2 weeks ago

Remove Unused Javascript - and improve your Page Speed Insight Score

WooCommerce

Pro Verified

9

Deactivate some WooCommerce Checkout Fields

Added: 1 year ago

Last Updated: 7 months ago

Deactivate some WooCommerce Checkout Fields from showing

Elementor

AI Verified

6

CSS Grid Aid

Added: 7 months ago

Last Updated: 3 weeks ago

This can be used for any WordPress Builder to aid working with CSS Grids.