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 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

Sorry, this video recording is only visible to logged in Business Bloomer Club members.
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        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli
 * @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

The WooCommerce Thank You page weaknesses
How to add, hide, move content within the Thank You page with simple PHP / CSS

Requirements

Basic knowledge of PHP / CSS

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!

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:

1 2 3

BACKED BY:

AND OUR LATEST MEMBERS:

  • Rod
  • Nikko
  • Jeff
  • Teo
  • Clark Kent
  • Bradley
  • Raymond
  • Olli
  • Jason
  • lehlogonolo
  • Georgi
  • Robert
  • Steffi
  • Mohamad Hazwan
  • Jacek
  • Rosanne
  • Ejayhan
  • Kees
  • Rene
  • Narayanan
  • Maik
  • Fabrizio
  • Iliana
  • Matej
  • Yonah
  • Kristoffer
  • Antonio
  • Soleh
  • Koen
  • Jason
  • Istvan
  • Sridhar
  • Milan
  • Dennis
  • Daniel
  • James
  • Supreet
  • Diego
  • Annette
  • Patrick
  • Karl
  • Simon
  • Tom
  • Stephen
Leave a Reply

Your email address will not be published. Required fields are marked *