/*Change Order Notes Placeholder Text - WooCommerce*/
function wpflt_woocommerce_order_notes_text( $fields ) {
$fields['order']['order_comments']['placeholder'] = 'Comments/ Color Choice/ GSTIN/ VAT Number';
return $fields;
}
add_filter( 'woocommerce_checkout_fields', 'wpflt_woocommerce_order_notes_text' );
Change the default “Order Notes” placeholder text, “Notes about your order, e.g. special notes for delivery” to any custom text. Add the above code to the child theme’s functions.php to change the Order Notes Placeholder Text in WooCommerce.
When customers place orders in WooCommerce, you may ask them to enter their Tax Information, color choice, etc. This feature can be handy to collect specific data from the customer.