
Let’s learn how to personalize the WooCommerce Thank You page with simple code, so that you can enhance the customer experience and boost sales!
Hosted by Rodolfo Melogli
Masterclass overview
A thank you page is incredibly important for an ecommerce site. It serves as a confirmation of the purchase, provides essential order details, and offers opportunities for further engagement.
Unfortunately – or fortunately 🙂 – the WooCommerce Thank You page template is quite basic, which means there’s lots of room for improvement.
A well designed thank you page should feature:
- Trust (reassures customers that their order has been processed successfully, building trust and confidence in your business. Also a heartfelt, personalized message can make customers feel valued and appreciated)
- Order information (provides essential information like order number, shipping address, and expected delivery time, allowing customers to track their purchase)
- Product-specific documentation (tutorials, guidelines or content related to the products that were purchased)
- Upselling and cross-selling (promotes related or complementary products, increasing average order value)
- Customer retention (offers exclusive discounts or promotions to encourage repeat purchases and foster customer loyalty)
- Social sharing (displays social sharing buttons to help you reach a wider audience and generate word-of-mouth marketing)
- Customer feedback (includes a survey or rating system to gather valuable feedback)
- Loyalty or referral program enrollment (if you have a loyalty or affiliate program, provide information on how customers can join)
During this class, I will show you how to redesign the WooCommerce Thank You page to meet all the above criteria, so you can apply these features to your WooCommerce website.
This is an amazing opportunity to see how simple WooCommerce template changes can have a huge impact on customer retention and repeat business. It’s also a great opportunity to hang out with like-minded WooCommerce professionals during the live class (or forever, if you become a Business Bloomer Club member).
Video Recording
If you are a member, please log in.
Otherwise, here is why you should join the Club.
Code Snippets
/**
* @snippet Add content before, after Woo Thank You page
* @how-to businessbloomer.com/woocommerce-customization
* @author Rodolfo Melogli, Business Bloomer
* @compatible WooCommerce 9
* @community https://businessbloomer.com/club/
*/
// SHOW SOMETHING BEFORE THANK YOU PAGE CONTENT
add_action( 'woocommerce_before_thankyou', 'bbloomer_test' );
function bbloomer_test( $order_id ) {
echo '<h2>This is a TEST</h2>';
}
// SHOW SOMETHING AFTER THANK YOU PAGE CONTENT
add_action( 'woocommerce_thankyou', 'bbloomer_test_2' );
function bbloomer_test_2( $order_id ) {
echo '<h2>TEST 2</h2>';
}
// CUSTOMIZE "THANK YOU. YOUR ORDER HAS BEEN RECEIVED."
add_filter( 'woocommerce_thankyou_order_received_text', 'bbloomer_custom_thank_you_message', 9999, 2 );
function bbloomer_custom_thank_you_message( $html, $order ) {
$html = '<h2 style="text-align:center">Awesome, ' . $order->get_billing_first_name() . ', thanks so much for your purchase!</h2>';
return $html;
}
Useful Links
WooCommerce: Display Product Up-sells @ Thank You Page
WooCommerce: Include Custom WP Page @ Thank You Page
WooCommerce: “Share your Purchase on Twitter” @ Thank You Page
WooCommerce: View Thank You Page @ Order Admin
WooCommerce: Get Order Data (total, items, etc) From $order Object
What you’ll learn
Requirements
Upcoming masterclasses
As a Business Bloomer / WooWeekly subscriber you can attend as many live classes you wish – for free. Here’s a list of upcoming events (we usually take a break for June-August, otherwise you should expect about 2 classes per month). Make sure to attend live so you can interact with the teacher and the other attendees!
How to Spin Up WooCommerce Test Websites For Free
Testing WooCommerce snippets, plugins, themes shouldn’t be a hassle. Let’s discover free…
Live Migrating a WooCommerce Site to HPOS
Migrating a WooCommerce site to HPOS can be complex, especially with 40,000+…
Generate WooCommerce Test Data: Products, Orders, Users
To properly test or develop a WooCommerce site, you need a large…
Available recordings
As a Business Bloomer Club member you have full access to class recordings and teacher interaction via the comment area (make the most of your lifetime membership with online courses, private community and more!). Here’s the list of all past classes:
Log Events & Debug Custom Code with WooCommerce Logger
WooCommerce provides a simple way to log your custom events and debug your custom code…
Optimize WooCommerce Performance with WordPress Transients
Discover how WordPress transients can boost WooCommerce speed! We’ll explain what transients are, their pros…
Unlocking the Power of WooCommerce Featured Products
Many developers and store owners find themselves unsure about how to effectively use featured products….
Buying a WooCommerce Store: All You Need to Know
A guide to valuation, negotiation, and acquisition strategies – along with post-acquisition tips for optimizing…
1-Hour WooCommerce Challenge: Let’s Recreate the Nike Product Page
Join me for a live coding challenge, where I’ll customize the WooCommerce Single Product page…
Live Coding a WooCommerce Mini-Plugin
Join me for a live coding session, while I try to develop a custom, commercial…
WooCommerce AMA with Rodolfo Melogli
Join me for an ‘Ask Me Anything About WooCommerce’ session – covering customization, development, plugins,…
Maximize Your WooCommerce Potential: Understanding User Behavior with Clarity
Learn how to use the free Microsoft Clarity plugin to record and analyze user behavior…
Mastering WooCommerce Thank You Page Customization: A Plugin-Free Approach
Let’s learn how to personalize the WooCommerce Thank You page with simple code, so that…
– BACKED BY –
Is your WooCommerce store prepared for traffic spikes? Improve speeds up to 200% with our
managed WooCommerce hosting. Enjoy scalable server resources, rock-solid security, and 24/7 support.