Change the Additional Information Placeholder Text field in WooCommerce

remove order notes field woocommerce

You can change the WooCommerce  Additional Information placeholder text field in the checkout page with the woocommerce_checkout_fields filter. 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’] = ‘Any additional notes for delivery’; return $fields; } Change…

Read More

Filter & Change WooCommerce ‘Place Order’ Text Button on Checkout Page

Change Woocommerce Place Order Button

You can filter and change WooCommerce’s ‘Place Order’ Text Button on the Checkout Page using the filter woocommerce_order_button_html   The default mark up of the Place Order checkout button is: <button type=”submit” class=”button alt” name=”woocommerce_checkout_place_order” id=”place_order” value=”Place order” data-value=”Place order”>Place order</button> You can use the filter like so: add_filter( ‘woocommerce_order_button_html’, ‘custom_order_button_html’); function custom_order_button_html( $button )…

Read More