Vote up!
Vote down!

How to migrate ubercart products to drupal commerce where databases are different?


I have just 25 products in ubercart database and I want to import them to drupal commerce database. Both databases are different. If I set Key in settings.php of drupal commerce database for ubercart database and remove original settings of db, all products starts appearing where as if i set key in settings.php for database to import and database info of current database also, sites works fine but no product to migrate appears.

How to set external database to import in settings.php file and keep original database link to drupal commerce site where products to import.

Asked by: nirmal.sharma
on April 26, 2013

1 Answer

Vote up!
Vote down!

You will want to write migrations based on the Migrate module.
You need Migrate, Commerce Migrate, and Commerce Migrate Ubercart.

The Commerce Migrate Ubercart project page has a link to a screencast that should help you get started (as well as execute a test migration using the migrations we provide)

Bojan Zivanovic
Answer by: Bojan Zivanovic
Posted: May 7, 2013