How to Migrate from Magento 1 to Magento 2 Website

How to Migrate from Magento 1 to Magento 2 Website

We’ll take a

  • fast-paced
  • to the point and
  • essential only lookup

of the steps required to upgrade Magento

The migration process includes lots of possible aspects. The most common components are

  • Themes
  • Extensions
  • Data and Custom features

For big and highly customized e-commerce stores, the procedure can take up to several hours or even a few days.

There are already tens of articles written on how to upgrade Magento version. If you are seeking a comprehensive guide that serves eCommerce store migration of custom settings as well, I request you to take a look at the first source site http://devdocs.magento.com/guides/v2.0/howdoi/migrate/migrate.html

In this text, typical up-gradation is depicted. You don’t need to keep the site offline for the entire time. However, during the copy of the database, offline is a must. Unfortunately, importing the content of the database into Magento 2.0 goes slowly and eats up a maximum of process time.

Before starting out, make sure

1. That you have Magento 2.0 installed on your machine without sample data in it. If you have not yet, download and install it from https://magento.com/tech-resources/download

2. That you have a migration tool available at your disposal, download it from https://github.com/magento/data-migration-tool-ce It is important that the migration tool should also be of version 2.x or later

Migration Steps

1. In Magento 2.0 setup, run the following commands
composer config repositories.data-migration-tool git
https://github.com/magento/data-migration-tool-ce
composer require magento/data-migration-tool:2.0.0
2. Configure right/preferred time zone and currencies in Magento 2.0

Installation before initialization of the actual migration process.

Magento2 Install
3. When the above steps are completed, test that the migration tool is properly installed and that it is nicely working by entering the following command:
php bin/magento migrate:data –help
4. The next thing is the creation of the configuration files for this migration tool.

They reside inside

vendor/magento/data-migration-tool/etc/<version>

If you are upgrading from Magento 1.9 installation, run the following cp command:

cp –R
vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.1.0/
vendor/magento/data-migration-tool/etc/ce-to-ce/<your-company>-path
5. Once copied, navigate to configuration file of migration tool. That is, open the

vendor/magento/data-migration-tool/etc/ce-to-ce/<your-company>-migration/config.xml.dist file.

In this file, search for the source/database and destination/database tags
Change the values of these database settings to match yours.

<source>
<database host=”localhost” name=”magento1″ user=”root”/>
</source>
<destination>
<database host=”localhost” name=”magento2_migration” user=”root”/>
</destination>
6. Rename the file config.xml.dist to config.xml
7. By now, the migration tool i.e. Magento console command is ready and it will migrate all the parts from a Magento 1 shop under the hoods.
8. If the above steps are correctly executed, you can launch the tool by
php bin/magento migrate:data –help

Write below command and press enter
php bin/magento migrate:data vendor/magento/data-migration-tool/etc/ceto-ce/your-path-migration/config.xml

Related Stories:

9. By the time it shall get completed. яндекс

Now if you check your database for the Magento 2 website, you will see that the data (products, categories, and so on) are available.

If you think something has gone out of the eyes and so you want to rerun migration, simply remove var/migration-tool-progress.lock file and re-enter the above command.

10. Go to the back end and see things like
  • The orders (Sales | Orders)
  • The products (Products | Catalog)
  • The customers (Customers | All Customers)
Data Migration of Magento 2
11. With the migration tool, we can only migrate data and settings.

The code of Magento 1 modules will not be available in Magento 2. Therefore, you will have to look over Magento 1 website for custom code snippets you added on top of the framework, and then copy-paste-test them in Magento 2 shop.

However, as I aforementioned, the points above would NOT suffice to migrate to Magento 2 to the fullest.

If you want to handle the entire process yourself but only need advice to resolve complex issues, Viha Digital Commerce provides that type of reduced Magento 2 upgrade services

Our support-based Magento upgrade service allows you to work in conjunction with a Viha Digital Commerce Certified Magento consultant.

Our WordPress Stories:

editor's pick