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

#   Guest checkout problem with previously registered user

##

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

Less More

- Posts: 42
- Thank you received: 1
-
-

9 years 2 months ago [\#277968](#277968) by [BNRBranding](/forum/user/26254-bnrbranding "View BNRBranding's Profile")  *[Guest checkout problem with previously registered user](/forum/27-checkout/891863-guest-checkout-problem-with-previously-registered-user#277968 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.12  We enabled checkout registration but have decided to go back to guest checkout only. Checkout works fine for new users, but any user that made a purchase and registered an account cannot use guest checkout. We get an error saying the email has already been used. Short of deleting all of the registered users, is there anything we can do?")* was created by *[BNRBranding](/forum/user/26254-bnrbranding "View BNRBranding's Profile")*

-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.0.12

We enabled checkout registration but have decided to go back to guest checkout only. Checkout works fine for new users, but any user that made a purchase and registered an account cannot use guest checkout. We get an error saying the email has already been used. Short of deleting all of the registered users, is there anything we can do?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTg2My1ndWVzdC1jaGVja291dC1wcm9ibGVtLXdpdGgtcHJldmlvdXNseS1yZWdpc3RlcmVkLXVzZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 2 months ago [\#277969](#277969) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Guest checkout problem with previously registered user](/forum/27-checkout/891863-guest-checkout-problem-with-previously-registered-user#277969 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.12  We enabled checkout registration but have decided to go back to guest checkout only. Checkout works fine for new users, but any user that made a purchase and registered an account cannot use guest checkout. We get an error saying the email has already been used. Short of deleting all of the registered users, is there anything we can do?")*

Hello,

See : [ www.hikashop.com/forum/customers/891788-...as-guest.html#277482](https://www.hikashop.com/forum/customers/891788-registered-e-mail-address-can-not-check-out-as-guest.html#277482)

Best would be to remove the "user_cms_id" in the HikaShop user table (for the account you want to remove) and afterwards you will be able to delete the Joomla accounts.
Thanks to that you'll keep the orders, the accounts will be transformed into guest account and they will be able to re-use the email for new guest orders.
For the rest, it's explained in the given URL.

Regards,

---

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

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

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

Less More

- Posts: 42
- Thank you received: 1
-
-

9 years 2 months ago -  9 years 2 months ago [\#278143](#278143) by [BNRBranding](/forum/user/26254-bnrbranding "View BNRBranding's Profile")  Replied by *[BNRBranding](/forum/user/26254-bnrbranding "View BNRBranding's Profile")* on topic *[Guest checkout problem with previously registered user](/forum/27-checkout/891863-guest-checkout-problem-with-previously-registered-user#278143 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.12  We enabled checkout registration but have decided to go back to guest checkout only. Checkout works fine for new users, but any user that made a purchase and registered an account cannot use guest checkout. We get an error saying the email has already been used. Short of deleting all of the registered users, is there anything we can do?")*

Thank you for the reply. I want to make sure that I am doing the right thing because this a high volume store and the client is already upset that we're losing sales.

First I need to execute this statement -
Code:

UPDATE &#96;j3lmc_hikashop_user&#96; SET &#96;user_cms_id&#96;=0

Then I need t delete all Joomla users associated with orders that were place.

Is that correct?

Last edit: 9 years 2 months ago by [BNRBranding](/forum/user/26254-bnrbranding "View BNRBranding's Profile"). Reason: **edit corrects SQL statement

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTg2My1ndWVzdC1jaGVja291dC1wcm9ibGVtLXdpdGgtcHJldmlvdXNseS1yZWdpc3RlcmVkLXVzZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 2 months ago [\#278146](#278146) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Guest checkout problem with previously registered user](/forum/27-checkout/891863-guest-checkout-problem-with-previously-registered-user#278146 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.12  We enabled checkout registration but have decided to go back to guest checkout only. Checkout works fine for new users, but any user that made a purchase and registered an account cannot use guest checkout. We get an error saying the email has already been used. Short of deleting all of the registered users, is there anything we can do?")*

That's almost correct but it will be best to not remove the accounts for your accounts.
So you should add a "WHERE" clause to only affect users created after you activate the registration and select the Joomla user ID of the first account you want to unassigned (delete in Joomla) : Code:

UPDATE #__hikashop_user SET user_cms_id = 0 WHERE user_cms_id &gt;= XXX

Regards,

---

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

The following user(s) said Thank You: [BNRBranding](/forum/user/26254-bnrbranding "View BNRBranding's Profile")

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

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