Avada Forums Community Forum Can Avada edit the woocommerce thank you page? Reply To: Can Avada edit the woocommerce thank you page?

Sterling07
Participant
Post count: 4

I have got the same question: Is the thank you page editable with Avada (so I mean no coding in the thankyou.php file) and if so, how?

Right now I have a redirect to a custom page via the functions.php file. If anyone is interested:

add_action( 'template_redirect', 'woo_custom_redirect_after_purchase' );
function woo_custom_redirect_after_purchase() {
global $wp;
if ( is_checkout() && !empty( $wp->query_vars['order-received'] ) ) {
wp_redirect( 'YOUR FORWARD URL' );
		exit;
	}
}

But on this custom page, there is no data shown regarding the order. Worked fine, but now I´m facing the problem, that I want to implement affiliate tracking. And therefore I need the data like amount and stuff.

Is there anybody that had already changed his thank you page or knows how to do that properly?

Thanks for your help in advance!

Cheers,