Magento and WordPress (with WooCommerce) can both power an eCommerce website, and they have a lot in common. Both offer a solid structure for SEO, both have strong online communities where you can get help, and both come with a large range of themes. On top of that, both are open-source, PHP and MySQL-based systems that can be customized to fit your requirements.
In this guide, we compare the two briefly and then walk you step by step through moving your store from Magento to WooCommerce, either manually with CSV files or with a migration plugin.
In this guide:
- Magento vs WooCommerce: why migrate?
- Pre-migration steps
- Method 1: Manual migration with CSV files
- Method 2: Semi-automated migration with a plugin
- Before and after migration checklist
- Which platform is right for you?
Magento vs WooCommerce: why migrate?
Magento is a dedicated eCommerce system, originally built on a PHP framework called Zend Framework. It has every feature you need to run a full-fledged, complex online store: you can set up multiple local stores, charge customers in multiple currencies and customize the platform extensively.
However, Magento's codebase and admin are not very intuitive, and maintaining or customizing it takes specialist skills.
WooCommerce runs as a plugin inside WordPress, the popular open-source content management and blogging platform. WordPress lets you add functionality to your website by installing plugins, and while there are several eCommerce plugins available (such as Easy Digital Downloads), WooCommerce is the most popular and flexible of them.
One big advantage of WooCommerce is that it's easy to maintain and customize, and there are thousands of free plugins to cover different needs. If you want a lightweight, straightforward online store, WooCommerce can be a great fit.
So if your Magento site feels too heavy to maintain and customize, and you simply want to run a simpler store, migrating to WooCommerce is worth considering. Here's how to do it.
Pre-migration steps
Once you've decided to move from Magento to WordPress, complete these steps first so the migration runs smoothly:
- Get hosting and install WordPress: if you don't already have hosting for your new site, purchase it first. WordPress hosting is widely available, from inexpensive shared plans to specialized managed WordPress hosting.
- Install WooCommerce: next, install the WooCommerce plugin on your WordPress site.
- Install a migration plugin (optional): if you plan to use the semi-automated method, install a migration plugin such as Cart2Cart or FG Magento to WooCommerce.
Method 1: Manual migration with CSV files
The simplest way to migrate is with CSV files. You export your products, customers and orders from Magento as CSV files, then import those files into WooCommerce.
Step 1: Get the WooCommerce import tools
WooCommerce includes a free built-in importer for products (Products > Import). To import customers and orders as well, you need a paid import extension such as the Customer/Order/Coupon CSV Import Suite. To buy one:
- In your WordPress admin, go to WooCommerce > Extensions.
- Browse to the Import/Export category.
- Choose the import suite you need.
- You'll be taken to the official WooCommerce site to complete the payment, then install the extension on your store.
Step 2: Export CSV files from Magento
Next, create a CSV file for each type of data you want to move, such as products, customers and orders.
- Log in to your Magento admin.
- Go to System > Data Transfer > Export (in Magento 1, System > Import/Export > Export).
- Choose the Entity Type you want to export and set the Export File Format to CSV.
- In the Entity Attributes section, include or exclude the data you want in the export.
- Click Continue to generate the file.
Step 3: Import the CSV files into WooCommerce
Importing your products into WooCommerce is quick and straightforward:
- Go to WooCommerce > CSV Import Suite (or Products > Import for the built-in product importer).
- Click Import Products.
- Click Choose File and select the CSV file you want to import.
- Check the field mapping, so each Magento column lands in the right WooCommerce field.
- Click Upload file and import to complete the import.
Repeat the process for your customers and orders files.
Method 2: Semi-automated migration with a plugin
To migrate an eCommerce site from one platform to another, you need to move your products, images, categories, customers, orders and more. A migration plugin can do most of this for you. Use one of these:
Step 1: Install and configure the plugin
Install and activate your chosen plugin from Plugins > Add New in your WordPress admin. For FG Magento to WooCommerce, you'll find the importer under Tools > Import > Magento.
Step 2: Test the database connection
Enter your Magento site's URL and database details (host, database name, username, password and table prefix), then click Test the database connection to make sure the plugin can read your Magento data.
Step 3: Import the data
Fill in all the required details. The settings come with sensible defaults, which you can change to suit your needs. To learn what each option does, click the Help button on the plugin page and choose Options.
Once everything is set, click Start / Resume the import to begin the migration. It can take a while depending on the size of your Magento store, such as the number of products and images.
Step 4: Check the new site
When the import finishes, browse your new WooCommerce store and check that your products, categories, images, customers and orders all came across correctly.
Before and after migration checklist
Before the migration:
- Back up all the data from your Magento store.
- Let your customers and suppliers know about your plans.
- Choose the best time to migrate by checking when your visitor traffic is lowest.
After the migration:
- Set up 301 redirects from your old URLs, create a custom 404 page and generate a new sitemap.
- Ask your customers to reset their passwords, since passwords can't be carried over.
- Make sure all your data has migrated, and test your new store thoroughly before launch.
Which platform is right for you?
Magento and WooCommerce are both professional eCommerce solutions, and each has its pros and cons. There was a time when Magento was the leading eCommerce platform, but WooCommerce arrived in 2011 and has since proved to be the better option for many businesses.
In general, Magento is still the best fit for large enterprises or groups of online stores. If you're running an outdated Magento site, now is a good time to review which platform suits you best. For many merchants, migrating to WooCommerce is more cost-effective, and it's remarkably easy to use.