Jump to content

How can I configure Prestashop so that registration and login is calling out to my own web service?


Recommended Posts

Hi guys,

I have a web site right now, and I want to integrate prestashop as part of it (the online store section).

The thing is, I already have a lot of registered users, and I want prestashop's registration and login form reaching out to the existing REST api and database instead of its own. 

How can I configure prestashop to do this? 

 

 

Thank you very much!

Nick

Link to comment
Share on other sites

You can't just simply configure to do that. There's no such thing. 

 

What you need is a developer, that will develop a custom module with the proper functionality interacting with your REST api, providing a different registration/login (or hooking in the current) and authenticating the customer against it, then creating an account for the customer in your store so it can work with all other functionality still properly. It needs to hook in or override everywhere where prestashop would do it with it's native login support, even in things like the emails for password reminders etc. if you want to fully replace that functionality and not just offer additional login functionality (kind of a social login like facebook). 

Link to comment
Share on other sites

You can't just simply configure to do that. There's no such thing. 

 

What you need is a developer, that will develop a custom module with the proper functionality interacting with your REST api, providing a different registration/login (or hooking in the current) and authenticating the customer against it, then creating an account for the customer in your store so it can work with all other functionality still properly. It needs to hook in or override everywhere where prestashop would do it with it's native login support, even in things like the emails for password reminders etc. if you want to fully replace that functionality and not just offer additional login functionality (kind of a social login like facebook). 

 

Hi, thanks a lot, do you know of any existing modules that has this functionality? or are there any tutorials etc? Sorry I'm very new to Prestashop. Thanks!

Link to comment
Share on other sites

It's unlikely there will exist any modules, as this is a custom API that you want to integrate the login with, is that correct? It sounds like you will need a custom solution. 

 

As for tutorials... well, you will need more than just one tutorial. You would need either to learn module development or hire someone to develop one. First one would be time intensive, second one will cost money. 

 

Here's a good book for module development: 

http://www.amazon.de/PrestaShop-Module-Development-Fabien-Serny-ebook/dp/B00QFBNXIO/ref=sr_1_1?ie=UTF8&qid=1445463171&sr=8-1&keywords=prestashop+module

You will need further knowledge though than just that. In case you aren't a developer, this isn't something you would be able to do on your own. 

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