Jules
3 min read
Aug 21, 2019

Key Points:

  • Migrating from Magento 1 to Magento 2 can be done in just a few simple steps
  • Migrating from Magento 1 to Magento 2 can help your eCommerce efforts greatly, including boosting your site’s performance, improving security for your online shoppers, and offering a more responsive, mobile-friendly website design
  • Easyship integrates with Magento online stores, helping your eCommerce business take advantage of our discounted courier rates and shipping tools

With the release of Magento 2.0 in July 2015, more and more online merchants using Magento 1 have increasingly begun to transition to the newer version of the eCommerce platform. Migrating platforms, however, can certainly seem like a daunting task, especially for online merchants with limited coding and development knowledge.

Fortunately, migrating from Magento 1 to Magento 2 can be done in just a few simple steps. Here’s a closer look at some reasons to switch to the newer version of the platform and how to complete the Magento migration process quickly and simply!

Why Switch from Magento 1 to Magento 2?

Why transition from the older version of Magento to the newer one? Here’s how the Magento update can help your online store!

  • Significantly improved performance and scalability: With a Magento migration, your website pages can load quicker, the server response is boosted, proficiency of backend operations is enhanced, and enhanced database flexibility will be available to help your site deal with peak traffic times.
  • Improved and safer checkout: After a Magento 2 migration, your store visitors and customers can enjoy simple and safer checkouts. With visitors recognized as guests of the site, the need for logging in or registering is completely eliminated as users proceed to checkout. There’s also easy and seamless integration of convenient payment methods available.
  • Responsive and mobile-friendly designs: Another reason to take advantage of this Magento upgrade is that the new version of the eCommerce platform comes with responsive and mobile-friendly designs to suit your site’s visitors. By upgrading to a more mobile-friendly version of your website, you can tap into the rapid growth of mobile eCommerce to potentially boost your traffic and sales.

Other reasons why you should make the switch to Magento 2 include a simplified and more organized administrator interface, enhanced security, ease of upgrades, availability of useful extensions, instant purchases, email marketing automation, and more!

What is the Magento Migration Process?

In order to effectively complete a Magento migration, there are generally four different stages to complete for a successful switch to the newer version of the eCommerce platform:

  1. Data migration
  2. Extension migration
  3. Customizations migration
  4. Theme migration

Fortunately, there are tools available to help you effectively migrate data from one version of Magento to the other. This also applies to the extensions, customizations, and themes being currently used on your online store.

How to Migrate from Magento 1 to Magento 2

There are five steps in migrating from Magento 1 to the simpler and more efficient Magento 2. They include:

  1. Set Up the Magento 2 Instance
  2. Download the Magento Data Migration Tool
  3. Configure the Magento Data Migration Tool
  4. Provide All the Prerequisites
  5. Migrate Your Site

1. Set Up the Magento 2 Instance

This initial step starts with downloading the platform if you haven’t already, excluding the sample data. Then, go ahead to follow the setup wizard process to have the eCommerce platform installed.

2. Download the Magento Data Migration Tool

Having installed the platform, the next step is to download the data migration tool.

First, you’ll need to open the command line found in the root folder of Magento 2 and follow the ensuing command, making sure that the version of the migration tool matches with that of the platform.

When you’re prompted for public and private key for authentication, you'll need to login to your account, click on “My Accounts”, click on the developer link on the left-hand menu and finally click on security keys in order to find your keys.

With all the details filled in, a new folder named “data migration tool” is created in /vendor/magento/.

3. Configure the Magento Data Migration Tool

With the data migration tool downloaded, the next step is to configure the same. You’ll see three unique folders named:

  • ce-to-ce
  • ce-to-ee
  • ee-to-ee

The first one (ce-to-ce) contains scripts and configuration files for data migration from Magento 1 CE to Magento 2 CE.

The second folder (ce-to-ee) contains scripts and configuration files for data migration from Magento 1 CE to Magento 2 EE while the third folder (ee-to-ee) contains scripts and configuration files for data migration from Magento 1 EE to Magento 2 EE.

You’ll need to enter the directory for which the migration is being performed. For example, choose ce-to-ce and then ultimately enter the directory containing the Magento 1 version name.

The next thing to do is to make a copy of the file map.xml.dist and rename it map.xml.

<source>

<database host=”magento1host” name=”magento1databasename” user=”magento1databaseusername” password=”magento1password” />

</source>

<destination>

<database host=”magento2host” name=”magento2databasename” user=”magento2databaseusername” password=”magento2password” />

</destination>

<options>

<source_prefix>magento1tablesprefix</source_prefix>

<dest_prefix>magento2tablesprefix</dest_prefix>

