Adding additional information in Direct Bank Transfer email
-
Hi!
I need to solve this issue that I’m facing.. I want to display additional line of information in “Our bank account details”. I want to display reference number (which is different for every order”. I currently have this code
<p><?php esc_html_e( 'Za referenco (sklic) uporabite "SI 00 ' . $order->get_order_number() . $order->get_date_created() . ' ". ', 'woocommerce' ); ?></p>
, which I placed intocustomer-on-hold-order.php
.It displays the info that I need, however, it doesn’t show the date the way I need it. It writes the whole reference number as Za referenco (sklic) uporabite “SI 00 48602021-12-27T14:02:15+01:00 “., but I would need to show the reference number as SI 00 486028122021, which is SI 00 {order_number}{order_date}.
What I want to achieve is THIS
PLEASE, help me out with this, it’s very important, since it’s required for every bank transaction in Slovenia.
Kind regards
The page I need help with: [log in to see the link]
- The topic ‘Adding additional information in Direct Bank Transfer email’ is closed to new replies.