Jump to content

Is It Possibile To Integrate Login And User Address From External App?


badpenguin

Recommended Posts

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

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

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

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