Jump to content

Prestashop 1.6 CSV import customers password


Recommended Posts

Hi, 

 

I am trying to import from my old prestashop (from v1.4.7 to v1.6.0.5) the customers through phpMyAdmin.

I did import both customers and addresses, but the passwords are wrong because Prestashop encrypts the also the hashed passwords when I import the customers.

 

Therefore, I commented the following lines of code in controllers/admin/AdminImportController.php

  //    if ($customer->passwd)
  //              $customer->passwd = Tools::encrypt($customer->passwd);
Now the hashed password is exactly the same, but it still does not work. 
 
I am not an expert of hash etc. and I do not know what else do I need (the secure_key cannot be imported, if that is useful for any reason). 
 
Does somebody have a solution for this`?
Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...