Skip to content

Change the Additional Information Placeholder Text field in WooCommerce

You can change the WooCommerce  Additional Information placeholder text field in the checkout page with the woocommerce_checkout_fields filter.

woocommerce-additional-order-notes

Use it in your themes  functions.php file like so…

add_filter( 'woocommerce_checkout_fields' , 'wpb_custom_additional_info' );
// Change placeholder text in Additional Notes
function wpb_custom_additional_info( $fields ) {
     $fields['order']['order_comments']['placeholder'] = 'Add a Shipping address here if different from Billing Address, or any additional notes for delivery';
     return $fields;
}

Change the text above in the quote ‘Add a Shipping….delivery‘ to what you want.

Ref

 

Leave a Comment





Scroll To Top