Website Building » WooCommerce » How do I add a thank you page in WooCommerce?

How do I add a thank you page in WooCommerce?

Last updated on January 10, 2023 @ 6:03 pm

Adding a thank you page in WooCommerce is easy. First, create a new page in your WooCommerce site. Next, add the following lines of code to the page’s <head> section:

<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Thank You Page</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700">

Next, add the following lines of code to the page’s <body> section:

PRO TIP: If you are using WooCommerce to sell products or services online, it is important to set up a thank you page. This will ensure that your customers are redirected to a page where they can leave a review, provide feedback, or ask questions. Thank you pages also help to build customer loyalty and repeat business.
<div class="container">
<div class="row">
<div class="col-md-12 col-sm-12 col-lg-12">
<h1>Thank you!</h1>
</div> </div> </div>

Finally, add a <div> element to the bottom of the page and add the following code:

<div class="btn-group btn-group-primary">
<button type="button" class="btn btn-primary">Thank you!</button>
</div>

Your thank you page is now complete. You can use it to thank your customers for their business. You can also use it to announce new products or services.

You can also use it to ask for feedback. Conclusion: Adding a thank you page in WooCommerce is easy.

Drew Clemente

Drew Clemente

Devops & Sysadmin engineer. I basically build infrastructure online.