- Posts: 9
- Thank you received: 1
wiederholte Gastbestellung nur mit Anmeldung möglich?
- martin.petras
-
Topic Author
- Offline
- Martin
Less
More
2 years 11 months ago - 2 years 11 months ago #356014
by martin.petras
-- url of the page with the problem -- :
www.gemeinde-dreetz.de
-- HikaShop version -- : 5.0.0
-- Joomla version -- : 4.4.0
-- PHP version -- : 8.2
-- Browser(s) name and version -- : Edge
Hallo,
wie kann ein Käufer mit seiner E-Mail-Adresse wiederholt als Gast bestellen? Joomla-Benutzerregistrierung ist übrigens deaktiviert.
Sofern es bereits Käufe mit einer E-Mail-Adresse gegeben hat, verlangt HikaShop bei mir eine Passworteingabe. Das anschließende versenden eines Passwortes verlangt zusätzlich sogar noch einen Benutzernamen - den es ja bei der ersten Gastbestellung nicht gegeben hat
Vielen Dank für Eure Hilfe!!
***********************************************************************************************************************
Moderator translation :
***********************************************************************************************************************
Hello,
How can a buyer repeatedly order as a guest using their email address? By the way, Joomla user registration is disabled.
If there have already been purchases with an email address, HikaShop will require me to enter a password. The subsequent sending of a password also requires a username - which wasn't there when the first guest order was made
Many thanks for your help!!!
-- HikaShop version -- : 5.0.0
-- Joomla version -- : 4.4.0
-- PHP version -- : 8.2
-- Browser(s) name and version -- : Edge
Hallo,
wie kann ein Käufer mit seiner E-Mail-Adresse wiederholt als Gast bestellen? Joomla-Benutzerregistrierung ist übrigens deaktiviert.
Sofern es bereits Käufe mit einer E-Mail-Adresse gegeben hat, verlangt HikaShop bei mir eine Passworteingabe. Das anschließende versenden eines Passwortes verlangt zusätzlich sogar noch einen Benutzernamen - den es ja bei der ersten Gastbestellung nicht gegeben hat

Vielen Dank für Eure Hilfe!!
***********************************************************************************************************************
Moderator translation :
***********************************************************************************************************************
Hello,
How can a buyer repeatedly order as a guest using their email address? By the way, Joomla user registration is disabled.
If there have already been purchases with an email address, HikaShop will require me to enter a password. The subsequent sending of a password also requires a username - which wasn't there when the first guest order was made

Many thanks for your help!!!
Last edit: 2 years 11 months ago by Philip.
Please Log in or Create an account to join the conversation.
2 years 11 months ago #356027
by nicolas
Replied by nicolas on topic wiederholte Gastbestellung nur mit Anmeldung möglich?
Hi,
This is not possible. If HikaShop says that the email address provided cannot be used, it means that there is already a Joomla user account for that email address. So please check your Joomla user manager for that email address and you should find the user account.
HikaShop has no problem allowing the customers to use their email address several times for guest checkouts and there is nothing particular to do for it.
So please double check.
This is not possible. If HikaShop says that the email address provided cannot be used, it means that there is already a Joomla user account for that email address. So please check your Joomla user manager for that email address and you should find the user account.
HikaShop has no problem allowing the customers to use their email address several times for guest checkouts and there is nothing particular to do for it.
So please double check.
The following user(s) said Thank You: martin.petras
Please Log in or Create an account to join the conversation.
- martin.petras
-
Topic Author
- Offline
- Martin
Less
More
- Posts: 9
- Thank you received: 1
2 years 11 months ago #356034
by martin.petras
Replied by martin.petras on topic wiederholte Gastbestellung nur mit Anmeldung möglich?
Hi Nicolas,
Thank you very much, now it works as you described. Funny that it didn't work for me before. Maybe it was due to too many attempts with the same IP address?
Sincerly
martin
Thank you very much, now it works as you described. Funny that it didn't work for me before. Maybe it was due to too many attempts with the same IP address?
Sincerly
martin
The following user(s) said Thank You: Philip
Please Log in or Create an account to join the conversation.
2 years 11 months ago #356036
by nicolas
Replied by nicolas on topic wiederholte Gastbestellung nur mit Anmeldung möglich?
Hi,
There is nothing to check the IP address, so I don't think so.
Maybe you entered another email address than the one you though you did ?
It happens to me on my test websites where I have many test accounts, and I can mix the email addresses.
There is nothing to check the IP address, so I don't think so.
Maybe you entered another email address than the one you though you did ?
It happens to me on my test websites where I have many test accounts, and I can mix the email addresses.
Please Log in or Create an account to join the conversation.
- martin.petras
-
Topic Author
- Offline
- Martin
Less
More
- Posts: 9
- Thank you received: 1
2 years 8 months ago - 2 years 8 months ago #358225
by martin.petras
Replied by martin.petras on topic wiederholte Gastbestellung nur mit Anmeldung möglich?
Hello,
I have to take up the topic again, because I somehow have the problem again. By the way, the e-mail address used is NOT a Joomla account, but this e-mail address has been used several times in the past.
Where is the error?
By the way: if I click on the link to update the password, the system does not provide an e-mail either.
Thank you in advance for your help
Martin
I have to take up the topic again, because I somehow have the problem again. By the way, the e-mail address used is NOT a Joomla account, but this e-mail address has been used several times in the past.
Where is the error?
By the way: if I click on the link to update the password, the system does not provide an e-mail either.
Thank you in advance for your help
Martin
Last edit: 2 years 8 months ago by martin.petras.
Please Log in or Create an account to join the conversation.
2 years 8 months ago #358227
by nicolas
Replied by nicolas on topic wiederholte Gastbestellung nur mit Anmeldung möglich?
Hi,
Then, it probably means that the email address had been used before for the creation of a Joomla user account, and the user_cms_id linked to the user account was not reset due to how the user account was deleted, circumventing the synchronization process of HikaShop.
Change the line:
to:
in the file administrator/components/com_hikashop/helpers/database.php via FTP of a file manager and then click on the "check database" button of the Hikashop configuration page. It will reset the user_cms_id of that email address, so that you can proceed with the checkout as a guest with it.
Then, it probably means that the email address had been used before for the creation of a Joomla user account, and the user_cms_id linked to the user account was not reset due to how the user account was deleted, circumventing the synchronization process of HikaShop.
Change the line:
Code:
$query = 'UPDATE `#__hikashop_user` AS hku LEFT JOIN `#__users` AS ju ON hku.`user_email`=ju.`email` SET hku.`user_cms_id`=ju.`id` WHERE hku.`user_cms_id`!=ju.`id`';
Code:
$query = 'UPDATE `#__hikashop_user` AS hku LEFT JOIN `#__users` AS ju ON hku.`user_email`=ju.`email` SET hku.`user_cms_id`=IFNULL(ju.`id`, 0) WHERE hku.`user_cms_id`!=ju.`id` OR ju.`id` IS NULL';
The following user(s) said Thank You: martin.petras
Please Log in or Create an account to join the conversation.
- martin.petras
-
Topic Author
- Offline
- Martin
Less
More
- Posts: 9
- Thank you received: 1
2 years 8 months ago #358266
by martin.petras
Replied by martin.petras on topic wiederholte Gastbestellung nur mit Anmeldung möglich?
Wonderful, that was the solution 
many thanks!!
many thanks!!
Please Log in or Create an account to join the conversation.
Time to create page: 0.211 seconds