Thank You Page

WooCommerce Add Custom Content To The Bottom Of The Order Received Thank You Page

WooCommerce Add Custom Content At Bottom Of Order Received Thank You Page

Pre-Requisites

There are no pre-requisites in order for you to be able to implement this solution.

How To Implement This Solution?

Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.

About This Solution

Adding custom content at the bottom of the the WooCommerce Order Received Thank You page is a great way to sell upsell products, ask users to rate your store, capture permission for email subscription etc. This quick guide shows you how to display literally any custom content you like at the very bottom of the thank you page.

/*
* Snippet Name:		WooCommerce add content to the bottom of the order received thannk you page
* Snippet Author:	ecommercehints.com
*/

add_action( 'woocommerce_thankyou', 'ecommercehints_custom_content_thank_you_page_bottom', 10, 0 );

function ecommercehints_custom_content_thank_you_page_bottom() {
 	echo '<h2>What Now?</h2><p>Please check your confirmation email for your unique download link. You can <strong>login to your account here</strong> to check the status of your order</p>';
}

100 WooCommerce Conversion Rate Optimisation Tips

This field is for validation purposes and should be left unchanged.

Let’s collaborate!

Need to outsource WordPress development?

Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.

First Timer Here?

Sign up to receive 20% off on your first month with us.

26027
WELCOME OFFER