Jump to content

Use Prestashop login in another websitev


Recommended Posts

Hi for all,

I know a little in php and apologize about my English mistakes but I hope you can help me and my explain is clear. 


I have an old website beside my Prestashop website, it has a form page witch filled by users. what I need is: make this page require the Prestashop  logging in and use its user id (prestashop user id) to filled automatically in the form which will be exported to a database in the end

Thank you  

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

You haven't mentionned your prestashop version. Spoken in general you need to copy the relevant functions from PrestaShop which are related to login. For 1.6. it is the AuthController.php as first step to hang on. If you are not experienced with PHP programming and debugging, maybe ask a expert to do it for you.

 

Furthermore you need to allow access from your old webspace to your current prestashop database. If the servers run on separate machines, you need a db users which has remote connection privileges.

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