logo-blue

Merchant Login

How to Migrate from Shopify to Magento: A Step-by-Step Guide

Learn every step for how to fully migrate your ecommerce store from Shopify to Magento and the methods of transfer that are available to you.

Migrating your ecommerce store is a complicated, time-consuming task that has a big impact on the performance and functionality of your site. You can get access to more features, change the layout of your store, and improve the overall design.

We will help you decide if migrating from Shopify to Magento is ideal for you, and then walk you through each step. To make sure we cover what you need, you can find information on everything below:

Before we get into individual setup steps, let’s compare the two services and look at the benefits of migrating to Magento.

Pros and cons of switching to Magento: things to consider

Shopify and Magento are two of the most well-rounded and popularly used ecommerce platforms on the market today. Typically, Shopify is more well-known for servicing mid-market business and Magento for servicing larger, enterprise level business. Depending on where your business is – or where it’s headed – you may benefit from a tool designed for larger business with more features.

Here are some of the main pros and cons of switching from Shopify to Magento:

Magento pros:

  • Designed to be feature-rich and give retailers full-customization and control over the ecommerce site they develop for their customers
  • Easily develop a mobile-friendly site that is optimized for ecommerce best practices
  • Built with SEO in mind, so that you can build authority with on and off-page SEO
  • Open-source version makes customizing your template easy; build completely unique templates from scratch or build off existing templates
  • Magento has built in PCI compliance guidelines that help you effectively collect CC details and adhere to best credit card payment processing standards

Magento cons:

  • Greater cost and complexity involved with setup
  • Due to the high-level of performance, you should use a dedicated server to host Magento, which adds costs and operational processes
  • As a more challenging service to use with greater capability, support may be harder to find as there is a smaller pool of development talent

A comparison: the main differences between Shopify and Magento

This quick comparison should help you determine the main differences between the platforms. As migration is a big decision, you want to make sure you will be getting the features you want and fulfill the reasons you wanted to migrate in the first place.

You can compare Shopify and Magento quickly with the main aspects of your ecommerce store:

Table comparing main features of Shopify and Magento

Preparing to migrate from Shopify to Magento

Prior to starting the migration process, you need to properly prepare. Analyze what types of data you need to transfer, the organizational structure of the new site, and anything else that may impact the migration.

It’s important to plan the entire migration out ahead of time, as it is a complicated process. The more prepared you are, the easier it will be to carry out and the less errors you will encounter along the way.

Install Magento

To migrate store data to Magento, you first need Magento installed. We’ll help you do that:

First, download Magento from Magento’s website. From their downloads page, select the format that you want to use and click “Download” to advance.

Screenshot of Magento Tech Resource screen with Magento selected and Download button highlighted

Next, unzip the Magento file folder in the root or the folder where you want to install Magento. You can store this in the ‘htdocs’ folder on your local XAMPP server. Just find the file, right click on the folder, and click “Extract All” on a PC to unzip the file.

Screenshot of extracted zip file on server

To install Magento, you will need a database. Create a database for server hosting and name it as you prefer.

You can do this easily using phpMyAdmin. To begin, login to your phpMyAdmin.

Create a database by clicking “New” along the left sidebar.

Screenshot of phpMyAdmin dashboard with New button highlighted

The name of the database has to match the name of the Magento folder.

Screenshot of phpMyAdmin dashboard with database name field highlighted

That’s it! The database is all set up.

With the database created, you can now run the Magento installation. Go to the web browser and specify the URL of the Magento folder. Enter the URL, which will prompt the below screen. Click “Agree and Setup Magento” to start the installation process.

Screenshot of Magento Agree and Setup screen with “Agree and Setup Magento” button highlighted

You will be taken to the Magento Installer, which will verify data before the installation is finalized. We break down the 6 simple steps to install Magento so you can do this with ease.

1. Readiness Check

Before running the installation, Magento will determine if you are ready for the migration, verifying your hosting settings, PHP version, PHP extensions, compatibility, and file permissions. To start, click “Start Readiness Check.”

Screenshot of Magneto Installer Readiness check with Start Readiness Check highlighted

In the event of an error, the Magento Installer will notify you. Once the check has been successfully finished, click “Next” in the top right corner.

Screenshot of completed Readiness Check with results, and Next button highlighted

