Jump to content

[Please Help] Importing 'Customer' information into a new platform


Recommended Posts

I made a new online store for my company and now I want to transfer all of my PrestaShop customers (~450 accounts) into it.

 

I imported the info that I need and now I have to import the passwords.

My website use the php md5() function when logging-in but it seems that PrestaShop is using something different.

 

Can anyone suggest me how to transfer the passwords, please.. I don't want my customers to create new accounts..

 

Thank you!

Link to comment
Share on other sites

I made a new online store for my company and now I want to transfer all of my PrestaShop customers (~450 accounts) into it.

 

I imported the info that I need and now I have to import the passwords.

My website use the php md5() function when logging-in but it seems that PrestaShop is using something different.

 

Can anyone suggest me how to transfer the passwords, please.. I don't want my customers to create new accounts..

 

Thank you!

 

PrestaShop is using MD5([_COOKIE_KEY_][ACTUAL PASSWORD])

so just change your condition on login.

 

_COOKIE_KEY_ is at config/settings.inc.php

  • Like 1
Link to comment
Share on other sites

you could change the auth controller so that it tries both methods for every customer that logs in, then when an existing customer logs in successfully, change the stored password to the new format. for new customers, or future password changes they would use the prestashop method.

Link to comment
Share on other sites

PrestaShop is using MD5([_COOKIE_KEY_][ACTUAL PASSWORD])

so just change your condition on login.

 

_COOKIE_KEY_ is at config/settings.inc.php

Thank you very much, you saved my life!!

 

===

 

bellini13, thanks for the suggestion, I'll think about using the both methods :)

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