I am trying to design bank details on Woocommerce thank you page. Highlighted section which I want to edit is showed in attached screenshot.
What I want to the is to place the QR code before the list and both should be in one row (QR code first, text info about bank details second).
For the QR code generation I am using custom code in functions.php, attaching below:
add_action( 'woocommerce_thankyou', 'display_order_received_qr_code', 10, 1 );
function display_order_received_qr_code( $order_id ) {
$order = wc_get_order($order_id);
printf('<img class="qrcodecz" alt="QR platba" src="%s" />',
add_query_arg( array(
'accountNumber' => '2202681982',
'bankCode' => '2010',
'amount' => $order->get_total(),
'currency' => 'CZK',
'vs' => $order->get_order_number(),
'message' => 'svetvramu.cz',
'size' => 200,
), 'https://api.paylibo.com/paylibo/generator/czech/image' ),
);
}
Can you give me a hint, where is the place for edit this details? I was trying to edit it via thankyou.php file but I am probably not able to do it right or I am not at the right place.
Thank you!