Jump to content

Bank Wire Email Problem


Recommended Posts

This is the problem i am getting with the bank wire confirmation email.


Hi ###### ####,

Your order #15 history

Your order has been placed successfully, and will be shipped as soon as payment is received.

Please note that you have selected to pay by bank wire. Please send your wire to :

{bankwire_owner}

{bankwire_details}

{bankwire_address}

Order total amout is $315.00

You can review this order and download your invoice from the "Order history" section of your account by clicking "My account" on our website.


It seems to be that only the bank wire details are not displaying
What can i do to make the bank details correctly appear?
The bank wire details have been configured also.
Link to comment
Share on other sites

  • 6 months later...
This is the problem i am getting with the bank wire confirmation email.

Hi ###### ####,

Your order #15 history

Your order has been placed successfully, and will be shipped as soon as payment is received.

Please note that you have selected to pay by bank wire. Please send your wire to :

{bankwire_owner}

{bankwire_details}

{bankwire_address}

Order total amout is $315.00

You can review this order and download your invoice from the "Order history" section of your account by clicking "My account" on our website.


It seems to be that only the bank wire details are not displaying
What can i do to make the bank details correctly appear?
The bank wire details have been configured also.


Actually, that only happens when you edit the order status from Orders tab in admin/backoffice panel.
To solve this problem, try to do this:

1) Open your {youradmindirectory}\tabs\AdminOrders.php file, and FIND this code:

    $templateVars = array('{followup}' => ($history->id_order_state == _PS_OS_SHIPPING_ AND $order->shipping_number) ? str_replace('@', $order->shipping_number, $carrier->url) : '');



2) Replace that code above with this one below:

    $templateVars = array('{followup}' => ($history->id_order_state == _PS_OS_SHIPPING_ AND $order->shipping_number) ? str_replace('@', $order->shipping_number, $carrier->url) : '',
                     '{bankwire_owner}' => Configuration::get('BANK_WIRE_OWNER'),
                     '{bankwire_details}' => nl2br(Configuration::get('BANK_WIRE_DETAILS')),
                     '{bankwire_address}' => nl2br(Configuration::get('BANK_WIRE_ADDRESS'))
                   );



I have tried it, and it works good now.
Hope this is helpful. Cheers!

Link to comment
Share on other sites

  • 2 months later...
  • 2 months later...
  • 4 weeks later...
  • 3 months later...
  • 2 months later...
  • 1 month later...
  • 1 month later...
  • 5 months later...

It works for me too.
But I made one extra.
In e-mail file "mails/tr/bankwire.html"
I modified following lines:

{bankwire_owner}
{bankwire_home_html}
IBAN : {bankwire_iban}
BIC : {bankwire_bic}

NEW FILE has correct variables as following:

BANKA: {bankwire_address}
HESAP SAHİBİ: {bankwire_owner}
HESAP NO VE IBAN: {bankwire_details}

And it works :)

Link to comment
Share on other sites

×
×
  • Create New...