WooCommerce Redirect Thank You

This documentation is for the WooCommerce Redirect Thank You plugin.

Installing the plugin

Please follow the instructions in the  how to install a plugin documentation.

Redirect Thank You Settings

In the WordPress dashboard, hover over WooCommerce and click on Settings. Next select the Thank You tab.

(Optional) If you want to set a Global Thank You page that customers will be sent to on order completion you can set that page with this setting.. This option overrides the WooCommerce Orde

In the License Key field add the license key sent in the order confirmation email. This will activate notifications of new versions of the plugin and allow automatic updates from your WordPress dashboard..

How WooCommerce Order Received Pages Work

WooCommerce uses an endpoint to display the Order Received page templates.

This order-received endpoint uses the Checkout Page that is installed with WooCommerce and displays a page containing the thankyou.php template file. 

This template file can be overridden in your theme, but WooCommerce Redirect Thank You lets you override this page without having to use code.

Setting a Default Thank You Page

To override the default WooCommerce Thank You page you can:

  1. Create a new WordPress page to be used. 
  2. Add your content to the page
  3. Add the [growdev_order_details] shortcode to the page
  4. Set the page as the Global Thank You page setting on the Thank You tab in WooCommerce > Settings

Setup a Custom Thank You Page

To setup a custom Thank You page from the WordPress admin select Pages, then click on Add New.

Add a title to the page, and then add any product-specific details for your customers. In this example a customer has just purchased access to a membership site and will see a list of Next Steps:

After the product-specific text be sure to add the [growdev_order_details] shortcode so that the details of the current order will be added at the bottom of the page. 

Assign a Thank You Page to Products

To assign a custom Thank You page to a product from the WordPress admin select Products, then click on Edit for the product.

On the Edit product page in the Custom Thank you meta box select the page that you just created.

 Update the product, and when customers purchase this product they will now be redirected to the custom page after checkout!

Here is an example of the checkout:


What happens when multiple products are purchased and only one has a custom Thank You page?
If multiple products are in the cart and one has a custom thank you page the customer will be redirected to that page. The Order Details shortcode will still show all products in the order.

What happens when multiple products each have a custom Thank You page assigned?
The first product in the cart to have a Thank You page will be used for the redirect.

I have two scripts I want to place on separate thank you pages. Does the customer first go to the original thank you page, then get redirected to the custom thank you page?
The customer is redirected to the custom thank you page without visiting the original thank you page. So only one script would be run. 

How do I set a default Thank You page for the site?
Use the Global Thank You page setting in WooCommerce > Settings > Thank You. This will be used for all carts that do not have a Custom Redirect page set.

Will download links show on the new Thank You page?

Yes, if you add the [growdev_order_details] shortcode to the new Thank You page you create the download links will appear for customers who purchase downloadable products.

Still need help? Contact Us Contact Us