<crypt_key>f3e25abe619dae2387df9fs594f01985</crypt_key>

</options>

Make a copy of the file config.xml.dist and rename the same config.xml. Open the file and make the following changes:

  • For required values, enter the Magento 1 database details under source and in the destination, enter the Magento 2 database details
  • For crypt key-value, check the local.xml file in the Magento 1 instance directory found at app/etc/local.xml in tag

After taking .dist out from the file names, you'll need to rename them in the config.xml file in the options tab.

The file location is:

<options>

<map_file>etc/ce-to-ce/1.9.3.0/map.xml.dist</map_file>

<eav_map_file>etc/ce-to-ce/map-eav.xml.dist</eav_map_file>

<eav_document_groups_file>etc/ce-to-ce/eav-document-groups.xml.dist</eav_document_groups_file>

<eav_attribute_groups_file>etc/ce-to-ce/eav-attribute-groups.xml.dist</eav_attribute_groups_file>

<log_map_file>etc/ce-to-ce/map-log.xml.dist</log_map_file>

<log_document_groups_file>etc/ce-to-ce/log-document-groups.xml.dist</log_document_groups_file>

<settings_map_file>etc/ce-to-ce/settings.xml.dist</settings_map_file>

<customer_map_file>etc/ce-to-ce/map-customer.xml.dist</customer_map_file>

<customer_document_groups_file>etc/ce-to-ce/customer-document-groups.xml.dist</customer_document_groups_file>

<customer_attribute_groups_file>etc/ce-to-ce/customer-attribute-groups.xml.dist</customer_attribute_groups_file>

<delta_document_groups_file>etc/ce-to-ce/deltalog.xml.dist</delta_document_groups_file>

<order_grids_document_groups_file>etc/ce-to-ce/order-grids-document-groups.xml.dist</order_grids_document_groups_file>

<map_document_groups>etc/ce-to-ce/map-document-groups.xml.dist</map_document_groups>

<class_map>etc/ce-to-ce/class-map.xml.dist</class_map>

</options>

After the changes, it should look something like this:

<options>

<map_file>etc/ce-to-ce/1.9.3.0/map.xml</map_file>

<eav_map_file>etc/ce-to-ce/map-eav.xml</eav_map_file>

<eav_document_groups_file>etc/ce-to-ce/eav-document-groups.xml</eav_document_groups_file>

<eav_attribute_groups_file>etc/ce-to-ce/eav-attribute-groups.xml</eav_attribute_groups_file>

<log_map_file>etc/ce-to-ce/map-log.xml</log_map_file>

<log_document_groups_file>etc/ce-to-ce/log-document-groups.xml</log_document_groups_file>

<settings_map_file>etc/ce-to-ce/settings.xml</settings_map_file>

<customer_map_file>etc/ce-to-ce/map-customer.xml</customer_map_file>

<customer_document_groups_file>etc/ce-to-ce/customer-document-groups.xml</customer_document_groups_file>

<customer_attribute_groups_file>etc/ce-to-ce/customer-attribute-groups.xml</customer_attribute_groups_file>

<delta_document_groups_file>etc/ce-to-ce/deltalog.xml</delta_document_groups_file>

<order_grids_document_groups_file>etc/ce-to-ce/order-grids-document-groups.xml</order_grids_document_groups_file>

<map_document_groups>etc/ce-to-ce/map-document-groups.xml</map_document_groups>

<class_map>etc/ce-to-ce/class-map.xml</class_map>

</options>

4. Provide All the Prerequisites

Before proceeding with the rest of the Magento 2 migration, it’s important that you do all of the following:

  • Suspend all current activities ongoing on Magento 1
  • Suspend all cron jobs ongoing on Magento 1 and set the site on maintenance mode
  • Open the ports in your firewall to enable effective communication between the migration tool and the databases and also so that the databases of both Magento 1 and 2 can effectively communicate
  • Migrate your site’s theme to the Magento 2 theme structure
  • Migrate all the Magento customizations and extensions from Magento 1 to Magento 2
  • Make a backup of Magento1.x database, just in case of unexpected complications

5. Migrate Your Site

It’s now time to complete the migration to Magento 2.0!

In order to migrate your site, online store, and its attendant system configurations like shipping, payments, tax settings, and the like, be sure to use this command to run in the Magento 2 instance:

bin/magento migrate:settings [-r|–reset] {<path to config.xml>}

[-r|–reset] is an optional command that starts the migration from the beginning.

{<path to config.xml>} is the absolute path used in configuring .xml file and is a required field

Your command is:

sudo bin/magento migrate:settings /var/www/magento2/vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.0.1/config.xml

The moment this is done, the status will show thus: “migration complete”.

The next thing to do is run the data migration command like this:

