How To Custom Thank You Page WooCommerce 101

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 = '';
    if ( ! $order->has_status( 'failed' ) ) {
        wp_safe_redirect( $url );

Please make sure you change to your own domain name, just like i showed you in the video.