Introduction: How to Transfer Magento to Magento 1.9 Automatically

About: I am Melanie Johnson, web developer at LitExtension, a provider of shopping cart migration tools & services.

Magento to Magento Migration Tool allows you to migrate Products, Orders, Customers, Passwords and Other Data automatically.

Magento data migration services: http://litextension.com/shopping-cart-migration/magento-to-magento.html

Step 1: Preparation

For Source Store:

  • Please ensure you have the right permission to upload files into your source store (Magento).
  • It must not block access from target store (Magento 1.9) to the connector.

Source store can operate normally during migration as it requires a very limited resource for the process.

PHP Compatibility: PHP 4.x or later.

For Target Store:

It is strongly recommended to backup Magento target store first.

  • Target store should be placed in a stable hosting or in localhost.
  • It also must not block connection to source store.
  • Webserver (mostly apache) should have full permission to write on /media folder.

PHP Compatibility: PHP 5.3 or later.

Magento Compatibility: 1.7 or later.

Required PHP extensions:

  • pdo_mysql
  • simplexml
  • mcrypt
  • hash
  • GD
  • DOM
  • curl
  • mb_strings

Required PHP configurations:

  • memory_limit no less than 256Mb
  • allow_url_fopen must be On
  • base64_decode should be allowed

Step 2: Setup

After downloading the product zip file from our store, please extract it into a folder. The module consists of two main parts: Magento Data Migration Module (“app” and “skin” folder for Magento 1) and “Magento_connector” folder

I. Target Magento Data Migration Module Setup

1. Check to see if Magento’s Compilation mode has been enabled. If it has, it’s vital to turn it off before installing an extension or making any code changes (go to System > Tools > Compilation).

2. Use upload file by ftp or uploaded directly to upload or copy all folders in the zip package to your Magento site root folder. This will not overwrite any existing files, just add new files to the folder structure.

3. If you are using Magento’s compilation mode, you need to hit the “Run Compilation Process” button to update the compiled state with the newly installed extension (go to System > Tools > Compilation).

4. Log into your Magento admin console and go to System/Cache Management. Click “Clear Storage Cache".

5. Log out admin panel and log in again.

II. Source Cart Connector

Setup Extract “Magento_connector” into Source Cart root folder. After finished please make sure Migration Connector can be reached at: http(s)://yourstore.com/magento_connector/connector.php

If you have any problem reaching the link please ensure you have htaccess configured correctly and the file has execution permission.

For security, please open connector.php, find this very first line:

define(‘LECM_TOKEN’, ‘123456’);

And change “123456” to another string, this will be used to enter to the Migration Form (Cart Token) and acts like “password” to prevent unauthorized data access to your source store.

Step 3: Plugins Setup

Plugins are purchased and setup separately into Magento Data Migration Module. They will provide additional functionalities to the tool. Normally plugins need to be customized and tweaked by LitExtension Team to fit customers requirements and will be sent to customers later on. There are a few types of plugin:

– Products and Categories SEO Urls Plugin: helps migrate Products and Categories urls.

– Custom Fields Plugin: help migrate custom fields from Magento to Magento. For example: adding fields to database tables, and also want to migrate these fields into Magento store.

– Customer Password Plugin.

Step 4: Migration Speed Optimization

For Source Store:

  • The faster Source store can be accessed, the faster migration speed will be.

For Target Store:

  • As migration process is processed mostly on Target store, it is critical to have a fast magento server. Recommended server configuration: 4 cores or higher, 4G memory or higher.
  • Compilation should be enabled to improve speed (System > Tools > Compilation).
  • Cache should be enabled to improve speed (System > Cache Management).

Step 5: Enter License Key

License Key is an encoded string which comes with your download package. This key is needed to activate your Magento to Magento Migration Tool

After purchasing the product, please login to our store and enter “My downloadable products” section. Here you will find download link and license key for the download package. Login your Magento Target Store backend, select Cart Migration > Configuration, and copy and paste your license key here

Step 6: Migration

Please login your Magento target store backend, select Cart Migration > Migration

1: Source Cart Configuration.

Cart Type: select corresponding source cart type (Magento)

Cart Url: source cart full URL

Cart Token: the token string which has been configured in connector.php

2: Migration Configuration

- Root Category: the category of current Magento store to import all source cart categories into.

- Product Attribute Set: select an Attribute Set which is used to import products, all necessary attributes in migration process will be created in to this set.

- Languages Mapping: If your source cart is multilingual, corresponding languages should be available in target store. You may need to create additional languages in Magento Store to avoid data loss.

- Currencies Mapping: Assign source cart currencies to proper target Magento store currencies. Creating currencies in Magento store may be needed.

- Orders Status Mapping: Assign source cart order statuses to proper target Magento store order statuses. Creating additional order statues in Target Magento Store may be needed.

- Entities to Migrate: select all entities to migrate or just a part of them.

Additional Options:

  • Migrate recent data
  • Clear current data on Target Store before Migration
  • Migrate categories and products SEO URL
  • Transfer images in product descriptions to Target Store
  • Preserve Customer IDs on Target Store
  • Preserve Order IDs on Target Store

3: Migration

The migration will take place automatically in this final step. In order for it to progress, you should not close your browser of remove Magento source cart Connector.

After the migration is completed, click on “Clear Cache and ReIndex Data” to finish. If you don’t want to run it right here or it returns false for any reason, you can do that manually in System > Cache Management and System > Index Management.

Step 7: Migration Resuming

When a problem occurring on the migration process, Magento data migration services provides the ability to resume the process:

Automatically resume on the spot: the tool will automatically resume after a failure until all data is imported.

Manually resume: you can refresh the page to go back to Step 1 and click on “Resume”, this is helpful when you want to temporarily stop migration and resume when you want to.