2. Add a Database

Here, you will enter the details of the database you set up for your Magento store. Input all details, including the Database Server Host, Database Server Username, Database Server Password, Database Name, Table Prefix, and more. After you’ve completed the form fields, advance by clicking “Next.”

Screenshot of Magento Installer Add a Database step with information input in necessary sections and Next highlighted

3. Magento Web Configuration

In this step, you will input website data to configure your site. Enter your Store Address, Magento Admin Address, Encryption Key type, and Session Save selections. Under Encryption Key, you can use a Magento generated-key or your own encryption key. After making all the site configuration selections, click “Next” to advance.

Screenshot of Magento Installer Web Configuration step with info input and Next highlighted

4. Customize your store

Now, you can customize your ecommerce store. Set the default time zone, currency, and language. These values can be changed later by accessing these settings. Use the drop-down menus to set:

  • Store Default Time Zone
  • Store Default Currency
  • Store Default Language

You can also use Advanced Modules Configuration to select or deselect specific modules that you would like to be set up or left for now.

Screenshot of Magneto Installer Customize Your Store step, with selections made, Select All checked for Advanced Module configuration, and Next highlighted

5. Create Admin Account

Here, you will set up your Admin account to manage your store. It’s important to remember these credentials, as you will use these to access your Magento backend. Choose a username, enter an email address, and enter a strong password. After you’ve finished, click “Next” to proceed.

Screenshot of Magento Installer Create Admin Account page, with info input and Next highlighted

6. Complete the Install

Now that we’ve made all necessary selections, the installation can be started. Click “Install Now” to start the process.

Screenshot of Magento Installer Install page, with Install Now highlighted

Once this completes, you will advance to a screen that gives you a breakdown of the installation. This page gives you all the information you need about your installation. After reviewing and recording all information, click “Launch Magento Admin.”

Screenshot of Magento Installer results page with Launch Magento Admin button highlighted

This will take you to the Magento sign in page. Enter your username and password to sign in, which will advance you to the Magento dashboard. Installation is now finished, and your Magento store access is working. From here, you can preview your website and begin managing your ecommerce site.

How to migrate from Shopify to Magento

Now that we’ve compared the platforms and outlined the benefits of switching to Magento, we’ll break down the process clearly so you can follow along and migrate Shopify to Magento correctly. Choosing the method of migration you use will come down to the level of experience and expertise you have, the time you can commit to the transfer, and the costs associated with migrating.

There are three main ways to migrate your store data.

  1. Manually migrate store data
  2. Use a migration app
  3. Hire a professional

1. Manually migrate store data

Export store data from Shopify

If you think you have enough experience and knowledge to do it yourself, you can manually migrate customer, product, and order data from Shopify to your new Magento store.

The first step is to export the CSV files for each type of data you need (products, customers, and orders). After you have these files, you will import them into your Magento store.

From the Shopify admin page, select “Products,” and click “Export” above the product list.

Screenshot of Products page with Import button highlighted

 

The “Export products to CSV file” window will pop-up. Select “All products” under “Export” and “CSV for Excel, Numbers, or other spreadsheet programs” under “Export as.” Once you’ve chosen all options, click “Export products.”

Screenshot of Export products to CSV file popup with All products selected and the Export products button highlighted

The CSV file that is exported will be emailed to the email account associated with your Shopify account.

You are able to export and import a variety of data types, including:

You need these CSV files in order to import the data to your new Magento store.

Repeat the process for customers and orders as well:

Screenshot of Customers page with Export highlighted

Screenshot of Orders page with Export highlighted

Import store data into Magento

Next, you’ll need to import data into Magento. This can seem complicated, but we’ve broken down each step to make it accessible.

Step 1: Prepare data for transfer

Using the Admin menu along the left sidebar, go to “System.” Under the Data Transfer heading, click “Import.”

Screenshot of Magento dashboard System screen with Import highlighted under Data Transfer heading

You will be taken to the Import screen. You will need to select a number of settings here before advancing. First, you want to select the “Entity Type” that you will be transporting, under the Import Settings heading. Choose the entity type that you are migrating, selecting from:

  • Advanced Pricing
  • Products
  • Customers and Addresses
  • Customers Main File
  • Customer Addresses

