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

#   "Email address already used" on checkout

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 6 months ago [\#153233](#153233) by [gbqukt](/forum/user/32319-gbqukt "View gbqukt's Profile")  *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#153233 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")* was created by *[gbqukt](/forum/user/32319-gbqukt "View gbqukt's Profile")*

-- url of the page with the problem -- :
-- HikaShop version -- : HikaShop Essential: 2.3.0
-- Joomla version -- : 2.5.19
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : Chrome 34.0.1847.116 m
-- Error-message(debug-mod must be tuned on) -- : Email address already used

It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the "Email address already used" error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 6 months ago [\#153253](#153253) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#153253 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

Note that if you want to have a checkout without registration, you'll probably find your answer through this [ thread](http://www.hikashop.com/forum/4-how-to/4387-please-create-or-select-an-address.html#135892) :

> If you want to enable your customer to checkout without registering, you'll just have to
> \- Go to "*Hikashop-&gt;System-&gt;Configuration-&gt;Checkout*"
> \- Set the "Display method for registration" option to **All in one page**
> \- Set the "Registration" option to **Guest**
>
> Note that the **Registration** / **Display method for registration** options are only available through an Hikashop commercial version, so **YES** you'll have to use a commercial version to do that ![:)](/media/kunena/emoticons/8.png ":)").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 6 months ago [\#153375](#153375) by [gbqukt](/forum/user/32319-gbqukt "View gbqukt's Profile")  Replied by *[gbqukt](/forum/user/32319-gbqukt "View gbqukt's Profile")* on topic *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#153375 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

Thank you for your reply. I had followed those instructions but when I attempt to checkout using an email address which already exists for an account setup in Joomla, I get the error about Email address already used.

I am using a commercial version (Essentials)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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 6 months ago [\#153412](#153412) 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" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#153412 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

Hi,

Indeed it's the way it's working currently. If an email has already be used, it's not possible to checkout as guest.
To remove that check it will require the edition of a core file, the class "user" so php knowledge are needed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 101
- Thank you received: 2
-
-

11 years 5 months ago -  11 years 5 months ago [\#200909](#200909) by [permsk](/forum/user/28179-permsk "View permsk's Profile")  Replied by *[permsk](/forum/user/28179-permsk "View permsk's Profile")* on topic *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#200909 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

Your support is dead ? Where is the solution? Bought the paid version and it is not finished completely !
To remove the authorization is also not an option, no email, no user notification to the administrator. How to fix it.

Last edit: 11 years 5 months ago by [permsk](/forum/user/28179-permsk "View permsk's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 5 months ago [\#200942](#200942) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#200942 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

Where did we say that you should remove the authorization ?
So you're complaining that we didn't answer to a question (which we did) for something which either is not related to your problem or for which you didn't understand the solution we gave.

So I actually can't help you as you didn't state what is exactly your own issue, what version of HikaShop you have and how you configured the checkout at the moment (could you give a screenshot of the settings of the Checkout tab of the configuration and/or a link to the shop ?).
Please provide the necessary information for your problem and we'll be more than happy to help you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 2
- Thank you received: 0
-
-

11 years 4 months ago [\#205439](#205439) by [karkand](/forum/user/36867-karkand "View karkand's Profile")  Replied by *[karkand](/forum/user/36867-karkand "View karkand's Profile")* on topic *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#205439 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

try to remove all in red,for me it works

administrator/components/com_hikashop/classes/user.php

if($simplified==2){
$this-&gt;database-&gt;setQuery('SELECT * FROM '.hikashop_table('user').' WHERE user_email = '.$this-&gt;database-&gt;Quote($userData-&gt;user_email));
$userInDB = $this-&gt;database-&gt;loadObject();
if(@$userInDB-&gt;user_cms_id){
JError::raiseWarning('', JText::\_('EMAIL\_ADDRESS\_ALREADY\_USED'));
return false;
}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 234
- Thank you received: 4
-
-

8 years 2 weeks ago -  8 years 2 weeks ago [\#298792](#298792) by [mad-q](/forum/user/4784-mad-q "View mad-q's Profile")  Replied by *[mad-q](/forum/user/4784-mad-q "View mad-q's Profile")* on topic *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#298792 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

Hello

I am trying to get this to work and really could do with some help. I would like the option when people check out as per this page.

I have attached a screen shots of the problem. How it is set out is perfect however I would like people to be able to checkout using guest even if they have registered. This is why this error message is coming up because I have already registered.

Many thanks
Iain

- [ ![screen.fw.png](/forum/attachment/45017) ](/forum/attachment/45017 "screen.fw.png") [ ](/forum/attachment/45017?download=1 "screen.fw.png")

Last edit: 8 years 2 weeks ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

8 years 2 weeks ago -  8 years 2 weeks ago [\#298805](#298805) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#298805 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

Hi,

There is no option to guest checkout with an email address that already has a user account.
You can try the suggestion in the post [ www.hikashop.com/forum/checkout/867635-e...checkout.html#205439](https://www.hikashop.com/forum/checkout/867635-email-address-already-used-on-checkout.html#205439)
Note however that the code is now: Code:

$ret['status'] = false; $ret['messages'][] = array(JText::_('EMAIL_ADDRESS_ALREADY_USED'), 'warning'); $reset_url = JRoute::_('index.php?option=com_users&amp;view=reset'); $ret['messages'][] = array('&lt;a href="'.$reset_url.'"&gt;'.JText::_('PLEASE_CLICK_HERE_TO_RESET_PASSWORD').'&lt;/a&gt;', 'warning'); return $ret;

in the latest version of HikaShop.

Last edit: 8 years 2 weeks ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: indent

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 234
- Thank you received: 4
-
-

8 years 2 weeks ago [\#298821](#298821) by [mad-q](/forum/user/4784-mad-q "View mad-q's Profile")  Replied by *[mad-q](/forum/user/4784-mad-q "View mad-q's Profile")* on topic *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#298821 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

Hi Nicolas

Thanks for that, would I remove or change this code?

Cheers
Iain

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

8 years 2 weeks ago [\#298824](#298824) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#298824 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

Hi,

You would remove that whole block of code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 234
- Thank you received: 4
-
-

8 years 2 weeks ago -  8 years 2 weeks ago [\#298845](#298845) by [mad-q](/forum/user/4784-mad-q "View mad-q's Profile")  Replied by *[mad-q](/forum/user/4784-mad-q "View mad-q's Profile")* on topic *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#298845 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

Morning,

Thanks for that however I do not have that complete piece of code. Below is an extract of the code, Code:

else if($mode == 2) { $userData-&gt;user_email = $registerData-&gt;email; $query = 'SELECT * FROM '.hikashop_table('user'). ' WHERE user_email = '.$this-&gt;database-&gt;Quote($userData-&gt;user_email); $this-&gt;database-&gt;setQuery($query); $userInDB = $this-&gt;database-&gt;loadObject(); if(@$userInDB-&gt;user_cms_id) { $ret['status'] = false; $ret['messages'][] = array(JText::_('EMAIL_ADDRESS_ALREADY_USED'), 'warning'); return $ret; } $ret['user_id'] = (isset($userInDB-&gt;user_id) ? (int)$userInDB-&gt;user_id : 0); if(!empty($ret['user_id'])) { $userInDB-&gt;user_created_ip = hikashop_getIP(); $this-&gt;save($userInDB); } else { $ret['user_id'] = $this-&gt;save($userData); } $query = 'UPDATE '.hikashop_table('address').' AS hk_addr '. ' SET hk_addr.address_published = 0 '. ' WHERE hk_addr.address_user_id='.(int)$ret['user_id'].' AND hk_addr.address_published = 1'; $this-&gt;database-&gt;setQuery($query); $this-&gt;database-&gt;query();

I have removed the following which stops the error coming up however will not let the user continue. Code:

if(@$userInDB-&gt;user_cms_id) { $ret['status'] = false; $ret['messages'][] = array(JText::_('EMAIL_ADDRESS_ALREADY_USED'), 'warning'); return $ret; }

Cheers
Iain

Last edit: 8 years 2 weeks ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] tag is nice

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

8 years 2 weeks ago [\#298853](#298853) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#298853 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

Hi,

As I said the code change I gave is for the latest version of HikaShop, the 4.0.0. So you must be using another version which is why your code there is different. But yes, that's the code block I was talking about.

Now looking at the code, I don't see why that wouldn't work. That would require some debugging to find out what's going on.
I personally don't recommend doing that change. That would lead to the possibility of anyone knowing the email address of somebody buying on your website able to get the addresses attached to that email address, which is precisely why we don't allow for that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 234
- Thank you received: 4
-
-

8 years 2 weeks ago [\#298910](#298910) by [mad-q](/forum/user/4784-mad-q "View mad-q's Profile")  Replied by *[mad-q](/forum/user/4784-mad-q "View mad-q's Profile")* on topic *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#298910 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

Hi Nicolas

Okay, let me start with the problem.

If a registered customer returns but doesn't want to log in and check out as guest they can't.

??How???
"That would lead to the possibility of anyone knowing the email address of somebody buying on your website able to get the addresses attached to that email address, which is precisely why we don't allow for that."

I can not see how anyone would be able to get the addresses attached to an account since it won't let them log in, they would be checking out as guest, ergo no addresses saved.

Cheers
Iain

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

8 years 2 weeks ago [\#298918](#298918) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["Email address already used" on checkout](/forum/27-checkout/867635-email-address-already-used-on-checkout#298918 "-- url of the page with the problem -- : -- HikaShop version -- : HikaShop Essential: 2.3.0 -- Joomla version -- : 2.5.19 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 34.0.1847.116 m -- Error-message(debug-mod must be tuned on) -- : Email address already used  It is a requirement for this site that users can checkout with having to register or login. We need to collect contact information, including email address (for order status notifications) and postal address (for delivery). Some customers may already have an account on the site, as we're running a membership subscription package, so this rules out using the option for Guest Registration because we get the &quot;Email address already used&quot; error when a Joomla account already exists for that email address. I don't seem to have an option (Configuration ~ System ~ Checkout ~ Registration) for checking out with no registration. I've seen this option referenced in several forum posts, is it available in Hika Shop Essentials?")*

Hi,

After you enter your email address and click on the next button, you can enter addresses for your order and finish the checkout.
These addresses are linked to the email address.
When you register and checkout, it's the same the addreses are linked to the email address.
However, the different is that when you come back to the checkout and login with that email address, the previous addresses you had been using will be loaded for you to use so that you don't have to enter them again.
If you remove the check of the email address, once someone will guest checkout with an email address linked to a user account, the previous email addresses of that account will be accessible to that person as the email address is linked to a user account as the system will think the user is logged in with that account even if that's not the case.

The following user(s) said Thank You: [mad-q](/forum/user/4784-mad-q "View mad-q's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzYzNS1lbWFpbC1hZGRyZXNzLWFscmVhZHktdXNlZC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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.478 seconds

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

[](#top)
