A Step-by-Step Guide to Migrate from Magento 1.x to Magento 2.x

Magento Migration

Since Magento 2 release, thousands of retailers have considered migration to Magento 2 platform. This platform is well performed, easy to go with and has numerous improvements.

There is a difference in the file structure of Magento 2.x and Magento 1.x, therefore, the migration process from Magento 1.x to Magento 2.x is slightly different than earlier. Though there are various tools developed by Magento Community for the migration process, the Magento theme cannot be upgraded to the Magento 2.0 with these tools. Therefore, this article is a step-by-step guide to Migrate data from magento 1.x to magento 2.x using the migration tool.

Here are some tools I came to know for Magento 2.x migration:

Here we are going to guide you to migrate to Magento 2 using UberTheme Migration tool:

  • Extract in the root of your server by making any folder.
  • It is supposed that installed Magento 2 is already installed.
  • Create these folders, folders shall have write permissions.
  • WEB_ROOT_PATH\migrate-data-tool\assets
  • WEB_ROOT_PATH\migrate-data-tool\protected\runtime
  • Make sure these files also have write permissions

WEB_ROOT_PATH\migrate-data-tool\protected\config\config.php

WEB_ROOT_PATH\migrate-data-tool\protected\data\ub_tool.db

  • Run this tool In browser by accessing localhost/folder name
  • You shall receive the following screen. Enter the details of both the databases. Make sure those are accessible if you are using a firewall or something.

Magento Migration

  • Once configured, click on next step, it will check the connection between two databases and shall show this screen. Select websites and stores you want to migrate.

Magento Migration

  • Clicking on Next step, you will be able to see the screen to migrate attributes.

Magento Migration

  • Migrate Categories now. It will show all the list of categories, you can select a few of them or select all to migrate all

Magento Migration

  • Migrate Products

Magento Migration

  • Migrate Customers

Magento Migration

  • Migrate Sales Data

Magento Migration

 

  • Migrate Reviews and Ratings

Magento Migration

  • Migrate other data

Magento Migration

  • You will need to reindex to see the migrated data in Magento 2
  • Linux : php -f WEB_ROOT_PATH\your_magento2_folder\bin\magento indexer:reindex
  • Windows: php -f WEB_ROOT_PATH\your_magento2_folder\bin\magento indexer:reindex
  • You will need to resave attribute sets in Magento2 after data migration, go to Stores > Attributes > Attribute Set. Open the Attribute Set, edit information of it if needed and click the save button.
  • Copy media files
  • Copy the folder at \your_magento1_folder\media\catalog and paste replace to WEB_ROOT_PATH\your_magento2_folder\pub\media\
  • Copy the folder at \your_magento1_folder\media\downloadable and paste replace to WEB_ROOT_PATH\your_magento2_folder\pub\media\
  • Make recursively writeable to “catalog” and “downloadable” folders, which you have just copied.
  • Remove all folders and files in root\magento2_folder\var but take the .htaccess file.
  • Remove all folders and files in root\magento2_folder\pub\static but take the .htaccess file.
  • You have successfully migrated all the data from Magento 1.x to Magento 2.0.

Dev Information Technology Limited [DEV IT] is a public listed company on NSE Emerge: [DEV IT] and is an end-to-end IT service provider that believes in offering innovative solutions. DEV IT has its expertise in various areas such as cloud computing, enterprise mobility, enterprise applications, infrastructure management services, custom application development, cloud development and many more. DEV IT offers digital commerce as well as digital transformation services.

 

The following two tabs change content below.
Rohit Chandak
I am a Sr. Software Developer working with PHP and MeanStack technologies at Dev Information Technology Limited. I have an experience of more than five years and I am passionate about learning and implementing new technologies. My area of interest is tech blog writing.
Rohit Chandak

Latest posts by Rohit Chandak (see all)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>