For this example, we will migrate Products; you will simply need to repeat the process for each entity type. After selecting the entity type, click “Download Sample File.”

Locate the exported CSV file in your file explorer and open the file you wish to import. The sample file will include column headings with placeholder data for example product types. Study the layout and structure of the sample file, using it to prepare your CSV import file. You can correct the column headings so they are spelled accurately and all data looks like it will be imported as you want it.

You should also verify that the import file size does not exceed the allowable limit. If it does, you will get a message warning you the file is too big.

If the import data has paths to product images, ensure that the image files are in the right place and have been uploaded properly, so that they will generate on the store. The default location for these on the Magento server is under: pub/media/import. If you have images stored on an external server, you will need the full URL to the directory that contains the images to properly access them.

Step 2: Choose the import data

You should still be on the Import screen. Now that we’re done with Import Settings, we can move on to the Import Behavior section.

Screenshot of Magento Import screen with list of available import settings

On the “Import Behavior” drop-down menu, select one of the following actions:

  • Add/Update
  • Replace
  • Delete

Next, set parameters for when an error occurs during data import under “Validation Strategy,” choosing between the following:

  • Stop on Error
  • Skip error entries

You can also set an error limit, so the import process will be automatically cancelled when it reaches this number of errors. Enter the number you want to be the threshold in the form field for “Allowed Errors Count.” The default allowed error count is 10.

As you are using a CSV file to import the data, ensure that both the “Field separator” and “Multiple value separator” fields have a comma (,) input. This is the default value, so you should accept the standard setting. This is because a comma is the default separator used in a CSV file. If your import file uses a different character, you should change the value to match the separating value used in the file.

To enclose special characters in the data as escape sequences, click to check the “Fields enclosure” checkbox.

Step 3: Identify the import file

Next, we will choose the file we are importing. Next to “Select File to Import,” click “Choose File.” From your file explorer, find the CSV file that you prepared for import and click “Open.”

Screenshot of file chosen into file explorer

On the “Images File Directory” field, input the relative path to the location where uploaded images are stored on the Magento server. For example, it may look like this: var/import.

Step 4: Check the import data

Now that you’ve made all the selections on the Import screen, you can click “Check Data” in the top right corner to advance. This will check your data, which will take a few moments to complete. 

If the import data is valid, you will see a verification message telling you that the “File is valid! To start import process press ‘Import’ button” under Validation Results. If you receive this message, your data is ready to be imported. Click “Import” to start the process.

Screenshot of Magento Import screen with validation results from a data check

If the import is invalid, errors will be listed under Validation Results. Correct each error listed, and then try to initiate the import again.

Once the data has been validated and you’ve chosen to import, the data will be imported. This process will likely take some time. If at any time an error occurs, an error message will appear under Validation Results. When this happens, correct the error listed and initiate the import again.

Now that you’re done, repeat the process for the different entity types you need to transfer.

2. Use a migration app

If manually migrating your ecommerce store from Shopify to Magento seems complicated, beyond your experience level, or you simply don’t have the time to dedicate to it, you could opt to use a migration app instead. Migration apps can be used to facilitate the migration process, often automating much of it for you. They break the process down into simple steps and make the transition accessible for those with little experience or knowledge of coding or data transfer.

There are a number of tools available, but a commonly recommended tool is Cart2Cart. We break down all the steps for migrating from Shopify to Magento with Cart2Cart later in this guide.

3. Hire a professional

If either of the options above seem too challenging or time-consuming for you to do yourself, you can always hire a professional. If you have a developer working for you already, you can get them to carry out the migration for you. You can also hire a team that specializes in ecommerce migrations or a third-party if you do not have a developer on-hand.

Professionals will likely have experience with migrating stores, and their expertise at coding and their understanding of these systems will make the process easier for them to complete. If you are wary of your own abilities, having your developer do the job will ensure that it’s done correctly and without data being missed.

With an understanding of how the backend works, they will be able to help transition you to the new store as well. They can guide you through how to manage your new Shopify store, so you waste less time figuring it out on your own.

Migrating from Shopify to Magento using Cart2Cart

Cart2Cart is by no means the only migration tool available. In fact, we’ve listed a number of other tools that can be used later in the article. Cart2Cart is a popularly used migration tool, and this example should help you understand the main process when using another migration tool as well.

