Guest bil Posted August 16, 2007 Share Posted August 16, 2007 Does anybody know how to add the scustomer phone number to the "new order" email? I assume I add it to "lang.inc.php" and I know (i think) where to add it to. but unclear on what to add. I am a registered user, my name is William Chute. Thanks in advance. :P Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 16, 2007 Share Posted August 16, 2007 Right. In lang.inc.php, in the $lang['front']['gateway'] array, in the 'admin_email_body_1' element, add after: Name: %s this line: Phone: %s Repeat for each language desired. Then in file includes/content/gateway.inc.php, add after: $ccUserData[0]['title']." ".$ccUserData[0]['firstName']." ".$ccUserData[0]['lastName'], this line: $ccUserData[0]['phone'], Do not forget the comma at the end of that line. This is a really minor hack and so this response to your query should be acceptable to the powers that be, against discussing modifying the code. Quote Link to comment Share on other sites More sharing options...
Guest bil Posted August 17, 2007 Share Posted August 17, 2007 Right. In lang.inc.php, in the $lang['front']['gateway'] array, in the 'admin_email_body_1' element, add after: Name: %s this line: Phone: %s Repeat for each language desired. Then in file includes/content/gateway.inc.php, add after: $ccUserData[0]['title']." ".$ccUserData[0]['firstName']." ".$ccUserData[0]['lastName'], this line: $ccUserData[0]['phone'], Do not forget the comma at the end of that line. This is a really minor hack and so this response to your query should be acceptable to the powers that be, against discussing modifying the code. Thanks that worked great!! Have a great weekend from the land of OZ! (Australia) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.