
Hello how do i remove the additional information in woo commerce checkout?
I somehow ended up having two of these and after adding this to my functions.php:
// removes Order Notes Title - Additional Information
add_filter( ‘woocommerce_enable_order_notes_field’, ‘__return_false’ );
//remove Order Notes Field
add_filter( ‘woocommerce_checkout_fields’ , ‘remove_order_notes’ );
function remove_order_notes( $fields ) {
unset($fields[‘order’][‘order_comments’]);
return $fields;
}
It removed my notes section and only one of the additional information texts went away along with the text box
However i would like to keep the text box and have the second one gone here is a link to my previous post that has the login credentials : Please have a look and advise thank you in advance 