en Jump to content
  • 0
badpenguin

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

Question

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?

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
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

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More