Adding Custom Checkout Message Woocommerce.
Ever wanted to add a custom message or Notification on the Checkout Page . Like
- Free Shipping world wide or
- We usually take 2 Business days for processing
Or some kind of notification so the customers would know that before placing order .
Below is a simple solution for it .
What access/tools you would require ?
FTP Client or File manager to edit your themes functions.php file
Child Theme (Recommended)
Any file editor (Notepad | Notepad++ | Sublime Text or any of your choice)
Step 1 :
Open your themes functions.php file .
(You can usually find this file by going to your installation folder and navigating to ROOT/wp-content/themes/THEME_NAME or THEME_NAME-child)
Step 2 :
Add following line to the file
add_action('woocommerce_before_checkout_form', 'monarch_checkout_message');
function monarch_checkout_message( ) {
echo '<div class="monarch_checkout_message"><h4 style="font-size: 20px;color: #ff0000;">Please allow 2 Business days for the order to process before the order is shipped out. If you need urgent delivery, call <a href=tel:"123 456 7890">123 456 7890</a> before placing the order. Thanks !</h4>
</div>'; }
In the above code you can change the <h4> tags to any tag you want based on your preference and also change style options to better suit your needs .
Step 3 :
Replace your functions.php file with the modified file.
Step 4 : Enjoy !!
Checkout our blog section to see more useful tips.
At Kyra Web Studio, we’re passionate about helping businesses build a strong brand identity that drives growth and success. Our team of experts specializes in website design, ecommerce solutions, real estate design, web overhaul, responsive design, custom development, UI/UX design, paid advertising, branding, SEO, social media, content marketing, email marketing, hosting, maintenance, security, CMS implementation, backup & recovery, domain management, performance optimization, and website accessibility. Let us help you create a brand that stands out in the crowd and resonates with your target audience. Contact us today to learn more about our services and how we can help you achieve your business goals.