bin/magento migrate:data [-r|–reset] {}

Your command is:

udo bin/magento migrate:data /var/www/magento2/vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.0.1/config.xml

The aim of this Magento 2 migration command is to check the consistency of fields and tables between the former version and the present version of Magento. Should there be any errors, it will show in the form of a message, listing the fields and tables that are yet to be mapped.

The solution to this problem is the installation of the Magento 2 version of the extensions in the same version instance. This way, the missing fields, and tables are replicated in the Magento 2 instance database.

Magento Migration: Follow the Right Steps

Migrating from Magento 1 to Magento 2 can help your eCommerce efforts greatly, including boosting your site’s performance, improving security for your online shoppers, and offering a more responsive, mobile-friendly website design. In this day and age, all of these are a must!

Easyship integrates with Magento online stores, helping your eCommerce business take advantage of our discounted courier rates, tax and duty automation, shipment tracking, label generation, and more.

Interested in learning more? Sign up for a free Easyship account today to integrate your Magento store with us and see why more than 40,000 clients worldwide have come to trust us with their eCommerce and logistics needs!

TABLE OF CONTENTS

Key Points:

  • Migrating from Magento 1 to Magento 2 can be done in just a few simple steps
  • Migrating from Magento 1 to Magento 2 can help your eCommerce efforts greatly, including boosting your site’s performance, improving security for your online shoppers, and offering a more responsive, mobile-friendly website design
  • Easyship integrates with Magento online stores, helping your eCommerce business take advantage of our discounted courier rates and shipping tools
Get Your Ship Together.

By submitting the form, you agree to receive marketing emails from Easyship.

Save up to 91% on Shipping. Try for free.

Effortlessly compare 550+ courier services with one global account. Instant discounts. Start in minutes.

Shipping Internationally? Unsure What Tariffs or Duties Apply?
Try our FREE Tax & Duty Calculator

Trying to stay up to date on the latest cross-border shipping and import requirements? Get an instant estimate of all applicable taxes and duties for every country across 220+ global destinations or sign up and take advantage of our in-built HS Code lookup tool.

Calculate Tax & Duties Instantly (Free Tool)
Ready to Stop Overpaying for Shipping?
Try our FREE Shipping Rate Calculator

Looking for the cheapest way to ship a package? Get an instant shipping quote and compare rates from 550+ courier services across the United States, Canada, UK, Australia, and more. Simply add your package size and delivery location, and you'll find the best deal in seconds.

Calculate Rates Instantly (Free Tool)
Planning Your Campaign?

Get in touch with us now and our shipping consultants can give you a detailed quote and additional info to help with your campaign.

Get in touch
The Cheapest Shipping from USPS, UPS & FedEx

Find the guaranteed cheapest rates for any courier in seconds with Easyship’s free shipping rate calculator. Compare discount rates from USPS, UPS, FedEx, and 250+ couriers at a glance.

GET RATE QUOTES FREE
The Cheapest Shipping from USPS, UPS & FedEx

Find the guaranteed cheapest rates for any courier in seconds with Easyship’s free shipping rate calculator. Compare discount rates from USPS, UPS, FedEx, and 250+ couriers at a glance.

GET RATE QUOTES FREE
Get in touch with our fulfillment experts!

We believe simple pricing is the best pricing. Get a quote with a simplified pricing structure and no hidden fees.

Contact us
Need help fulfilling your crowdfunding campaign?

We provide the necessary tools needed to keep you on budget for shipping and to safely deliver your product to backers around the world.

Learn more
Try our duty & tax calculator!

Need to estimate your shipping duties & taxes? Our calculator can give you an idea of what to expect.

TRY IT NOW
Save up to 91% on Shipping. Try for free.

Compare 550+ courier services with one global account. Start in minutes.

GET STARTED FOR FREE
Get a Free Quote for Your Campaign

Receive a personal cost estimate for your crowdfunding campaign from our trusted global fulfillment partners. Easyship is a certified Indiegogo partner.

GET FREE QUOTE
Looking for great rates from a top courier?

Save up to 74% on UPS shipping rates by shipping with Easyship. You can run a quote and generate your first shipments in literally minutes!

SHIP WITH UPS TODAY
The cheapest way to ship for eCommerce

Get instant access with volume-discounted shipping rates. Save up to 89% off on USPS, UPS, FedEx, and more. Easyship is free for 50 shipments each month.

SIGN UP FREE TO SAVE
Find your perfect fulfillment partner with expert help

Let Easyship connect you to the largest shipping and fulfillment network on Earth. You’ll find trusted partners for all things logistics. Guidance is free from our global shipping experts.

ASK AN EXPERT
Don’t miss our money and time-saving features!

