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

#   registration issue

##

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

Less More

- Posts: 29
- Thank you received: 0
-
-

13 years 7 months ago [\#96548](#96548) by [bruntt](/forum/user/5442-bruntt "View bruntt's Profile")  *[registration issue](/forum/2-general-talk-about-hikashop/79734-registration-issue#96548 "My client wants the cart set to NOT require registration.  Under &quot;Checkout,&quot; we have &quot;login&quot; - &quot;no&quot; and &quot;registration&quot; - &quot;no registration&quot;  The problem is that returning customers cannot purchase because the system tells them the email address is already in the system.  New customers get registered anyway. I can delete those registrations, but the probem will happen again in the future.  t")* was created by *[bruntt](/forum/user/5442-bruntt "View bruntt's Profile")*

My client wants the cart set to NOT require registration.

Under "Checkout," we have "login" - "no" and "registration" - "no registration"

The problem is that returning customers cannot purchase because the system tells them the email address is already in the system.

New customers get registered anyway. I can delete those registrations, but the probem will happen again in the future.

t

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5NzM0LXJlZ2lzdHJhdGlvbi1pc3N1ZT90bXBsPW1hcmtkb3du) 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)
-

13 years 6 months ago [\#96619](#96619) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[registration issue](/forum/2-general-talk-about-hikashop/79734-registration-issue#96619 "My client wants the cart set to NOT require registration.  Under &quot;Checkout,&quot; we have &quot;login&quot; - &quot;no&quot; and &quot;registration&quot; - &quot;no registration&quot;  The problem is that returning customers cannot purchase because the system tells them the email address is already in the system.  New customers get registered anyway. I can delete those registrations, but the probem will happen again in the future.  t")*

Hi,

For that, you will probably have to edit the class "user" in "administrator/components/com_hikashop/classes/user.php", function "register()" and edit the following if condition: Code:

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; } $this-&gt;user_id = 0; if(isset($userInDB-&gt;user_id)){ $this-&gt;user_id = $userInDB-&gt;user_id; } if(!$this-&gt;user_id){ $this-&gt;user_id = $this-&gt;save($userData); } //unpublish previous addresses so that there is no information leakage $query = 'UPDATE '.hikashop_table('address').' AS a SET a.address_published=0 WHERE a.address_user_id='.(int)$this-&gt;user_id.' and a.address_published=1'; $this-&gt;database-&gt;setQuery($query); $this-&gt;database-&gt;query(); }

Be careful it's a core edition, you change will be lost at each update. And it require PHP knowledge.

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

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

Less More

- Posts: 29
- Thank you received: 0
-
-

13 years 6 months ago [\#96667](#96667) by [bruntt](/forum/user/5442-bruntt "View bruntt's Profile")  Replied by *[bruntt](/forum/user/5442-bruntt "View bruntt's Profile")* on topic *[registration issue](/forum/2-general-talk-about-hikashop/79734-registration-issue#96667 "My client wants the cart set to NOT require registration.  Under &quot;Checkout,&quot; we have &quot;login&quot; - &quot;no&quot; and &quot;registration&quot; - &quot;no registration&quot;  The problem is that returning customers cannot purchase because the system tells them the email address is already in the system.  New customers get registered anyway. I can delete those registrations, but the probem will happen again in the future.  t")*

What would I change that code to?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5NzM0LXJlZ2lzdHJhdGlvbi1pc3N1ZT90bXBsPW1hcmtkb3du) 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)
-

13 years 6 months ago [\#96708](#96708) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[registration issue](/forum/2-general-talk-about-hikashop/79734-registration-issue#96708 "My client wants the cart set to NOT require registration.  Under &quot;Checkout,&quot; we have &quot;login&quot; - &quot;no&quot; and &quot;registration&quot; - &quot;no registration&quot;  The problem is that returning customers cannot purchase because the system tells them the email address is already in the system.  New customers get registered anyway. I can delete those registrations, but the probem will happen again in the future.  t")*

Hi,

My mistake, you don't have to edit the file.
The problem is that you tried to checkout with an email already used for an existing account.
If you try to checkout with a new email (never registered on your website), and then cehckout again, you will not have this error, because the mail is not registered for an account.

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

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

Less More

- Posts: 29
- Thank you received: 0
-
-

13 years 6 months ago [\#96750](#96750) by [bruntt](/forum/user/5442-bruntt "View bruntt's Profile")  Replied by *[bruntt](/forum/user/5442-bruntt "View bruntt's Profile")* on topic *[registration issue](/forum/2-general-talk-about-hikashop/79734-registration-issue#96750 "My client wants the cart set to NOT require registration.  Under &quot;Checkout,&quot; we have &quot;login&quot; - &quot;no&quot; and &quot;registration&quot; - &quot;no registration&quot;  The problem is that returning customers cannot purchase because the system tells them the email address is already in the system.  New customers get registered anyway. I can delete those registrations, but the probem will happen again in the future.  t")*

OK, but lets say I come back tomorrow. Will it tell me I can't buy because my email address is already in the system?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5NzM0LXJlZ2lzdHJhdGlvbi1pc3N1ZT90bXBsPW1hcmtkb3du) 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
-
-

13 years 6 months ago [\#96753](#96753) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[registration issue](/forum/2-general-talk-about-hikashop/79734-registration-issue#96753 "My client wants the cart set to NOT require registration.  Under &quot;Checkout,&quot; we have &quot;login&quot; - &quot;no&quot; and &quot;registration&quot; - &quot;no registration&quot;  The problem is that returning customers cannot purchase because the system tells them the email address is already in the system.  New customers get registered anyway. I can delete those registrations, but the probem will happen again in the future.  t")*

No. TRy with a new email address that is not used by a user account on your website and you'll see that you can do as many orders with that email as you want in "no registration" mode.

The following user(s) said Thank You: [bruntt](/forum/user/5442-bruntt "View bruntt's Profile")

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

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

Less More

- Posts: 29
- Thank you received: 0
-
-

13 years 6 months ago [\#96754](#96754) by [bruntt](/forum/user/5442-bruntt "View bruntt's Profile")  Replied by *[bruntt](/forum/user/5442-bruntt "View bruntt's Profile")* on topic *[registration issue](/forum/2-general-talk-about-hikashop/79734-registration-issue#96754 "My client wants the cart set to NOT require registration.  Under &quot;Checkout,&quot; we have &quot;login&quot; - &quot;no&quot; and &quot;registration&quot; - &quot;no registration&quot;  The problem is that returning customers cannot purchase because the system tells them the email address is already in the system.  New customers get registered anyway. I can delete those registrations, but the probem will happen again in the future.  t")*

Thanks. My client told me something different happened when he tested, but I believe he was mistaken.

t

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5NzM0LXJlZ2lzdHJhdGlvbi1pc3N1ZT90bXBsPW1hcmtkb3du) 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.272 seconds

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

[](#top)
