rkinfo Posted March 20, 2013 Share Posted March 20, 2013 Guest checkout shouldn't create "An Account". We have returning customers who try to use guest checkout more than once and are told "An account with this email already exists." Since the point of checking out as guest is to avoid account creation. Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted March 21, 2013 Share Posted March 21, 2013 This is precisely why we don't recommend the Guest checkout to any of our clients. For all practical purposes when a visitor checks out using 'guest checkout' they are indeed creating an account. If/When they return to make another purchase and create an account they cannot with the same email address. Marty Shue Link to comment Share on other sites More sharing options...
BuB Posted March 21, 2013 Share Posted March 21, 2013 That's why I turned off guest checkout. Hope this will be fixed soon. Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted March 21, 2013 Share Posted March 21, 2013 That's why I turned off guest checkout. Hope this will be fixed soon. I wouldn't count on it as it is not viewed as 'broken' Marty Shue Link to comment Share on other sites More sharing options...
rkinfo Posted April 11, 2013 Author Share Posted April 11, 2013 (edited) I suppose you have to build in 'Guest Tracking' because you don't know what type of payment systems with invoices or receipts will be made. However it would be nice to have a guest checkout module that works assuming the invoice will be sent via email with no need to track anything. There are plenty of guest checkout systems that record the transaction without creating an account, allowing a customer to checkout as guest indefinitely. Eastbay.com for example. Edited April 11, 2013 by rkinfo (see edit history) Link to comment Share on other sites More sharing options...
Crezco Posted April 29, 2013 Share Posted April 29, 2013 Hello everybody, To solve this problem, you have to modify "controllers/front/Authcontroller.php On line 375 find: if (Validate::isEmail($email = Tools::getValue('email')) && !empty($email)) replace by: if (Validate::isEmail($email = Tools::getValue('email')) && !empty($email) && Tools::getValue('is_new_customer', 1)) On line 522 find: if (Customer::customerExists(Tools::getValue('email'))) Replace by: if (Customer::customerExists(Tools::getValue('email')) && Tools::getValue('is_new_customer', 1)) I hope this works for you Link to comment Share on other sites More sharing options...
noesac Posted May 1, 2013 Share Posted May 1, 2013 Hello everybody, To solve this problem, you have to modify "controllers/front/Authcontroller.php On line 375 find: if (Validate::isEmail($email = Tools::getValue('email')) && !empty($email)) replace by: if (Validate::isEmail($email = Tools::getValue('email')) && !empty($email) && Tools::getValue('is_new_customer', 1)) On line 522 find: if (Customer::customerExists(Tools::getValue('email'))) Replace by: if (Customer::customerExists(Tools::getValue('email')) && Tools::getValue('is_new_customer', 1)) I hope this works for you Can you tell us exactly what this does? Link to comment Share on other sites More sharing options...
bimer Posted May 8, 2013 Share Posted May 8, 2013 It dosen´t seems to work.. I have the same problem. If i choose to have a quick checkout instead, (1 page checkout) I can´t choose payment options, if not logged in. Link to comment Share on other sites More sharing options...
Mister Denial Posted May 16, 2013 Share Posted May 16, 2013 If the code could be modified such that PS will check if the email is already in use AND if it is also associated with a registered account, the customers who previously used guest checkout would still be able to register an account with the same email. Because after all, during guest checkout the same email can be used multiple times, so why can't they register later on? Hope someone can find the right piece of code for that. Link to comment Share on other sites More sharing options...
cactusman2 Posted August 18, 2013 Share Posted August 18, 2013 Can't we use the variable is_guest ? Link to comment Share on other sites More sharing options...
cactusman2 Posted August 18, 2013 Share Posted August 18, 2013 (edited) In PS 1.4.10 in Controllers/AuthController.php line 49 replace: elseif (Customer::customerExists($email, false, false)) by elseif (Customer::customerExists($email, false, true)) in same file line 135 replace: if (Customer::customerExists(Tools::getValue('email'), false, (Configuration::get('PS_GUEST_CHECKOUT_ENABLED') && Tools::getValue('is_new_customer') == 0))) by if (Customer::customerExists(Tools::getValue('email'), false, true)) It seems to work, thanks to confirm Edited August 18, 2013 by cactusman2 (see edit history) Link to comment Share on other sites More sharing options...
noesac Posted August 18, 2013 Share Posted August 18, 2013 In PS 1.4.10 in Controllers/AuthController.php line 49 replace: elseif (Customer::customerExists($email, false, false)) by elseif (Customer::customerExists($email, false, true)) in same file line 135 replace: if (Customer::customerExists(Tools::getValue('email'), false, (Configuration::get('PS_GUEST_CHECKOUT_ENABLED') && Tools::getValue('is_new_customer') == 0))) by if (Customer::customerExists(Tools::getValue('email'), false, true)) It seems to work, thanks to confirm What exactly does this do? I wasn't clear about this Link to comment Share on other sites More sharing options...
cactusman2 Posted August 18, 2013 Share Posted August 18, 2013 Someone who order with a guest account on Prestashop cannot create an account later with the same email address Link to comment Share on other sites More sharing options...
noesac Posted August 18, 2013 Share Posted August 18, 2013 Ok so they have to login first before they can continue with their order? Link to comment Share on other sites More sharing options...
vekia Posted August 18, 2013 Share Posted August 18, 2013 Ok so they have to login first before they can continue with their order? in my opinion they have to log in, but of course password will not work - so they have to regenerate password Link to comment Share on other sites More sharing options...
cactusman2 Posted August 18, 2013 Share Posted August 18, 2013 And regenate a password does not work as they don't have an account It's a vicious circle Link to comment Share on other sites More sharing options...
Mister Denial Posted August 19, 2013 Share Posted August 19, 2013 Just to be clear, this change to the code allows customers to create an account if their email is already used as guest checkout? But they have to log in first? Link to comment Share on other sites More sharing options...
cactusman2 Posted August 19, 2013 Share Posted August 19, 2013 Just to be clear, this change to the code allows customers to create an account if their email is already used as guest checkout? Yes But they have to log in first? No they cannot login as they don't have a account (so obviously no password) Link to comment Share on other sites More sharing options...
Mister Denial Posted August 19, 2013 Share Posted August 19, 2013 Hi Cactusman2, thanks for the clarification. I assumed that it would be that way, but the message by noesac got me a little intrigued, so I just wanted to be sure. Thanks a lot for the code, I will implement and test it later this week. Link to comment Share on other sites More sharing options...
Eco-tech - Elena Posted August 29, 2013 Share Posted August 29, 2013 I'm using 1.5.4 and this bug is fixed: I've created two orders using the same email and now I have two customers with the same email. Link to comment Share on other sites More sharing options...
Mister Denial Posted September 23, 2013 Share Posted September 23, 2013 Hi Elena, so do you mean that customers who first used guest checkout can use the create account option on a second order in 1.5.4 ? Link to comment Share on other sites More sharing options...
marcko Posted September 29, 2013 Share Posted September 29, 2013 In PS 1.4.10 in Controllers/AuthController.php line 49 replace: elseif (Customer::customerExists($email, false, false)) by elseif (Customer::customerExists($email, false, true)) in same file line 135 replace: if (Customer::customerExists(Tools::getValue('email'), false, (Configuration::get('PS_GUEST_CHECKOUT_ENABLED') && Tools::getValue('is_new_customer') == 0))) by if (Customer::customerExists(Tools::getValue('email'), false, true)) It seems to work, thanks to confirm It works in PS 149! Great work, thanks for sharing! Link to comment Share on other sites More sharing options...
dkjo Posted October 16, 2013 Share Posted October 16, 2013 (edited) P: 1.5.4.1 - You can make orders with the same email address (at least 2 times) and then you can even create a customer account with the same email address... [fresh installation, without above modifications ] Edited October 16, 2013 by dkjo (see edit history) Link to comment Share on other sites More sharing options...
senso321 Posted December 19, 2013 Share Posted December 19, 2013 It's not a problem, but If you got a admin account with a same email it sill doesn't work. Just a interesting anomaly Link to comment Share on other sites More sharing options...
Liofey Posted March 14, 2014 Share Posted March 14, 2014 Is this problem fixed in 1.5.4? Is it true? Link to comment Share on other sites More sharing options...
Mister Denial Posted March 14, 2014 Share Posted March 14, 2014 That would be so awesome if that issue was fixed! If it is fixed in 1.5 it also should be in 1.6 - I really hope! I also hope that this feature will work with upgraded shops, as I am on 1.4 right now. Oh that would be so incredibly awesome!!! *fingers crossed* Link to comment Share on other sites More sharing options...
Mister Denial Posted April 1, 2014 Share Posted April 1, 2014 Can anyone confirm if this guest account issue has been fixed in 1.6 ? Link to comment Share on other sites More sharing options...
supportnisse Posted April 2, 2014 Share Posted April 2, 2014 We have some registered customers complaining it is too complex to check out. In an attempt to fix this we activated guest checkout. We are on 1.5.6.1 and what works in there is: Check out many times (tested two..) with the same email adress as a guest, works! (as long as that same email has not been used by any already formally registered customer...) What is not working is: It is not possible for an already registered customer to avoid login and check out as a guest. (Error displayed email already used) It is not possible to transfer a customer to a guest...(or we could not find it...) Workaround: In our case the simplest way was to react to a customer complain by doing manual update of the customer db entry for this customer and change the customer db flag 'is_guest' from 0 to 1. (Using Cpanel; phpMySQL...) Doing so, the PS system allowed for an already existing customer (email) to check out as a guest thereby creating a new "guest" account. Would be nice to manage the 'is_guest' flag nicely from the BO, rather than our risky workaround. Maybe someone knows more? Rgds Link to comment Share on other sites More sharing options...
perusi Posted June 18, 2014 Share Posted June 18, 2014 anything for PS 1.5.3.1 ? Thanks Link to comment Share on other sites More sharing options...
69star Posted January 20, 2016 Share Posted January 20, 2016 I hate to bump an old thread but I think 1.6 has the same "issue". When I click guest checkout, it makes me hit the save button and says account info saved. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now