9

I'd like to migrate a client's site from Drupal 6 and Ubercart to Drupal 7 and Drupal Commerce. Is there an easy (i.e.: no manually munging data in the database) migration path? Do I need to go to Drupal 7 + Ubercart as an interim step?

4 Answers 4

6

The commerceguys who are behind Drupal Commerce, will surely make this in time. They have a lot of Drupal 6 UC sites, that they on some point would like to get into beta.

Having an upgrade path from Ubercart to Drupal Commerce, is a bit premature for now. Beta was only just recently launched, and some key features are still missing in core, like physical products and shipping.

Upgrading will not be an easy task either, since Commerce is quite different using the new entity API that's available inn Drupal 7. This means that products, orders, costumers, line items are all entities defined by Commerce.

If you want to upgrade a Drupal 6 UC to Commerce today, my recommendations would be to.

  1. Update the site to Drupal 7, (but don't install UC for Drupal 7)
  2. Define the product types needed by your site.
  3. Convert all product nodes by UC into Commerce product entities, and either delete them or change them to have a reference to the product (Custom code) - It depends on how you want to display your products. Usually, you either want to pull in the data to a node, or display the product entity with views.
  4. Convert order, line-item data from UC to commerce.
  5. Build the site and have fun.

Having just made a Drupal 7 commerce site from scrats and then converted a Drupal 5 -> Drupal 6 UC site. My take on commerce vs ubercart is that right now, commerce has a much stronger and well built core system, but UC has many more contrib modules with a lot of features. Depending on the UC you are converting, you might have you spend considerable time custom coding what you have in ubercart contrib.

My advise is, to go for commerce drupal 7, but wait a bit until it is more mature and has a better suported upgrade path from Ubercart.

1
  • see the resources mentioned below as this answer doesn't provide the most up-to-date information.
    – ryancross
    Sep 11, 2013 at 13:59
4

I don't think there is an easy no munging method to get to Drupal Commerce. Over time, someone will hopefully publish some MigrationDestination and MigrationSources that correspond with Commerce products and Ubercart products (orders, customers, etc) respectively for use with the Migrate module.

1

The documentation isn't complete on the official site and there are many bugs that you may need to consider before making a switch. Not all the critical bugs are fixed for the 7 branch and the list gets longer if you look for issues with ubercart.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.