How to Enable and Configure the Thank You Page

The Thank You page feature replaces the order received page with a beautiful design that closely resembles the checkout page. This same template is used for viewing orders from My Account. It looks like this:

There are a number of configuration steps but most are optional and it will work pretty basically out of the box.

Please note: This premium feature is available to  Growth (5 Sites) and Developer (Unlimited Sites) license holders.

Step 1: Enable Thank You Page

Go to Settings > CheckoutWC > General > Thank You Page and toggle the checkbox next to 'Enable support for thank you page.'

Step 2: Configure Order Statuses (Optional)

When you enable the Thank You Page in Step 1, you'll notice a new option appear: Order Statuses

This allows you to define which statuses show up in the status row:

To select the order statuses you want to show, pick them from the list and click Save Changes:

Step 2a: Sorting Order Statuses 

The sort order of these statuses depends on two things:

  1. If you are using WooCommerce Order Status Manager, the order is determined by the order you configure in the status settings. The Post Attributes setting allows you to define an order. These are ordered from least (0 0) to greatest (a very large number)
  2. If you are NOT using WooCommerce Order Status Manager, you'll have to add some custom code to re-order the statuses into the order you prefer. This is beyond the scope of support, but the filter you should use is: wc_order_statuses 

It is not always necessary to resort the statuses, the order they appear in the dropdown is the order they will be listed on the checkout page.

Step 3: Configure Map Embed (Optional)

The thank you page includes an optional map embed that looks like this:

To enable the map, you need to toggle the setting and provide a Google API Key.

To enable the setting, toggle 'Enable map embed' under Settings > CheckoutWC > General:

The Google API Key is shared with the Address Autocomplete setting. If you already have Address Autocomplete enabled, this will save a bit of time. 

Configuring Google API Keys can be a bit tedious, to help guide you in the process we have created a separate doc: How To Get and Configure Your Google API Key

Step 4: Configure Order Status Icons (Optional)

The order status row allows you to  include an icon for each order status as seen here:

If you're using WooCommerce Order Status Manager, you can easily setup your icons. Go to WooCommerce > Settings > Order Statuses and click on the status you want to change. Then select your icon like this:

NOTE: Due to the complexity of supporting other icon packages, we currently only support FontAwesome. The icon collection we load is FontAwesome 4.70 which you can browse here: https://fontawesome.com/v4.7.0/

How to use icons if you don't have WooCommerce Order Status Manager

If you don't have WooCommerce Order Status Manager, you can still configure icons but it will take a little bit of coding.  The icon library you can use is FontAwesome 4.7.0. You just need to lookup the desired icon and then provide the icon classes. Here's a quick example that shows you how to use the check mark icon for the Pending status:

You'll notice you have to provide both classes from FontAwesome, which you can see highlighted here:

Using a different font library

Because the above filter just returns a class, you can theoretically use any icon library that uses an I element with specific classes. You would just need to setup the classes using the above filter and then add the font library to Settings > CheckoutWC > Design > Custom CSS.