jafakash cp Posted June 27, 2016 Share Posted June 27, 2016 Hi , My client need to login and signup prestashop using one external php page. when we register a customer from external page it should be updated in ps_customer table and should be logged in or accept cookie for that customer . how to implement this . it has been long time am searching for and it is now the time of deadline. please reply anyone for the soluion asap , it would be a great help Thanks in advance Jafakash cp Link to comment Share on other sites More sharing options...
shokinro Posted June 27, 2016 Share Posted June 27, 2016 what do you mean external? A. from other website? B. or from a new page but still inside store folder? If it is A, then you will have to create data in database ps_customer table directly in your page from other website. If it is B, then you can use the Presatashop existing customer class to create object and then save the object. You will need to create a controller class and also a theme file for your new page. Link to comment Share on other sites More sharing options...
jafakash cp Posted June 27, 2016 Author Share Posted June 27, 2016 It is not another website or in store folder but in the same domain. Scenario is i have created a php page in same domain with login and signup form including social login .From this page a user can sign up and login to prestashop,I can access cookie value after sign up or login from external 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