Woocommerce

Woocommerce checkout page notices

Woocommerce checkout page notices

woocommerce
217Views

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.

Ajay Malhotra
the authorAjay Malhotra
Hello to all. Welcome to therichpost.com. Myself Ajay Malhotra and I am full stack developer. I love coding. I know Wordpress, Core php, Angularjs, Angular 2, Angular 6, Angular 7, laravel, Codeigniter, Shopify, Squarespace, Jquery, Google Map Api, Vuejs, Reactjs, Bigcommerce etc.

Leave a Reply

Positive SSL