[Skip to main content](#vessel-content)

#   Email address already used

##

- **[Mat](/forum/user/4216-mat "View Mat's Profile")**
- [![Mat's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4216-mat "View Mat's Profile") Topic Author
- [ Offline](/forum/user/4216-mat)

Less More

- Posts: 217
- Thank you received: 1
-
-

12 years 5 months ago [\#154632](#154632) by [Mat](/forum/user/4216-mat "View Mat's Profile")  *[Email address already used](/forum/2-general-talk-about-hikashop/867917-email-address-already-used#154632 "HikaShop Business: 2.3.0  Hi,  I tested my site all the time using my own email address. I have also seen that this error can be removed.  Can I get the code and where to edit so that I can re-use email addresses?  Thanks,  Mat")* was created by *[Mat](/forum/user/4216-mat "View Mat's Profile")*

HikaShop Business: 2.3.0

Hi,

I tested my site all the time using my own email address. I have also seen that this error can be removed.

Can I get the code and where to edit so that I can re-use email addresses?

Thanks,

Mat

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2NzkxNy1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 5 months ago [\#154681](#154681) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Email address already used](/forum/2-general-talk-about-hikashop/867917-email-address-already-used#154681 "HikaShop Business: 2.3.0  Hi,  I tested my site all the time using my own email address. I have also seen that this error can be removed.  Can I get the code and where to edit so that I can re-use email addresses?  Thanks,  Mat")*

Hi,

What do you mean by "re-use email addresses" ?
When checking out, you want that customer can re-order with an already used email address ?

If it is, the checkout must be set as Guest checkout, and then customers can order many times with the same email address.
But the addresses already registered cannot be re-used.
To remove the message when an already registered email address is used, you will have to edit the file "administrator/components/com_hikashop/classes/user.php", function "register()", code: Code:

if(@$userInDB-&gt;user_cms_id){ JError::raiseWarning('', JText::_('EMAIL_ADDRESS_ALREADY_USED')); return false; }

The following user(s) said Thank You: [Mat](/forum/user/4216-mat "View Mat's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2NzkxNy1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Mat](/forum/user/4216-mat "View Mat's Profile")**
- [![Mat's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4216-mat "View Mat's Profile") Topic Author
- [ Offline](/forum/user/4216-mat)

Less More

- Posts: 217
- Thank you received: 1
-
-

12 years 5 months ago [\#154809](#154809) by [Mat](/forum/user/4216-mat "View Mat's Profile")  Replied by *[Mat](/forum/user/4216-mat "View Mat's Profile")* on topic *[Email address already used](/forum/2-general-talk-about-hikashop/867917-email-address-already-used#154809 "HikaShop Business: 2.3.0  Hi,  I tested my site all the time using my own email address. I have also seen that this error can be removed.  Can I get the code and where to edit so that I can re-use email addresses?  Thanks,  Mat")*

That's fine - most of our users don't want to log in to the site.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2NzkxNy1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Mat](/forum/user/4216-mat "View Mat's Profile")**
- [![Mat's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4216-mat "View Mat's Profile") Topic Author
- [ Offline](/forum/user/4216-mat)

Less More

- Posts: 217
- Thank you received: 1
-
-

12 years 5 months ago [\#154954](#154954) by [Mat](/forum/user/4216-mat "View Mat's Profile")  Replied by *[Mat](/forum/user/4216-mat "View Mat's Profile")* on topic *[Email address already used](/forum/2-general-talk-about-hikashop/867917-email-address-already-used#154954 "HikaShop Business: 2.3.0  Hi,  I tested my site all the time using my own email address. I have also seen that this error can be removed.  Can I get the code and where to edit so that I can re-use email addresses?  Thanks,  Mat")*

OK everything is almost working again.

In my template I put the logged in user name on the screen however after using the checkout it seems to be able to display the name of the user without them actually logging in.

It must be a joomla thing I don't understand but I also don't want this to occur. How can I fix this?

[ www.nswnationals.org.au/](https://www.nswnationals.org.au/)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2NzkxNy1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 5 months ago [\#154987](#154987) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Email address already used](/forum/2-general-talk-about-hikashop/867917-email-address-already-used#154987 "HikaShop Business: 2.3.0  Hi,  I tested my site all the time using my own email address. I have also seen that this error can be removed.  Can I get the code and where to edit so that I can re-use email addresses?  Thanks,  Mat")*

Hi,

The guest checkout does not allow you to be used with an address which already have a Joomla account.
Bypassing this rule will generate bad side effects.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2NzkxNy1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Mat](/forum/user/4216-mat "View Mat's Profile")**
- [![Mat's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4216-mat "View Mat's Profile") Topic Author
- [ Offline](/forum/user/4216-mat)

Less More

- Posts: 217
- Thank you received: 1
-
-

12 years 4 months ago [\#158874](#158874) by [Mat](/forum/user/4216-mat "View Mat's Profile")  Replied by *[Mat](/forum/user/4216-mat "View Mat's Profile")* on topic *[Email address already used](/forum/2-general-talk-about-hikashop/867917-email-address-already-used#158874 "HikaShop Business: 2.3.0  Hi,  I tested my site all the time using my own email address. I have also seen that this error can be removed.  Can I get the code and where to edit so that I can re-use email addresses?  Thanks,  Mat")*

I need to have people buy from the cart without registering in any fashion please.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2NzkxNy1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Mat](/forum/user/4216-mat "View Mat's Profile")**
- [![Mat's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4216-mat "View Mat's Profile") Topic Author
- [ Offline](/forum/user/4216-mat)

Less More

- Posts: 217
- Thank you received: 1
-
-

12 years 4 months ago [\#158875](#158875) by [Mat](/forum/user/4216-mat "View Mat's Profile")  Replied by *[Mat](/forum/user/4216-mat "View Mat's Profile")* on topic *[Email address already used](/forum/2-general-talk-about-hikashop/867917-email-address-already-used#158875 "HikaShop Business: 2.3.0  Hi,  I tested my site all the time using my own email address. I have also seen that this error can be removed.  Can I get the code and where to edit so that I can re-use email addresses?  Thanks,  Mat")*

> Xavier wrote: Hi,
>
> What do you mean by "re-use email addresses" ?
> When checking out, you want that customer can re-order with an already used email address ?
>
> If it is, the checkout must be set as Guest checkout, and then customers can order many times with the same email address.
> But the addresses already registered cannot be re-used.
> To remove the message when an already registered email address is used, you will have to edit the file "administrator/components/com\_hikashop/classes/user.php", function "register()", code:
>
> Code:
>
>  if(@$userInDB-&gt;user_cms_id){ JError::raiseWarning('', JText::_('EMAIL_ADDRESS_ALREADY_USED')); return false; }

But the addresses already registered cannot be re-used. (I need a fix for this please.) Why not let people just reenter their information if that is what they want.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2NzkxNy1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Rokell](/forum/user/32710-rokell "View Rokell's Profile")**
- [![Rokell's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32710-rokell "View Rokell's Profile")
- [ Offline](/forum/user/32710-rokell)

Less More

- Posts: 159
- Thank you received: 2
-
-

12 years 4 months ago [\#158931](#158931) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  Replied by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")* on topic *[Email address already used](/forum/2-general-talk-about-hikashop/867917-email-address-already-used#158931 "HikaShop Business: 2.3.0  Hi,  I tested my site all the time using my own email address. I have also seen that this error can be removed.  Can I get the code and where to edit so that I can re-use email addresses?  Thanks,  Mat")*

Hi,
I'm having the same problem here. My old website used Virtuemart and I imported all clients (more than 4000). To make life easier I didn't use Joomla registration with Virtuemart. A returning customer had to go through the address fields over again. It was no problem in Virtuemart to use the same mail address over and over again.
Now I imported all orders from Virtuemart to HikaShop and none of my returning customers can use their mail addresses to place an order.
What to do? It looks like I have to delete all old Virtuemart orders and start from scratch. I really don't want to do that!
Best
Roger

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2NzkxNy1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 4 months ago [\#158932](#158932) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Email address already used](/forum/2-general-talk-about-hikashop/867917-email-address-already-used#158932 "HikaShop Business: 2.3.0  Hi,  I tested my site all the time using my own email address. I have also seen that this error can be removed.  Can I get the code and where to edit so that I can re-use email addresses?  Thanks,  Mat")*

Hi,

Removing the previously given code should allow to re-use the same email address.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2NzkxNy1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Mat](/forum/user/4216-mat "View Mat's Profile")**
- [![Mat's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4216-mat "View Mat's Profile") Topic Author
- [ Offline](/forum/user/4216-mat)

Less More

- Posts: 217
- Thank you received: 1
-
-

12 years 4 months ago [\#159118](#159118) by [Mat](/forum/user/4216-mat "View Mat's Profile")  Replied by *[Mat](/forum/user/4216-mat "View Mat's Profile")* on topic *[Email address already used](/forum/2-general-talk-about-hikashop/867917-email-address-already-used#159118 "HikaShop Business: 2.3.0  Hi,  I tested my site all the time using my own email address. I have also seen that this error can be removed.  Can I get the code and where to edit so that I can re-use email addresses?  Thanks,  Mat")*

Yes but it does do some wierd stuff and makes it look like I am logged in but I'm not.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2NzkxNy1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 4 months ago [\#159192](#159192) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Email address already used](/forum/2-general-talk-about-hikashop/867917-email-address-already-used#159192 "HikaShop Business: 2.3.0  Hi,  I tested my site all the time using my own email address. I have also seen that this error can be removed.  Can I get the code and where to edit so that I can re-use email addresses?  Thanks,  Mat")*

> Rokell wrote: Hi,
> I'm having the same problem here. My old website used Virtuemart and I imported all clients (more than 4000). To make life easier I didn't use Joomla registration with Virtuemart. A returning customer had to go through the address fields over again. It was no problem in Virtuemart to use the same mail address over and over again.
> Now I imported all orders from Virtuemart to HikaShop and none of my returning customers can use their mail addresses to place an order.
> What to do? It looks like I have to delete all old Virtuemart orders and start from scratch. I really don't want to do that!
> Best
> Roger

Hi Rokell,

The error occured only when you want to make a new order in guest checkout and the Joomla user with the exact email address already exists.
It has no impact with the order you imported from Virtuemart.

Regards,

> Mat wrote: Yes but it does do some wierd stuff and makes it look like I am logged in but I'm not.

Hi Mat,

If you use a Joomla account, you can log-in.
If you use a guest account, you can't log-in ; there is no password.
So, I have trouble to understand the problem you got.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [Rokell](/forum/user/32710-rokell "View Rokell's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2NzkxNy1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.069 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
