SparkyRih Posted December 28, 2015 Share Posted December 28, 2015 (edited) I'm writing a module for a new payment provider in The Netherlands. They require me to let my customers change their e-mail, something that appears to be impossible when you choose the "Instant checkout" to order your cart... Is there any option in PrestaShop that allows the change of the e-mail address of the customer by the customer? Or is there any function available that I can use so that I can built it into my module? I know how to read the customes e-mail of course, but can I update it in case it was wrong? Edit: Nevermind $customer->email = [email protected]; $customer->update(true); Edited December 28, 2015 by SparkyRih (see edit history) 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