Post by shoo002 » Sun Sep 26, 2010 6:39 pm

Hello All,

Can someone help me with "Error: E-Mail Address is already registered!"

I have created an email that i use for telephone orders/offline orders and would like to use that email again and again to create and account and orders when i do not have the customers correct email address.

Can someone please help.

Thanks
Stew

Active Member

Posts

Joined
Sat Jul 04, 2009 9:40 pm


Post by mystifier » Sun Sep 26, 2010 7:08 pm

Simply remove from the vaildate function in catalog/controller/account/create.php

Code: Select all

if ($this->model_account_customer->getTotalCustomersByEmail($this->request->post['email'])) {
    $this->error['warning'] = $this->language->get('error_exists');
}
and if you want to allow an email to be edited to an existing one, from catalog/controller/account/edit.php

Code: Select all

if (($this->customer->getEmail() != $this->request->post['email']) && $this->model_account_customer->getTotalCustomersByEmail($this->request->post['email'])) {
    $this->error['warning'] = $this->language->get('error_exists');
}

Free v1.4.9 Extensions: Default Specials | Improved Search | Customer Activity Report | Customer Groups | Royal Mail With Handling | Improved Product Page | Random Products | Stock Report | All Products


User avatar
Active Member

Posts

Joined
Tue May 18, 2010 5:15 pm

Post by shoo002 » Sun Sep 26, 2010 9:02 pm

Thanks mystifier

Thats exactly what i wanted.

Thanks
Stewart

Active Member

Posts

Joined
Sat Jul 04, 2009 9:40 pm

Who is online

Users browsing this forum: No registered users and 96 guests