woocommerce hide additional information checkout

Solutions on MaxInterview for woocommerce hide additional information checkout by the best coders in the world

showing results for - "woocommerce hide additional information checkout"
Emely
16 Feb 2016
1// Removes Order Notes Title
2
3add_filter( 'woocommerce_enable_order_notes_field', '__return_false', 9999 );
4
5// Remove Order Notes Field
6
7add_filter( 'woocommerce_checkout_fields' , 'njengah_order_notes' );
8
9function njengah_order_notes( $fields ) {
10
11	unset($fields['order']['order_comments']);
12	return $fields;
13
14}