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

Smart Web Creative - How To Grab a URL Parameter for an Elementor Form in a Popup

Elementor: How To Grab a URL Parameter for an Elementor Form in a Popup

Trying to find out how to grab a URL parameter for an Elementor form in a popup? You can use the Javascript code below within an HTML widget that is on your Elementor popup: <script type="text/javascript"> jQuery(function($){ //When Clicking Input Fields $(document).on(‘click’,’input’, function(event){ //Grab Current URL var urlstr = window.location.href;

Read More »
Smart Web Creative - Quick Resources: Date and Time in PHP

Quick Resources: Date and Time in PHP

If you want to display the date and time in PHP, it can be somewhat confusing what letters to use to bring in those elements. Below is a list of all the PHP date and time options that you can use on your site: To utilize these options in PHP,

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