WooCommerce: Add a Custom Notice Below the Order Review on the Checkout Page

If you need to add a custom notice below the order review on the checkout page of your WooCommerce site, add the following code to your functions.php file. Be sure to change the styling and text:


/* Add Notice Below Order Review on Checkout Page */
add_action( 'woocommerce_checkout_order_review', 'custom_order_notice_checkout', 15 );

function custom_order_notice_checkout() {
echo '<div style="padding: 10px; background: #ffe498; border: solid 1px #d49f0b; margin-bottom: 20px;">Shipping Delay: All orders placed through 7/11 will ship 7/12.</div>';
}

Other Helpful Articles

Online Generator for Writing a Privacy Policy

Many websites need a privacy policy page. WordPress actually has a pre-built privacy policy page that users can edit. However, editing what they give you can be a little overwhelming. Furthermore, depending on your business, it may be better to use a lawyer to write up a more detailed privacy

Read More »

How To Disable HTML in WordPress Comments

If you don’t want users to post HTML in comments on your site, you can post the code below into your WordPress theme’s functions.php file: /* Disable Hyperlinks in WordPress Comments */ remove_filter(‘comment_text’, ‘make_clickable’, 9); add_filter(‘pre_comment_content’, ‘strip_comment_links’); function strip_comment_links($content) { global $allowedtags; $tags = $allowedtags; unset($tags[’a’]); $content = addslashes(wp_kses(stripslashes($content), $tags));

Read More »

What Do You Need Done?:

(Please check all that apply)

Tell Us About You

Almost Done!

Let's Get Some Info

Let's Get Some Info

Let's Get Some Info

Let's Get Some Info

Let's Get Some Info

Let's Get Some Info