Is It Possibile To Integrate Login And User Address From External App? - Core developers - PrestaShop

Jump to content

Photo

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

#1

Posted 07 March 2013 - 09:24 AM

badpenguin

    PrestaShop Newbie

  • Members
  • Pip
  • 3 Active Posts
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?

#2

Posted 07 March 2013 - 01:45 PM

l3msip

    PrestaShop Newbie

  • Members
  • Pip
  • 24 Active 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.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

#3

Posted 07 March 2013 - 02:16 PM

badpenguin

    PrestaShop Newbie

  • Members
  • Pip
  • 3 Active Posts
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



#4

Posted 07 March 2013 - 02:55 PM

l3msip

    PrestaShop Newbie

  • Members
  • Pip
  • 24 Active Posts
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.prestasho...post__p__935063


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more