cableguy1115 Posted June 5, 2017 Share Posted June 5, 2017 Hello, Is there a way to disable new customer registration, aswell disable guest buy? My clients are limited and I only want to create accounts myself for them. I've seen some posts from 1 year ago but I get "page not working" and stuff like that when I touch the .tpl's. I saw a module that does that, but I was wondering if Prestashop had an option to do it. Thank you. Link to comment Share on other sites More sharing options...
Andrej Stas Posted June 7, 2017 Share Posted June 7, 2017 (edited) To disable guest checkout: Go to your back office > Shop Parameters > Order Settings > set "Enable guest checkout" to NO. To disable all registrations: Replace this file: /your-theme/checkout/_partials/steps/personal-information.tpl (Download the attached ZIP and unzip first) Replace this file as well: /your-theme/customer/authentication.tpl This is how your order will look: result.png (attached below) personal-information.tpl.zip authentication.tpl.zip Edited June 7, 2017 by Andrej Stas (see edit history) 5 Link to comment Share on other sites More sharing options...
cableguy1115 Posted June 7, 2017 Author Share Posted June 7, 2017 Outstanding. Hope other people will find it usefull too. Thank you a lot 1 Link to comment Share on other sites More sharing options...
Luigi.stillavato Posted September 9, 2017 Share Posted September 9, 2017 To disable guest checkout: Go to your back office > Shop Parameters > Order Settings > set "Enable guest checkout" to NO. To disable all registrations: Replace this file: /your-theme/checkout/_partials/steps/personal-information.tpl (Download the attached ZIP and unzip first) Replace this file as well: /your-theme/customer/authentication.tpl This is how your order will look: result.png (attached below) I Have do this but still I have registration link why? Link to comment Share on other sites More sharing options...
Deragos Webdesign Posted September 15, 2017 Share Posted September 15, 2017 Works very well! Thanks! 1 Link to comment Share on other sites More sharing options...
Andrej Stas Posted September 19, 2017 Share Posted September 19, 2017 I Have do this but still I have registration link why? Make sure you cleared the cache: https://prestabuilder.com/2017-02-23/clear-cache-prestashop-1-7/ 1 Link to comment Share on other sites More sharing options...
lapseens Posted November 28, 2017 Share Posted November 28, 2017 (edited) On 6/7/2017 at 7:02 AM, Andrej Stas said: To disable guest checkout: Go to your back office > Shop Parameters > Order Settings > set "Enable guest checkout" to NO. To disable all registrations: Replace this file: /your-theme/checkout/_partials/steps/personal-information.tpl (Download the attached ZIP and unzip first) Replace this file as well: /your-theme/customer/authentication.tpl This is how your order will look: result.png (attached below) personal-information.tpl.zip authentication.tpl.zip Hello, for my store I whant to remove registration option too. I uploaded your authentication.tpl and personal-information.tpl, but still in order process there are sign in link and registration, is there something more to do? I use prestshop 1.7 last version. THANK YOU ! Edited November 28, 2017 by lapseens other error (see edit history) Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted November 28, 2017 Share Posted November 28, 2017 21 minutes ago, lapseens said: Hello, for my store I whant to remove registration option too. I uploaded your authentication.tpl and personal-information.tpl, but still in order process there are sign in link and registration, is there something more to do? I use prestshop 1.7 last version. THANK YOU ! you may find this solution useful https://www.prestaheroes.com/en-us/modules/private-shop/private-shop-authorized-clients-only-shopping Link to comment Share on other sites More sharing options...
lapseens Posted November 28, 2017 Share Posted November 28, 2017 Sorry, You didnt understund me, I whant to remove customer registration from my prestshop page. Im not a coder, so I need help. I removed some contents from personal-information.tpl, and remover from order page a login link, but how to remove all contents like - password, email etc. I will add sample picture : THANK YOU, hope You can help me! Link to comment Share on other sites More sharing options...
01K Posted May 31, 2018 Share Posted May 31, 2018 lapseens, have you solved this? Link to comment Share on other sites More sharing options...
onthewey Posted September 4, 2018 Share Posted September 4, 2018 (edited) I found the solution but i don't remember the name of the guy that write it ( i can't find the post) Works fine in 1.7.X.X version Members 0 1 post Location:Warsaw Report post Posted August 8 1.7.x has new method to do it: INSIDE: classes/Customer.php there is entry (close to line 112-113): /** @var bool Status */ public $active = true; There is required only to replace "true" with statement "false" and by default all users are inactive. Greetings, Artur. Edited September 4, 2018 by onthewey (see edit history) 1 1 Link to comment Share on other sites More sharing options...
zorro22 Posted January 10, 2019 Share Posted January 10, 2019 On 11/29/2017 at 12:34 AM, lapseens said: Sorry, You didnt understund me, I whant to remove customer registration from my prestshop page. Im not a coder, so I need help. I removed some contents from personal-information.tpl, and remover from order page a login link, but how to remove all contents like - password, email etc. I will add sample picture : THANK YOU, hope You can help me! hi, did you find a way to resolve it? i want the same as you do but so far no luck Thanks, Link to comment Share on other sites More sharing options...
jrgrafisk Posted July 31, 2019 Share Posted July 31, 2019 Hi Somehow I have disabled the registration option - but not on purpose, and now I can't seem to activate it again. Nothing is showing... Link to comment Share on other sites More sharing options...
jrgrafisk Posted July 31, 2019 Share Posted July 31, 2019 17 minutes ago, jrgrafisk said: Hi Somehow I have disabled the registration option - but not on purpose, and now I can't seem to activate it again. Nothing is showing... Manual removal of social title triggered this error. Recreated the original customer-form.tpl from a fresh unzipped prestashop installation Link to comment Share on other sites More sharing options...
jrgrafisk Posted July 31, 2019 Share Posted July 31, 2019 Manual removal of social title triggered the error. Recreated original customer-form.tpl and deleted social titles from backend instead. 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