• HOME
  • BlOG
  • Portfolio
  • ABOUT US
Menu
  • HOME
  • BlOG
  • Portfolio
  • ABOUT US
Login Account
register

How To Custom Thank You Page WooCommerce 101

by NID ACADEMY
October 25, 2022
in BLOGS, WordPress
0
0
Thank You Page
0
SHARES
289
VIEWS
Share on FacebookShare on Twitter

Thank You Page Customization

whenever you are driving people to your website or people are coming to your website we really want them to take an action so every single time someone comes to our website we want them to take a specific action we either want them to become a lead of some sort or we want them to purchase something from us the Thank You page is the page that somebody is redirected to or should be redirected to after they take that action.

so if somebody purchases something from you we then redirect them to the Thank You page or the confirmation page think about your own consumer behavior here you both purchase things and you’ve been taken to a page now on those pages people will often just say things like thanks for your order this is your confirmation and that’s all well and good but there’s so much potential on these pages and this is what I want to talk about on today’s blog.

Thank You page is a place to say. Hey look you’ve just taken this action if you have more questions or you want to contact us you can do that by doing this and give them the option to do it.

If you saw the video on my channel this is the code i used to redirect them to the thank you page without installing any plugins :

add_action( 'woocommerce_thankyou', 'woocommerce_custom_thank_you_page');
  
function woocommerce_custom_thank_you_page( $order_id ){
    $order = wc_get_order( $order_id );
    $url = 'https://www.yourwebsite.com';
    if ( ! $order->has_status( 'failed' ) ) {
        wp_safe_redirect( $url );
        exit;
    }
}

Please make sure you change https://www.yourwebsite.com to your own domain name, just like i showed you in the video.

Previous Post

How To Redirect To Checkout WooCommerce Best Way In 2022

Next Post

Best way to launch IPTV business in 2023

Related Posts

Ecommerce
BLOGS

Ultimate Guide to Ecommerce : Best Tips in 2023

December 21, 2022
digital marketing
BLOGS

how digital marketing evolved over the years

December 16, 2022
SEO for small businesses
BLOGS

The importance of SEO for small businesses in 2023

December 10, 2022
Optimize Your Website
BLOGS

Optimize Your Website Content for Better Rankings in 2023

December 10, 2022
get more customers
BLOGS

easy way to get more customers to your business 2023?

November 11, 2022
Free Resources
BLOGS

The Best Free Resources For Entrepreneurs in 2023

November 11, 2022
Next Post
IPTV business

Best way to launch IPTV business in 2023

No Result
View All Result
Namecheap Hosting
BLOGS

Namecheap Hosting the Best Review (2022)

by NID ACADEMY
October 28, 2022
0

Are you looking for a fast hosting provider, with great customer support? Well in this Namecheap Hosting review, I'm going...

Read more
WhatsApp button

Add WhatsApp button to Your website 2022 Best way

October 18, 2022
redirect to Checkout

How To Redirect To Checkout WooCommerce Best Way In 2022

November 3, 2022
Thank You Page

How To Custom Thank You Page WooCommerce 101

October 25, 2022
IPTV business

Best way to launch IPTV business in 2023

October 26, 2022

NID ACADEMY

  • CONTACT US
  • Cookie Policy
  • Privacy Policy
  • Terms and Conditions
Facebook-f Twitter Youtube Instagram

Copyright 2022 © All Right Reserved