You’ll need to have created a custom thank you page and have the URL ready. You’ll also need to the product ID of the product you want to trigger the custom thank you page.
Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.
Need support with the snippet? We’re Here to Help You, Contact Us!
In some cases, you may wish to redirect users to a different thank you page based on a product purchased in the order. Perhaps there’s specific information you need to tell the customer about and the only practical way is through a custom page. This guides shows you how you can redirect users to a custom thank you page based on a product purchased in the order. You will need the custom thank you page URL and appropriate product ID ready.
Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.