If you just simply want to change what the ‘Order notes’ field that appears at the bottom of the Woocommerce checkout says, then this code snippet will do that for you.
1 2 3 4 5 6 7 8 9 10 |
function md_custom_woocommerce_checkout_fields( $fields ) { $fields['order']['order_comments']['placeholder'] = 'Please add if your purchase is spread over a certain time'; $fields['order']['order_comments']['label'] = 'Direct Debit Account Number'; return $fields; } add_filter( 'woocommerce_checkout_fields', 'md_custom_woocommerce_checkout_fields' ); |
If you want to add an extra field then this snippet will help