2018-07-06 2014-08-06
Rating 0 stars - 0 votes

Migrate PrestaShop Customers with Passwords for Free

The necessity to migrate PrestaShop customers occurs when you need to copy client details from one store to another or to upgrade shopping cart to the newer version etc. However, after having a look at exported file with all the customers details, you see that ‘Password’ column contains a set of some random numbers and letters instead of actual passwords your customers used to log into your shop. Do not worry, there is nothing wrong with your shop and export was correct. You simply got your customers’ passwords hashed.



What are Hashed Passwords?

In PrestaShop passwords are encoded in MD5 coding type. It means that sensitive password information is encrypted with special key. This is made for security reasons and serves for better customer data protection.

There is no generally accepted algorithm of how to decrypt them (that’s the point of storing hashed passwords in the database). Each store has its own way of hashing passwords (its own key used for encoding).

In case you do not want to import customers accounts and ask clients about recovery after the procedure, you may use Store Manager for PrestaShop starting from v.2.13.0 (900) along with workaround described below.


Things to Consider Before Importing Customers with Passwords

As you might have noticed, this procedure is not as easy as clicking a few times “Next”. So before starting it, you have to know the following:

  • It is recommended to perform customer import with passwords on fresh PrestaShop installation without existing clients’ accounts. The reason is that after the process, the passwords of your existing clients will be unaccessible for them (they will have to go through ‘lost password’ process) and only newly imported customers’ passwords will work correctly.
  • Even if you import into empty PrestaShop store, you might expect recovering your own admin password. This is explained by the fact, that in order for your new shop to be able to ‘read’ those encoded passwords, you do changes that influence encoding rules at the whole shop.
  • If you are not sure that you cope with the task and afraid to break anything, you can ensure that the task will be done 100% correct. It is possible by sending us the request with customer file (or source store FTP details) and target store access information to contact@prestashopmanager.com
    Our tech specialist will check it and get back to you with estimated time and cost of the service.

Step-by-Step Instruction to Import Customer Passwords from One PrestaShop Store to Another

  1. Connect to store from which you export customers via any FTP client like FileZilla, Total Commander or any other you use.

  2. Once connected, open your store root folder and there find ‘config’ directory. This folder contains settings.inc.php file. Open that file and copy value for Cookie Key.
    If you are using PrestaShop 1.7.x, the directory where cookie key info is saved is the following – /app/config/parameters.php

    Check the example –

    define('_COOKIE_KEY_', 'cookie_key_value');

  3. Connect to new PrestaShop store via FTP (you need to import passwords to), replace existing there Cookie key with the one you have copied from your old installation (see step above).

  4. Run Customer Import Wizard of Store Manager for PrestaShop to upload exported file with customer details and passwords.

  5. Restore your Admin passwords and check customers’ passwords if you know the password to any account.

You’re done.


Tip: If by chance you have got the file with customer passwords as plain text, there is no need to do the above mentioned operations. You can import file right away, but do not forget to apply ‘Encode Customer Passwords’ function at the last step of import to get them encrypted.

If you haven’t widened your customer database being afraid of password recovery process, Store Manager for PrestaShop is a game-changer. With it and little efforts you will be able to perform the task.

Download 30-day fully-functional version of the application and migrate PrestaShop customers with passwords at no charge –

prestashopmanager.com/free-download/


Tags: Import customers passwords to PrestaShop, Migrate PrestaShop customers with passwords, Move customers to PrestaShop


Related Articles:


Card image
Export PrestaShop Customers Info for Advanced Mailing Lists

Export customized clients lists to CSV or Excel for sending marketing mails in a quick way. Read More…

Card image
How to Import Orders to PrestaShop

Find out what should orders import file include and how to configure it’s upload settings. Read More…

Card image
PrestaShop Customer Export

Get the detailed instruction of how to easily export PrestaShop customers with the help of Import/Export Wizard. Read More…

Card image
Make Product Search Precise with Layered Navigation

Find out how to activate layered activation at your store and create filter templates. Read More…


COMMENTS
Be the first to comment.

Privacy Preference Center

Strictly Necessary

These cookies are necessary fro the site ot function.

woocommerce_cart_hash, woocommerce_items_in_card, wp_woocommerce_session_{hash}

Performance

These are used to track user interaction and detect potential problems. These help us improve our services by providing analytical data on how users use this site.

_ga, _gid, _gat-_UA-326982215-24, LaSID, LaVisitorId, __utma, __utmc, __utmv, __utmz

Close your account?

Your account will be closed and all data will be permanently deleted and cannot be recovered. Are you sure?