Jump to content

Bank wire info not in e-mail


Recommended Posts

I'm upgrading my shop and I just tried to send an email with the bank wire info to myself.
All the info I put in the module does not end up in the email...

All I get is
{bankwire_owner}

{bankwire_details}

{bankwire_address}

What could be wrong?

Thanks for any help!
/Åsa

Link to comment
Share on other sites

  • 2 weeks later...

I found the solution:



in yourshop/admin/tabs/adminorders.php, at line 111,

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



with:

$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'))
);





Repost of a repost :)

THIS SHOULD BE INCLUDED IN NEXT VERSION!
Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...