I’ve not done this mod but the general steps are to create a child theme, copy
wp-content/plugins/woocommerce/templates/checkout/thankyou.php
to
wp-content/themes/your-theme/woocommerce/checkout/thankyou.php
and edit the copy to suit.
More here.
Thanks lorro.
Sorry to be daft, but I just want to change the overall page template of this endpoint, just like I change the template of a page using the dropdown in the admin. I want this page to have a particular my-account style template.
I guess I need to get the page id and edit the _wp_page_template in the database, but this seems silly. I’m sure I’m over-complicating this.
Oh!
I would expect the checkout page and the thank you page to have the same page_id.
Maybe the woocommerce_thankyou hook can be pressed to do want you want..