Home » WooCommerce: Add Shipping Notices on Checkout Page

WooCommerce: Add Shipping Notices on Checkout Page

by adminkys

A WooCommerce client wanted to show some text in the checkout page, and specifically “Please allow 5-10 business days for delivery after order processing.” so that customers are aware of how shipping works. This is a vital information you should disclose on every page of your ecommerce website, and of course on the checkout page too.

Show a Shipping Notice on the WooCommerce Checkout

PHP snippet: add text above Order Notes in the Shipping column of the checkout page:

/**
 * @snippet       Add Order Note @ Checkout Page - WooCommerce
 * @how-to        Get tutoraspire.com FREE
 * @sourcecode    https://tutoraspire.com/?p=358
 * @author        Tutor Aspire
 * @compatible    WC 3.5.1
 * @donate $9     https://www.tutoraspire.com
 */

add_action( 'woocommerce_after_order_notes', 'tutoraspire_notice_shipping' );

function tutoraspire_notice_shipping() {
echo '

Please allow 5-10 business days for delivery after order processing.

'; }

You may also like