How to Setup & Redirect Customers to a Custom Thank You Page Per Product

Follow the below steps to redirect your customers to a WooCommerce custom thank you page per product instead of the default WooCommerce thank you page.

Step 1: Create a new or edit an existing Page/Post.

Step 2: Add the content in the editor that you want to show to the customer on the redirected page.

Step 3: Add the shortcode [sa-wc-ctp-order-details] in the content if you want to show the customer their Order details on the redirected page OR select a readymade custom thank you page style as mentioned here and then click on Update (optional).

redirect customers to a Custom Thank You Page

Step 4: Copy the permalink of that page.

Step 5: Create a new or edit an existing simple, variable, subscription, virtual / downloadable or any other product type.

Step 6: Go to Products > General > Thank you page URL.

redirect customers to a Custom Thank You Page

Step 7: Paste the above copied permalink in the Thank you page URL.

Step 8: Save the product. That’s it!

Now, once a customer purchases this product, after order completion, they will be redirected to this specified custom thank you page.

If the shortcode to show order details was present in the content, then the order details will also be shown to the customer.

redirect customers to a Custom Thank You Page

If you want to set a common thank you page for all products of your store, please refer this doc