How to setup & redirect customers to a Custom Thank You Page Per Product

This article will explaing how you can setup & redirect your customers to a Custom Thank You Page Per Product instead of default WooCommerce page.

Follow these steps :

Step 1 : Create a new or edit any 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 in the content if you want to show the customer their Order details on the redirected page 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 any existing simple, variable, subscription or virtual/downloadable product

Step 6 : Go to Product Data -> 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 the 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

Note: Above steps are to be followed if you want to set different Thank you page for different products of your store.
If you want to set a common Thank you page for all products of your store, please refer here – How to setup & redirect customers to a common Custom Thank You Page for all products

« Back to Custom Thank You Pages Per Product for WooCommerce