2

What’s the recommended way to migrate users, orders, products including products variation... simply everything to Drupal Commerce 7?

10
  • 2
    Commerce Kickstart is just a preconfigured Drupal Commerce...
    – No Sssweat
    Commented Feb 8, 2016 at 11:22
  • Yes, that is correct. However I would like to start from scratch with modules I really need. Is it safe to move all required to from /profiles/commerce_kickstart/modules to sites/all/modules?
    – user32010
    Commented Feb 8, 2016 at 12:53
  • 1
    yes as long as your start from scratch is using regular Drupal 7 and not Commerce Kickstart.
    – No Sssweat
    Commented Feb 8, 2016 at 12:55
  • 1
    you need to migrate module it will help to transafer content form one database to another base using classes. Commented Feb 8, 2016 at 13:08
  • 1
    It seems to me that it would be easier to keep the Kickstart and just disable and uninstall all the extra stuff that you don't need.
    – No Sssweat
    Commented Feb 8, 2016 at 13:12

1 Answer 1

1

tl;dr - Essentially, you're building a new theme on top of a site that is populated with content:

  1. Find or create a new sub-theme (that doesn't use omega_kickstart as a parent).
  2. Create a new home page.
  3. Create new blocks for menus and taxonomy terms.
  4. Re-implement any social features you were using.
  5. Examine and fix any order, user, or content related problems.
  6. Enable the new theme and configuration.
  7. Disable all of the kickstart modules.
  8. Test and repeat until you're happy with the results.

More information:

Let's say you disable all of the Kickstart-specific modules by running these commands:

drush -y dis commerce_kickstart_block commerce_kickstart_blog commerce_kickstart_comment \
  commerce_kickstart_inline_help commerce_kickstart_menus commerce_kickstart_merchandising \
  commerce_kickstart_order commerce_kickstart_product commerce_kickstart_product_ui \
  commerce_kickstart_reset commerce_kickstart_search commerce_kickstart_slideshow \
  commerce_kickstart_social commerce_kickstart_taxonomy commerce_kickstart_user

And then you can disable the other modules:

drush -y dis commerce_kickstart_help commerce_kickstart_migrate

Here's a picture of what your site's homepage will look like if you afterwards (assuming you're still using the same base theme):

Commerce Kickstart homepage, sans Kickstart. Menus are missing, and there is no content. Only the in-theme links and footers are still working.

You'll find that:

  • All of the home page content is gone.
  • The menus are gone.
  • The admin menus are damaged but usable. (There appears to be a one-pixel line at the top of the page that allows you to click on menu items unless your screen is extremely wide.)
  • All of the theming done for products is gone.

The good news is that:

  • All of your content is still there.
  • Links to existing products will work (albeit not as pretty).
  • Administrative functionality is A-okay.

Given the current situation, you'll probably want to go ahead and create a new theme. I suppose you could sub-theme the existing theme, but I'm not sure why you would given that everything is now broken.

The homepage will also need to be replaced. Views, panels, or a node would all be good choices, depending on your needs. The rest of the blocks and menus will also need to be created as blocks and re-added to your theme, but you'd need to do this anyway so it's probably not a big deal.

Any other customizations around comments, users, orders, etc. will need to be reevaluated and implemented as you see fit.

Once you're happy, you'll just need to test, test, and test some more to make sure you've cleaned up all the edges.

1
  • Sorry for my the delay in responding. nvahalik, thank you for your in-depth explanation. This is exactly I was looking for. I will let you know how it turns out.
    – user32010
    Commented Mar 10, 2016 at 10:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.