vekke Posted May 17, 2003 Posted May 17, 2003 Hi. Another question: Is it possible to pass the email check? Few customers need different accounts with same e-mail address. Thanks fo any hints.
Silencer Posted May 19, 2003 Posted May 19, 2003 Easy. Open create_account_process.php, find $check_email = tep_db_query("select customers_email_address from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "' and customers_id <> '" . tep_db_input($customer_id) . "'"); if (tep_db_num_rows($check_email)) { $error = true; $entry_email_address_exists = true; } else { $entry_email_address_exists = false; } cut it all and paste $entry_email_address_exists = false; There is always more than one way to do it. And always Keep It Simple, Stupid.
vekke Posted May 19, 2003 Author Posted May 19, 2003 Seems that also have to edit account_edit_process.php Only one problem occures: It's impossible to logoff. Wonder why... :?
Silencer Posted May 19, 2003 Posted May 19, 2003 Show me your shop. There is always more than one way to do it. And always Keep It Simple, Stupid.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.