The Cart2Cart plugin allows you to easily transfer various types of data from Magento to Shopify, including:

  • Product information (names, descriptions, SKUs, prices, weights, and variants)
  • Product categories (names, descriptions, URLs)
  • Customer information (names, emails, addresses, etc.)
  • Order information (IDs, dates, statuses, quantities, discounts, and shipping details)
  • Coupon information (names, codes, discounts)
  • Blog post information (titles, descriptions, dates, URLs, content, and images)
  • Page information (titles, dates, URLs, and statuses)

Cart2Cart’s tool also allows you to set up 301 redirects, which helps you retain domain authority and allow customers that have you bookmarked to easily find your site. This is also ideal for SEO, as you retain much of your SEO structure and settings.

To start, you will need to create an account on Cart2Cart. Once signed in on the Cart2Cart site, select the Source Cart to be “Shopify,” and select the Target Cart to be “Magento.” 

Screenshot of Cart2Cart source and target cart setup page, with source cart and target cart chosen

To proceed, you will need the API password from your Shopify store. Navigate to “Apps” and then click “Manage private apps” along the bottom.

Screenshot of Apps screen with Manage private apps button along bottom of screen highlighted

Click “Create a new private app” button.

Screenshot of Private apps screen with Create a new private app button highlighted

Enter the title of the app; we recommend labelling it Cart2Cart under “Private app name.” You can also input an “Emergency developer email” so that a developer is easily accessible in the event of a problem.

Next, change the permission status of all the available entities from “No Access” to “Read and write” (or “Read Access” if “Read and write” is unavailable). Check the box to “Allow this app to access your storefront data using the Storefront API.” When done, click “Save” to proceed.

Screenshot of Create private app screen where you can pick app settings

After saving these settings, Shopify will generate an API password for you. You can find these details under “Admin API,” where you will see your API key, Password, Example URL, and Shared Secret.

Screenshot of private app screen, where you get the Admin API key

Copy the API password and paste it on the Cart2Cart interface. Then click to choose entities that you want to migrate under “Select entities for migration.” In this case, you will select all. When ready, click “Next” to advance.

Screenshot of Demo Migration screen with options to select entities for migration

The migration process will now start, which will likely take time. Wait until the migration has completed.

Screenshot of demo migration in progress, showing you the stages of migration that have completed and the one that is in progress

After the migration is done, you will receive a summary of the results. This summary lets you check the list of migrated entities to make sure that everything transferred completely and correctly.

2 best tools to migrate from Shopify to Magento

There are tools to choose from to help you migrate from Shopify to Magento. These apps will help facilitate the migration process, breaking them down into easy to follow steps. They will typically automate many – if not all – of the steps in the process.

Below are the best apps to help you migrate from Shopify to Magento.

1. Cart2Cart

Cart2Cart tool

Transfer products, orders, customers, and other entities to your Magento store. Requiring just 3 easy steps, it’s accessible to those without programming experience. Simply download the app and let it do most of the work for you.

Unlike doing it yourself, you’ll have access to 24/7 customer support to help you with any problems that come up. You can run a free demo to make sure Cart2Cart can handle the migration, and will perform flawlessly.

Best used for: Automated, easy-to-use migration tool

2. LitExtension

LitExtension tool

LitExtension is an automated data migration tool that is designed with accuracy and security at the forefront. It ensures a complete, correct data transfer while still reducing the process to 3 simple steps. In just a few minutes, you can set up the migration process. With LitExtension, you can transfer an unlimited number of products.

This app can facilitate the migration of all data types, including products, orders, customers, and categories. You can use LitExtension to manage the entire process, from beginning to end for you, with high-quality security so you don’t lose data.

Best used for: Reliable, automated data transfer in simple steps

Now that we’ve covered the entire Shopify to Magento migration process, you should have your store fully transferred and operational. You can now get back to selling and improving your product line!

When looking for a checkout for your ecommerce store, consider using Bolt. Our checkout is designed with ecommerce best practices in mind so you can offer visitors a smooth, efficient checkout experience twice as fast as competitors. Our checkout included high-quality fraud management so that you can detect, protect, and prevent fraud on your platform.

If you enjoyed this post, share it.