Jump to content

Register and Login separation


jcab

Recommended Posts

Good morning,


 


I need to separate the options Create a new Account and Login. This means that I need to have in the header's menu the option My Account and Register separated. When a client go to My Account they could introduce his email and password and there should be a link to Create a New Account in case he has no account. If they go to Create an Account there should be a link to login in case they have an account. In this case they will go to the page My Account.


 


By default, Prestashop shows both options in the same page (Create an Account and Already registered? to Login), but I need to have each option in different pages.


 


I duplicated authentication.tpl file and have a new file register.tpl and I modify both of them to only show the information I need. Moreover, I changed nav.tpl file and I added the option Register to the header's menu. The problem is that when I go to the option Register it shows an 404 error. The url knows that has to access to a controller named register because it appears like this index.php?controller=register


 


I know that I have to do something more, but I do not know what. I will appreciate if you could help me.


 


Thanks a lot! 


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...