Hello,
There is any option or add-on in cs cart customer can not change email address onece he register.
but administer can change.
Hello,
There is any option or add-on in cs cart customer can not change email address onece he register.
but administer can change.
Nothing official but you could do something like this (not tested).
Create a app/addons/my_changes/controllers/frontend/profiles.pre.php file.
In that file add code like the following:
// updating and posting if( $mode == 'update' && $_SERVER['REQUEST_METHOD'] == 'POST'} { if( !empty($_SESSION['auth']['user_id']) ) { // let's them update the first time only // force it to what's saved. email must be set for main controller to see this as valid request $_REQUEST['user_data']['email'] = db_get_field("SELECT email FROM ?:users WHERE user_id=?i", $_SESSION['auth']['user_id']); } } return array(CONTROLLER_STATUS_OK);
Downside is that if they get it wrong the first time, then they can never fix it.
thanks for your reply we will try.