I have managed to display the order number in the intruction text on the thankyoupage with help from this post.
Display order-number in instruction field of BACS (direct bank/wire transfer) Gateway woocomerce

How can i do the same for the order total price?

public function thankyou_page( $order_id ) {
if ( $this->instructions ) {
            echo wpautop( wptexturize( wp_kses_post( str_replace("{order_number}", $order_id, $this->instructions) ) ) );
        }
        $this->bank_details( $order_id );

}

Read more here: Display order-number and order-total in instrucion field of BACS (direct bank/wire transfer) Gateway woocomerce


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: