Jump to content

how to ?


Recommended Posts

Yes, i want customers not able to register and i want to make customer accounts manually to them. I want it to be closed shop to everyone else but my customers.

 

 

I have tried this

 

http://cart-help.com/topic/141-solved-disable-user-register-in-prestashop-16/

 

But its not working for me it wont remove the registration.

Edited by saanle (see edit history)
Link to comment
Share on other sites

So how would visitors send you orders?  Note that the only difference between guest checkout and a registered customer is a password, everything else is collected the same.

I dont want anyone else to make orders than customer users that i create manually.

Link to comment
Share on other sites

This would required code editing. There is no way to just do it from the backoffice.

 

I don't imagine it is difficult. I've had a long day so too lazy to look at this now but based on a quick look I'd remove the New Customer block from checkout and the create Account box from Authentication and that would likely do it. The ability to create accounts would still be present but if no one can get to it they can't create an account.

Link to comment
Share on other sites

You still have not answered the most basic of questions.  If the customer cannot register an account and create an order, how in the world will you know that they want to do this?

 

By having an existing relationship with the customer. He is using the store as an order taking facility rather than a store. He doesn't want to sell to randoms. 

Edited by Naldinho (see edit history)
Link to comment
Share on other sites

As an alternative you could try https://www.prestashop.com/forums/topic/219050-free-module-validate-customer/

 

I've never used it so not vouching for it but it is free and while it doesn't allow you to prevent people from registering it requires validation so new customers would need approval. The code edit though should be pretty easy but if you don't feel comfortable then this could be an alternative. 

Edited by Naldinho (see edit history)
Link to comment
Share on other sites

In catalog mode I am fairly certain you can't place orders. I could be wrong but I think it shuts down the entire cart system.

 

I think the only way to do what he wants is to delete the links to the account creation elements on the various pages where people can create accounts.

 

Deleting is easiest but if he felt comfortable he could replace the code with something that would lead to instructions on how to contact the company and apply for an account.

Link to comment
Share on other sites

Naldinho youre reading my mind thanks. I got it solved by removing some code from controllers\front\AuthController.php  but it was not very clean solution for this. I would have to remove the button too but i dont know what file should it edit. I tried to delete button code from themes\default-bootstrap\authentication.tpl but it didnt effect at all the button was still showing.

 

 

And the plugin that u linked would be cool to try thanks for that too.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...