badpenguin Posted March 7, 2013 Share Posted March 7, 2013 Hello, i've an existing PHP/Mysql website with a user table and address database. Is it possible to integrate prestashop with my app in a way that user login and password and the address is used from my main website? Link to comment Share on other sites More sharing options...
l3msip Posted March 7, 2013 Share Posted March 7, 2013 Yes it certainly is. You could do it in various ways. One way would be to extend the register/update functions on your current site to call the prestashop api to perform the same function in prestashop, eg when a user registers on main website, you create the user in prestashop See developer docs: http://doc.prestashop.com/display/PS15/Using+the+PrestaShop+Web+Service The other alternative would be to adapt one or the other to use the same users table, but that could prove problematic. It reallt depends on how your main site functions Link to comment Share on other sites More sharing options...
badpenguin Posted March 7, 2013 Author Share Posted March 7, 2013 but this way i don't have an unified login... Yes it certainly is. You could do it in various ways. One way would be to extend the register/update functions on your current site to call the prestashop api to perform the same function in prestashop, eg when a user registers on main website, you create the user in prestashop See developer docs: http://doc.prestasho...hop+Web+Service The other alternative would be to adapt one or the other to use the same users table, but that could prove problematic. It reallt depends on how your main site functions Link to comment Share on other sites More sharing options...
l3msip Posted March 7, 2013 Share Posted March 7, 2013 Well this will sync the user tables as such that the same account will work with both sections. It wont however sync the logining in aspect, and it wont work the other way around, eg if a user joins via prestashop form, they wont be a member of the main site. For full integration you would need to have your main site use the presta login system. How much work is involved depends on how complicated your existing site is. There is a good post here with details of integration, but its not going to be a simple task: http://www.prestashop.com/forums/index.php?/topic/156218-solvedish-integrating-prestashop-into-a-pre-developed-website/page__view__findpost__p__935063 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