Explore the powerful features that 100K+ merchants use to ship smarter, not harder. Shipping automation, live rates at checkout, live duty and tax – all free to try with Easyship.

EXPLORE ALL FEATURES
Start saving on shipping in seconds

Create your free Easyship account to streamline shipping and save with discounted rates. No hidden fees. No minimums. Just savings.

CREATE YOUR FREE ACCOUNT
Create Your Shipping Policy Free

Use our guided walk-through to build the perfect shipping policy for your eCommerce business.

CREATE YOUR POLICY FREE
Looking to intergrate your Shopify store?

With 550+ pre-negotiated shipping services available with discounts of up to 91%, you can save time & money today when you integrate your Shopify store with Easyship

REGISTER FOR FREE
Use Easyship Free Every Month

Easyship is free to use for 50 shipments every month. You’ll save big on our discounted shipping rates up to 91% off, and save time with smart automation. Signup is fast and free.

CREATE YOUR FREE ACCOUNT
Don’t miss the key steps to fulfillment success

Follow the easy path to fulfillment success. Easyship’s free fulfillment checklist provides a proven step-by-step so you can ship at scale without the guesswork.

VIEW THE CHECKLIST
Ship for less with any courier, guaranteed

Save up to 89% off all shipping rates. Easyship offers the guaranteed cheapest volume-discounted rates on the market from USPS, UPS, FedEx, and 250+ global couriers.

SIGN UP TO SAVE
Don’t miss all our money and time-saving features!

Explore the innovative features that 100K+ merchants use to ship smarter, not harder. Shipping automation, live rates at checkout, live duty and tax – all free to try with Easyship.

EXPLORE FEATURES
Want the cheapest rates?

Register for an Easyship account today and you will gain access to the cheapest rates, instantly.

REGISTER FOR FREE
Watch out for international duty and tax!

What exactly does it cost to ship cross-border? Use the free duty and tax calculator from Easyship to view accurate import costs for any shipment to anywhere.

USE FREE
Protect Your Crowdfunding Budget from Cost Creep

Prices are rising, deliveries are slowing. Get up to speed on the state of crowdfunding shipping with expert Easyship analysis and keep your campaign on budget.

LEARN MORE
Discover the Cheapest Shipping from USPS, UPS & FedEx

Find the guaranteed cheapest rates for any courier in seconds with Easyship’s free shipping rate calculator. Compare discount rates from USPS, UPS, FedEx, and 550+ courier services at a glance.

GET A FREE QUOTE
Discover Your Cheapest Way to Ship

Find the guaranteed cheapest shipping in seconds with Easyship’s free shipping rate calculator. Compare discounted rates from USPS, UPS, FedEx, and 250+ global couriers at a glance.

COMPARE RATES FREE
Compare the best rates in seconds

Get an instant estimate of the cheapest shipping rates with our free calculator tool.

GET FREE RATE QUOTES
Save money on every shipment

Save up to 91% off shipping with Easyship’s discount courier rates. Create your free account to save instantly on 550+ courier services, including USPS.

CREATE YOUR FREE ACCOUNT
Ready to ship internationally?

Get help from our global shipping experts on warehousing, global shipping and to connect with our network of trusted 3PLs.

GET FREE SHIPPING TIPS
How’s Your Covid Shipping Policy?

Use our free shipping policy generator to formulate your safest, most customer-friendly shipping policy in seconds.

GET YOUR SHIPPING POLICY
Try Pre-generated Return Labels For Free

Register for an Easyship account today and get 30-days access to a Premier plan with access to Pre-generated Return Labels.

Generate Return Labels Today
Discover the Cheapest Shipping from USPS, UPS® & FedEx

Find the guaranteed cheapest rates for any courier in seconds with Easyship’s free shipping rate calculator. Compare discount rates from USPS, UPS, FedEx, and 250+ couriers at a glance.

GET RATE QUOTES FREE
Get Up to Speed On Covid Shipping

Explore our Covid shipping resources to make sure your shipment arrives on time and in good condition.

LEARN MORE
Free Shipping for the Holidays 101

Learn how the leading brands offer free shipping, calculate costs, and ship on a budget for the holidays in our free shipping guidebook.

LEARN MORE
Your Perfect Shipping Policy, Ready in Minutes

Use Easyship’s free shipping policy generator to formulate your perfect holiday shipping policy for returns, tracking, and more. Just follow the prompts and you’re done!

GET YOUR SHIPPING POLICY
Scale Your Growth Internationally With Pro Tips

Learn how to ship internationally without missing a step. Our case studies show you proven tactics for shipping worldwide from Easyship users who did it right.

READ CASE STUDIES
No items found.
Share on:

Related Articles

No items found.