• +1 (970) 281-5188
  • info@nidacademy.org
Search
Close this search box.
logo
  • HOME
  • services
  • Portfolio
  • BlOG
  • ABOUT US
  • Advertise
Menu
  • HOME
  • services
  • Portfolio
  • BlOG
  • ABOUT US
  • Advertise
Contact us

How To Custom Thank You Page WooCommerce 101

by NID ACADEMY
October 25, 2022
in BLOGS, WordPress
0
0
Thank You Page
0
SHARES
473
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.

ShareTweetPin
Previous Post

How To Redirect To Checkout WooCommerce Best Way In 2022

Next Post

Best way to launch IPTV business in 2023

Related Posts

IPTV service
Business

Best IPTV Service : Everything You Need to Know in 2023

March 19, 2023
web hosting
Hosting

best web hosting for small business in 2023

March 19, 2023
SEO Services
BLOGS

SEO Services The Best way to Unlocking Your Website’s Potential 100%

May 14, 2023
Elementor Pro
BLOGS

Elementor Pro Review: The Best Page Builder for WordPress 2023

May 14, 2023
namecheap hosting review
BLOGS

Namecheap Hosting Review the Best Performance for 2023

February 2, 2023
web hosting
BLOGS

The Best web hosting service for 2023

February 17, 2023
Next Post
IPTV business

Best way to launch IPTV business in 2023

NID ACADEMY

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

Copyright 2022 © All Right Reserved