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

Disable Product Pages in WooCommerce

Add the following code to your functions.php file to disable users from accessing product pages within WooCommerce: /* Remove Links to Access Product Pages */ remove_action( ‘woocommerce_before_shop_loop_item’, ‘woocommerce_template_loop_product_link_open’, 10 ); remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_product_link_close’, 5 ); /* Prevent Users from Accessing Product Pages by Displaying the 404 Page */ function prevent_access_to_product_page(){

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