Currently, our template does not use that filter but we have added support for it in the new version that’s coming in a few weeks.
If you want the functionality right now before the new version is released, you can override the template file and remove the order notes field from there.
Kind regards,
The Generation
Instead of the mentioned override of the template file, this might work better:
add_filter( 'woocommerce_checkout_fields' , 'remove_order_notes_field', 20, 1 );
function remove_order_notes_field( $fields ) {
unset($fields['order']['order_comments']);
return $fields;
}
For more info see: https://ww.wp.xz.cn/support/topic/disable-order-note-field-in-checkout/#post-17987063
Just wanted to follow up on this. Could you please try the latest version and see if your code works?
We’ve tested it on our end but would like a confirmation from you as well.