Categories

Thursday, March 28, 2024
#919814419350 therichposts@gmail.com
Woocommerce

Woocommerce checkout page notices

How to add download pdf link in woocommerce single product page?

Woocommerce checkout page notices

Hello to all, welcome to therichpost.com. In this post, I am sharing the code for Woocommerce checkout page notices. Woocommerce is the most popular e-commerce plugin for WordPress.

With this hook, you can add custom notification on woocommerce checkout page. 
I have also shared the code  for woocommerce cart page noticies on previous post.
Here is the code and you need to add this into your theme’s functions.php file:
add_action('woocommerce_before_checkout_form', 'my_custom_message');
function my_custom_message() {
        wc_print_notice( __('Enter your custom message'), 'notice' );
}

 This is it. If you have any query related to woocommerce then do comment or email me.

therichpost
the authortherichpost
Hello to all. Welcome to therichpost.com. Myself Ajay Malhotra and I am freelance full stack developer. I love coding. I know WordPress, Core php, Angularjs, Angular 14, Angular 15, Angular 16, Angular 17, Bootstrap 5, Nodejs, Laravel, Codeigniter, Shopify, Squarespace, jQuery, Google Map Api, Vuejs, Reactjs, Big commerce etc.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.