
Originally Posted by
nightdesigns
Having an issue where when a customer returns and attempts to use the guest checkout, but they already have an account with us from a previous traditional checkout, it throws and error and tells the customer to log on (" Our system already has a record of that email address - please try logging in with that email address. If you do not use that address any longer you can correct it in the My Account area.") which defeats the purpose of a guest account.
Is there a way around this?
well, in looking at the code, it does "seem" to be an easy way around this. you can just comment out the error check. in:
includes/modules/fec_create_account.php
change from:
Code:
if ($check_email->fields['total'] > 0) {
$error = true;
$messageStack->add_session('login', ENTRY_EMAIL_ADDRESS_ERROR_EXISTS);
}
// TO:
/*
if ($check_email->fields['total'] > 0) {
$error = true;
$messageStack->add_session('login', ENTRY_EMAIL_ADDRESS_ERROR_EXISTS);
}
*/
it does "look" like the code already takes into account an update v insert later in the module. although i provide no warranty as to this actually working.
on another note, the error message is pretty lame. if you do not have the password or access to that email address, how can you change it in the my accounts area?
good luck!