How to Add Shipping Notices on Checkout Page at WooCommerce?

In the ecommerce business, product delivery takes time. So, it is always better to keep your customers informed beforehand. This way, you can avoid inconvenience. Displaying a little text related to delivery time taken is always beneficial. So, in this article, you will learn to add shipping notices on checkout page at WooCommerce.

This product delivery information should be present on every page including the checkout page. Doing so, your customers will come to know how your shipping works. Also, it will reduce further complaints related to late delivery as you already aware your customers regarding your delivery services. Furthermore, we will add notice quoted as “Please allow 5-10 business days for delivery after order processing”.

Let’s see how it works.

Image showing how to add shipping notices on checkout page in WooCommerce

PHP Snippet: WooCommerce Add Shipping Notices on Checkout page

add_action( 'woocommerce_after_order_notes', 'phpsof_notice_shipping' );
 
function phpsof_notice_shipping() {
echo '<p class="allow">Please allow 5-10 business days for delivery after order processing.</p>';
}

Where do you add this snippet?

So, this is how you can add shipping notices on checkout page at WooCommerce. Also, it is easier to activate this function with this code. So, to apply this code, just add this PHP snippet at your child theme function.php file’s bottom. It should be placed before “?>”, if you have it there. Apart from this, CSS goes in your child theme style.css file. Make sure that you are editing these files in a right manner for best results.

Is this snippet still valid?

So, this is how you can learn about add shipping notices on checkout page at WooCommerce. I have applied this code on the Storefront theme and WordPress friendly hosting PHP 7.3. Let me know if everything works as expected when you code. Share it further if you find this snippet useful for you and it had saved your time. 

Also Read, How to Restrict Shipping to Only One State in WooCommerce?

How to Attach files to Order Emails in WooCommerce?

Important links: WooCommerce – https://woocommerce.com/