How to migrate from Drupal Commerce to OpenCart

The essence of LitExtension products focuses on their friendliness to users, which means that every shopping cart owners, even who has little knowledge of technology, can follow guidance and migrate data from Drupal Commerce to OpenCart easily. You are advised that need not to consult any other sources except this understandable step-by-step guide below.

1. Preparation for Drupal Commerce & OpenCart Stores.
  • Please ensure you have the right permission to upload files.
  • It must not block access from any third party IP.
  • Drupal Commerce and OpenCart Stores can operate normally during migration as it requires a very limited resource for the process.
  • PHP Compatibility: PHP 4.x or later.
  • It is strongly recommended to backup OpenCart first.
2. Setup

2.1. Cart Migration Setup:
Cart Migration is a web application, it will be installed automatically.

Please login to LitExtension and go to My Account > My Downloadable Products then click to the Hosted Tool link  to do fully automatic installations.

2.2. Drupal Commerce and OpenCart Store Connector Setup
After unzip the package module, go to folder “cartmigration_tool”, copy and upload “cartmigration_connector” into Drupal Commerce and OpenCart root folder. After finished please make sure Connector can be reached at:

http(s)://yourstore.com/cartmigration_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 Drupal Commerce store.

Note: please do not use special characters in token or else the migration tool might fail to work, it should contain number and alphabet characters only. Example:
– Good token: 12ab34cd56
– Bad token: #Fr35h#Mi!5

3. Extra Plugins Setup

Plugins are purchased and setup separately into Cart Migration. 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. Old urls will be saved in OpenCart Store and will be maintained to keep all current SEO ranking you have built up for years.
  • Custom Fields Plugin: help migrate custom fields from Drupal Commerce to OpenCart Store. This is useful in case customers have customized their store, for example: adding fields to database tables, and also want to migrate these fields into OpenCart Store.
  • Customer Password Plugin: special plugin which adds the ability to read passwords encrypted by Drupal Commerce to OpenCart. All passwords are migrated over and remains encrypted, customers can login to the new shop right away without the need of resetting passwords. To install, please Click Here or have a look at the read_me.txt in the Customer Password Plugin package.

Note: Plugins might not be available for some specific Drupal Commerce or OpenCart. Details setup instructions will be provided when you purchase the plugins.

4. Migration

Return to http://mycm.litextension.com/cm/abc/xyz , you are now at Step 1 (2.1 Section) of migration process.
The migration will go through 3 simple steps. Just hit “Next” when you finish one step to advance.

4.1. Step 1: Drupal Commerce and OpenCart Setup

Drupal Commerce setup
You must upload a connector as guided in 2. Setup. After you have done that, please enter the form:

 

– Cart Type: Choose ‘Drupal Commerce’
– Cart URL: Your Drupal Commerce URL
– Token: The token string which has been configured in connector.php

OpenCart Setup
Follow similar steps with OpenCart as in Drupal Commerce Setup

Target cart setup

4.2. Step 2: Migration Configuration

  • Select suitable Languages, Order Statuses and Currencies for OpenCart store.
    Languages Mapping: If your Drupal Commerce is multilingual, corresponding languages (or storeviews) should be available in OpenCart Store. You may need to create additional languages in OpenCart Store to avoid data loss.
    Currencies Mapping: Assign Drupal Commerce currencies to proper OpenCart Store currencies. Creating currencies in OpenCart Store may be needed.
    Orders Status Mapping: Assign Drupal Commerce order statuses to proper OpenCart Store order statuses. Creating additional order statues in OpenCart Store may be needed.
  • Select all data you want to migrate from Drupal Commerce to OpenCart.

Cart_Migration_Step2_1

  • Additional Options:
    Migrate recent data: In case Drupal Commerce is still live and continue getting new data during migration process, this option helps to migrate recent ones only without starting over again.
    Clear current data on OpenCart Store before Migration: All current products, categories, manufacturers, customers, orders, product reviews, taxes will be cleared in OpenCart if you choose this option
    Migrate products SEO URLs: SEO URL of Drupal Commerce will be preserved in OpenCart, allowing keeping Pagerank.
    Transfer images in product descriptions to OpenCart Store: Download all images in product description into OpenCart so that it won’t have to refer back to Drupal Commerce or anywhere else for images.
    Preserve Customer IDs on OpenCart Store: This will help to preserve your old Customer IDs for easier reference.
    Preserve Order IDs on OpenCart Store: This will help to preserve your old Order IDs for easier reference

Cart_Migration_Step2_2

4.3. Step 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 Drupal Commerce Connector.
After the migration is completed, click on “Clear Cache and ReIndex Data” to finish.

Cart_Migration_Step3

That’s all about migration process which can be carried out yourselves. Technical knowledge and skills are not necessary to use LitExtension shopping cart migration tools. Hope that with this detailed guide and attached video, online store owners don’t hesitate to try our live demo and decide to use our Drupal Commerce to OpenCart migration tool – optimized solution for your online business.

You can also consider to migrate Drupal Commerce to other target carts:

Migrate Drupal Commerce to Magento 

Migrate Drupal Commerce to WooCommerce

Migrate Drupal Commerce to Prestashop

Migrate Drupal Commerce to Shopify

Migrate Drupal Commerce  to BigCommerce

If you have any question, please feel free Contact us for more support.

Was this helpful ? Share with your friends ^^
Social media & sharing icons powered by UltimatelySocial