How to Transfer VirtueMart to Magento 1.9 Automatically

by Ngoc AnhN1 in Design > Websites

13 Views, 0 Favorites, 0 Comments

How to Transfer VirtueMart to Magento 1.9 Automatically

virtuemart-to-magento-migration.jpg

Magento database migration tool supports developers and businesses to export store data from VirtueMart to Magento automatically.

Here is a user guide for how to transfer from VirtueMart to Magento.

LitExtension is a premier providers of best-in-class shopping cart migration service and enthusiastic support for online business. Automated shopping cart migration tool is good solution to save time in administrating website and developing business.

Preparation

How to migrate from VirtueMart to Magento with LitExtension

For Source Store:

Please ensure you have the right permission to upload files into VirtueMart store.

It must not block access from target 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 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

Setup

virtuemart-to-magento700-400.jpg

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 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.

Plugins Setup

migrate passwords to magento.jpg

Plugins are purchased and setup separately into Magento Data Migration Module. They will provide additional functionalities to the tool. There are a few types of plugin:

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

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

Magento Customer Password Plugin: In case your cart has changed, the Custom Fields plugin is designed to help you migrate your custom fields.

Migration Speed Optimization

osvn_developer.jpg

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).

Enter License Key

license key.jpg

License Key is an encoded string which comes with your download package. This key is needed to activate your VirtueMart 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.

Migration

one click to change.jpg

Please login your Magento Target Store backend, select Cart Migration > Migration

The migration will go through 3 simple steps. Just hit “Next” when you finish one step to advance.

1: Source Cart Configuration

  • Cart Type: select corresponding source cart type (VirtueMart)
  • 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 (or storeviews) should be available in Target Magento 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 Target 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: if you choose this option, it will migrate new data only. Supposed you have just finished a full migration from your current Source store to Target store, after that Source store is still live and continue getting new data, and you want to get your Target store updated with the new data, select this feature to avoid starting over again.

Clear current data on Target Store before Migration: if you choose this option, all current products, categories, manufacturers, customers, orders, product reviews, taxes will be cleared.

Migrate categories and products SEO URLs: if you choose this option, old SEF urls of source will be preserved in Target Magento Store, allowing you to maintain your Pagerank.

Transfer images in product descriptions to Target Store: download all images in product description into your store so that it won’t have to refer back to your source store or anywhere else for images.

Preserve Customer IDs on Target Store: this will help you preserve your old Customer IDs for easier reference.

Preserve Order IDs on Target Store: this will help you preserve your old Order IDs for easier reference


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 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.