Scully Posted August 8, 2014 Share Posted August 8, 2014 (edited) Anyone knows how to fix the missing bankwire data if an order has been entered via backoffice? Zahlungsempfänger: {bankwire_owner}Bankverbindung: {bankwire_address}{bankwire_details} In this german thread somebody says a change in OrderHistory.php could fix the problem but does not give any more details. Thanks for every feedback. M Schnell Edited August 8, 2014 by Scully (see edit history) Link to comment Share on other sites More sharing options...
PHST Posted October 6, 2014 Share Posted October 6, 2014 I'm not taking any credit for the solution, I'm simply translating from the german post you mentioned above. I applied the fix in Prestashop 1.6.0.9 and it worked. Add in \classes\Mail.php around line 77 the 3 lines between //start fix and //end fix. // Returns immediatly if emails are deactivated if ($configuration['PS_MAIL_METHOD'] == 3) return true; // start fix 08.08.2014 fix bankwire details for backoffice orders $template_vars['{bankwire_owner}'] = Configuration::get('BANK_WIRE_OWNER'); $template_vars['{bankwire_details}'] = nl2br(Configuration::get('BANK_WIRE_DETAILS')); $template_vars['{bankwire_address}'] = nl2br(Configuration::get('BANK_WIRE_ADDRESS')); // End fix Many thanks to Scully who posted the solution! Link to comment Share on other sites More sharing options...
Recommended Posts