claudia_bohringer Posted March 29, 2010 Share Posted March 29, 2010 helloin the order confirmation emails i get there is no phone number - seems that the customer can enter "phone_mobile" - but the order email tries to send "phone".how do i change that so that the mail alerts shows both phone numbers?when I add then smarty code for invoice_phone_mobile or delivery_phone_mobile to the mail alert template it does not get parsed - the mail shows just the smarty code.So what do I have to change? Also where can I change which phone number gets asked during checkout ( i use one page checkout module)Thanks! Link to comment Share on other sites More sharing options...
rocky Posted March 30, 2010 Share Posted March 30, 2010 It is the $data variable in classes/PaymentModule.php that defines the data that is passed into the order confirmation email. You can add the mobile phone number by adding the following lines to the $data: '{delivery_phone_mobile}' => $delivery->phone_mobile, '{invoice_phone_mobile}' => $invoice->phone_mobile, I'm unfamiliar with the one-page checkout module, so I can't help you there. 1 Link to comment Share on other sites More sharing options...
kelvinlym Posted May 3, 2011 Share Posted May 3, 2011 I tried to add shop's phone as a variable in classes/PaymentModule.php but I couldn't get it to work. Here's what I did.Added '{shop_phone}' => Configuration::get('PS_SHOP_PHONE') under the $data array.The data is not passed to the bankwire.html mail, only showing up as {shop_phone}.Could you advise what I did wrong? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now