I am interested in
Custom message in customer checkout page in Woocommerce
August 4, 2019
August 4, 2019

Adding a custom message for a customer inside the checkout page in Woocommerce

In this tutorial, we are going to edit functions.php file. Don’t know where to find this file? No worries, we have an entire article where we teach you where to find it. Also, you can watch a video tutorial on our channel.

Sometimes, we want to add a custom message for our customers right inside the checkout page. Maybe, we have some kind of specifications regarding the shipping methods or we just want to remind them, how the shipping works. It is fairly easy. Let’s find our functions.php file and add the short code below:

function websitetheory_notice_shipping() {
 echo 'Your message';
 }
 add_action( 'woocommerce_review_order_before_payment', 'websitetheory_notice_shipping' );

And that’s it. You can even format the text, use heading, paragraphs and any other HTML tags.

Sign up to our newsletter