How To Import Customer Passwords To Magento 2

- E-Commerce, Fire development, Magento 2

Magento 2 import customer passwords

Below, we describe how to import passwords to Magento 2 from external systems. The problem is that the new platform version utilizes an updated algorithm to store them. Hence, users claim that after migrating to Magento 2, registered customers have to reenter their passwords on a new website. As usually, we shed light on a more sophisticated approach community members offer as well as on our solution that dramatically simplifies the way you import customer passwords to Magento 2. For further useful tips, check our Cookbook

'

A community-based approach to import customer passwords to Magento 2

Joe describes the issue here: How to import MD5 password to Magento 2. The author tries to import customer info into Magento 2. However, his old website uses MD5 to store passwords. Therefore, Joe asks how to import the corresponding data correctly. 

According to mzzl, the solution is quite simple but may take a decent amount of time, depending on the number of your customers. The author says that no extra code is necessary to support the MD5 hash in Magento 2. It is only required to add “:0” after the raw password.

Mzzl also says that Magento 2 utilizes numerous versions to hash passwords. As for version 0, it is MD5. Magento 1 uses it.

The author also compares the formats of how passwords are stored in both Magento 1 and Magento 2. In the case of the first version, you have to deal with the following structure: 

When it comes to Magento 2, passwords are formatted as follows: 

When importing customer passwords to Magento 2, you have to add the missing part to the password_hash field.

The more customers you have, the more time you will spend editing a CSV file. Luckily, there is a more efficient solution. 

A user-friendly approach to import customer passwords to Magento 2

You can import customer passwords to Magento 2 along with other data in a more efficient way without editing anything. Meet the Improved Import & Export Magento 2 extension – your number one time-saver when it comes to data transfers to and from your e-commerce websites. Together with the Free Magento 1 to Magento 2 Migration add-on, it will help you import customer passwords to Magento 2 automatically. Let’s see how to do that.

First of all, you have to go to System->Improved Import/Export->Import Jobs and hit the “Add New Job” button there.

Magento 2 import customer passwords

In General Settings, enable your new job, type its title, choose the manual run frequency (if you want to transfer customer passwords on a regular basis), select a language (locale), and enable/disable a few more features.

Magento 2 import customer passwords

Next, proceed to the Import Settings section. Here, you can enable/disable API, choose Customers & Addresses as your import entity, and select a platform to import data from.

Magento 2 import customer passwords

In Import Behavior, choose Add/Update from the dropdown, select a validation strategy, set a limit on the number of errors, and specify separators.

Magento 2 import customer passwords

In Import Source, select an import file type. If we talk about the migration from Magento 1, it is usually a CSV format. Next, specify your import source: a server, Dropbox account, URL, or direct upload.

Magento 2 import customer passwords

To import customer passwords to Magento 2, hit “Save & Run” in the top right corner of the screen. For further information about how to do that, follow the link below and contact our support:

Get Improved Import & Export Magento 2 Extension

If you need to transfer not only customers and their passwords but also other information, pay attention to the add-on since it simplifies transfers even more. It offers a similar approach to the one we’ve just described. Therefore, you only have to navigate to the Migration section, specify the path to your Magento 2 root folder, choose an entity you want to migrate, and hit ‘Run.’ That’s it! Our plugin transfers the data with no downtime!

Magento 2 import customer passwords

Some of the add-on’s features include:

  • Intuitive admin interface – no programming skills are required to migrate your Magento 1 data and import customer passwords to Magento 2;
  • CLI commands – alternatively, you can rely on intuitive CLI commands that follow the same pattern;
  • Selective migration – the following entities are supported: products, categories, customers, orders, price rules, tier prices, etc. Additional entities include reviews and ratings, catalog rules, credit memos, invoices, and URL rewrites;
  • No downtime – due to the selective entity migration, the add-on allows avoiding store downtime, relying on reindex only;
  • Custom XML filter – you can filter customer and product attributes via custom XML commands. It may simplify the way you import passwords to Magento 2.
  • Magento 2 to Magento 2 migration – you can freely move data from one store to another or even merge two stores.

Get Free Magento 1 to Magento 2 Migration add-on

Firebear Magento migration service

In addition to the extension and add-on, the Firebear team offers a full-specter migration service. Thus, we can import customer passwords along with all entities you want to Magento 2. You provide us with access to your Magento 1 store and Magento 2 instance, and we migrate all the data you need.

It is the best option if you are not sure that you can perform the migration yourself. If you want to save time, leave it to the certified specialists how have done it a dozen times. Follow the link below to reach our support center:

Discuss the migration

'