PatriceJV Posted February 14, 2013 Share Posted February 14, 2013 (edited) By default Prestashop 1.5 use the login email to send order confirmation to customer (or any communication). I would like to use a different e-mail address. Is there anybody that have done this and help me with this matters? If not where should I start from? Thank you for your help. P.S. I would have preferred Prestashop to allow any login, so I can use a specific e-mail to communicate with my customers! Edited February 14, 2013 by PatriceVigier (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted February 14, 2013 Share Posted February 14, 2013 you must edit mail class located in classes/Mail.php Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted February 15, 2013 Share Posted February 15, 2013 interesting Mods create a new database table to store customers email for logged in and keep customers prefered email stored in PREFIX_customer DB Table. e.g : PREFIX_customers_login_email with id, id_customer, email and type fields Override classes Customer.php so authentication will check email stored on the new created DB table but maintain the prefered email to send mails also cookie customer email from email value stored in PREFIX_customer Link to comment Share on other sites More sharing options...
Zen_j1 Posted November 16, 2013 Share Posted November 16, 2013 you must edit mail class located in classes/Mail.php Where I should I add [email protected], [email protected],[email protected] to get mail confirmation of order to me and my associate for order received from customer. Link to comment Share on other sites More sharing options...
vekia Posted November 16, 2013 Share Posted November 16, 2013 there is function Send(); you can add your email address to variable $to Link to comment Share on other sites More sharing options...
bellini13 Posted November 16, 2013 Share Posted November 16, 2013 how would the customer convey their 'login' email and their 'prefered contact email' to you? if you want to receive a notification of new orders, use the mail alerts module, don't update the Mail class for this 1 Link to comment Share on other sites More sharing options...
vekia Posted November 16, 2013 Share Posted November 16, 2013 that's true, but as far as i remember he asked (not here but somewhere) to send mails for customers also for admin, some kind of duplicated message, but to shop admin im looking for that post 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