You should always be grateful to your customers and, obviously, thank them after they complete a purchase. WooCommerce already does this for you. It redirects to the Thank you page after a successfull purchase, but sometimes it’s just not enough for you. What to do in this case? The simplest thing to do is to redirect customers to another page with your personal thoughts and thank you message. To do so, open the file functions.php located in wp-content/themes/your-theme-name/ and add this code at the end of the file: With this code the customer will be redirected to a specific URL after he completes the purchase. But you may feel that still is not enough. It just redirects to a page, but then you miss the order summary table and other important features that WooCommerce provides through the default Thank you page You can have these information too. Let’s see how to add them in your custom Thank you page. Build the perfect Thank you page Create a page in Pages > Add New. Add all the text, images, and stuff you need to thank your customers. Now it’s time to get your hands dirty, a lot dirty. Create a folder in your theme, if it does not already exist, and name it woocommerce. Inside this
Share This