Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Add this snippet in your child theme functions.php file */
- add_action( 'woocommerce_before_cart' , 'my_custom_cart_notice' );
- function my_custom_cart_notice() {
- wc_clear_notices();
- wc_print_notice( 'My custom notice text comes here', 'notice' );
- wc_clear_notices();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement