Migration

Magento to Shopware 6: data, passwords and SEO URLs

Shopware ships a Magento profile for its Migration Assistant. This guide reads its source: what it moves, how customers keep their passwords, what it does to your URLs, and why Magento 1 is a different job.

By Huzaifa Mustafa 7 min read November 9, 2026

The Quick Answer

Install the Magento profiles plugin next to the Migration Assistant, point it at the Magento 2 database, map taxes, payment and shipping methods, and run it on staging. Customers keep their passwords, and variants, tier prices and category and product URLs come across. CMS pages, promotions and every product type except simple, configurable and downloadable do not. Magento 1 is not supported by the current release.

Checked against: the tagged source of swag/migration-magento 14.0.0 (21 October 2026), Migration Assistant 19.0.0 and Shopware 6.7.16.0, November 2026. Everything below comes from that code, not from a vendor summary.

Unlike Shopify or WooCommerce, Magento 2 has an official route. Shopware AG publishes the Magento profiles as a plugin for the free Migration Assistant, and the plugin reads your Magento database directly.

The repository's README still says the plugin is in development. Treat the first run as a rehearsal on a staging copy, and expect to fix gaps by hand. The gaps are listed below.

Step 1: Check Your Magento Version

The plugin ships profiles for Magento 2.0, 2.1, 2.2, 2.3 and 2.4. Before it reads anything it looks for the store_website table. A database without it returns the error SWAG_MIGRATION_MAGENTO__NO_MAGENTO2_DATABASE and the run stops.

That is where Magento 1 ends. The changelog of version 11.0.0 says "Removed support for Magento 1.9", and version 14.0.0 contains no Magento 1 profile. Version 10.0.0 was the last tag that still had one, and it requires Migration Assistant ~15.0, while the current assistant is 19.0.0. It is not a supported pair.

Magento 1 stores: you have two routes. Upgrade to Magento 2 first and then run the profile, or write a custom export and import against Shopware's Admin API. Both are projects of their own, so scope them before you promise a date.

Step 2: Install the Plugin and Connect

Version 14.0.0 requires shopware/core ~6.7 and swag/migration-assistant ~19.0. Each plugin release pins one assistant line, so 13.0.0 pairs with assistant 18 and 12.0.0 with assistant 17. Install the Migration Assistant first, then the profile from the README:

git clone https://github.com/shopware/SwagMigrationMagento.git custom/plugins/SwagMigrationMagento
bin/console plugin:refresh
bin/console plugin:install --activate SwagMigrationMagento

The only gateway is local: the Shopware server opens a MySQL connection to the Magento database. The connection takes these fields:

  • Database: dbHost, dbPort (optional), dbName, dbUser and dbPassword. The Shopware server must be able to reach that host, so a read-only MySQL user and a firewall rule come first.
  • Table prefix: optional. If you set one, the factory checks that <prefix>customer_entity exists and refuses the connection otherwise.
  • Media: either installationRoot, the Magento root directory, or shopUrl. With an existing root directory the files are copied from <root>/pub. Without one they are downloaded from <shopUrl>/pub. With neither, the media is logged as missing.

Step 3: Know What Transfers

The data selections in the source cover languages, customer groups, categories, countries, currencies, the store structure (sales channels), customers, orders, media, manufacturers, property groups, products with variants, product reviews, SEO URLs, newsletter recipients, cross-selling and product custom fields.

Before the run, the premapping step asks you to assign Magento values to Shopware ones: taxes, payment methods, shipping methods, order and delivery states, salutations, customer groups and the newsletter status. Fill it in with the finance team, because order history only makes sense if the states line up.

What the plugin has no reader for matters more than what it has. The source contains none for CMS pages and blocks, promotions and cart price rules, or wishlists. Plan to rebuild those in Shopware by hand.

Step 4: Products, Variants and Prices

The product reader selects only three types: simple, configurable and downloadable. Bundle, grouped and virtual products are never read. Count them in Magento before you promise a catalogue:

SELECT type_id, COUNT(*) AS products
FROM catalog_product_entity
GROUP BY type_id;
  • Configurable products become a Shopware parent. The simple children found through catalog_product_relation become its variants, and the super attributes become the configurator settings.
  • Tier prices from catalog_product_entity_tier_price become Shopware advanced prices for the mapped customer group, with each quantity range ending one below the next.
  • Special prices become the live price, and the old price moves to the list price, which Shopware shows struck through. The converter drops special_from_date and special_to_date, so a special price whose end date has passed arrives as a permanent sale price.
  • Stock comes from cataloginventory_stock_item, and the minimum and maximum sale quantity settings of the inventory configuration are read as well.

Important: clear or correct expired special prices in Magento before the run, then spot-check ten products with a sale price afterwards.

Step 5: Customers Keep Their Passwords

This is the one place where Magento is easier than Shopify. The customer converter keeps the Magento hash and names the encoder that can check it. This is the logic of Magento2CustomerConverter::setPassword, shortened:

// the Magento hash looks like hash:salt:version
[, , $version] = \explode(':', $data['password_hash'], 3);

$converted['legacyPassword'] = $data['password_hash'];
$converted['legacyEncoder']  = Magento2Sha256Encoder::NAME;   // default
if ($version === '0') { $converted['legacyEncoder'] = Magento2Md5Encoder::NAME; }
if ($version === '2') { $converted['legacyEncoder'] = Magento2Argon2Id13Encoder::NAME; }

On the first login, Shopware's AccountService sees the legacy password, checks it through the named encoder, rehashes it with the current algorithm and sets legacyPassword and legacyEncoder to null. Nobody has to reset anything.

Important: hashes with version 2 are Argon2id and need the PHP sodium extension on the Shopware server. Without it the converter logs "Password algorithm is not available, please install and activate sodium php extension", and those customers cannot log in with their old password. Check php -m | grep sodium before the run.

Step 6: SEO URLs and Redirects

The SEO URL reader pulls rows from url_rewrite, and the converter handles two kinds. A product row becomes a frontend.detail.page URL, a category row a frontend.navigation.page URL, and the Magento request_path is kept as the path, including a suffix such as .html. Category URLs and product URLs without a category path are marked canonical and modified, and Shopware's own URL generation never overwrites a modified SEO URL.

Everything else is dropped. The converter ignores redirect_type, so a 301 row for a product is treated like any other URL of that product. A row that is neither a product nor a category, such as a CMS page or a custom redirect, is logged as an unsupported object type and skipped. See how many rows that affects:

SELECT entity_type, redirect_type, COUNT(*) AS urls
FROM url_rewrite
GROUP BY entity_type, redirect_type;

CMS page rewrites and the custom redirects your team added by hand need 301 rules in the web server or CDN. Crawl the live Magento shop first and test the finished map against staging with the loop in the Shopware 5 to 6 guide. The WooCommerce guide shows the same map for a different platform.

Step 7: Rehearse on 14.0.0 or Newer

Run the whole migration on a staging copy of Shopware first, then read the Assistant's log before anyone looks at the shop. The 14.0.0 changelog is a list of what earlier versions got wrong: media download errors, category images, a fatal error when reading through the local gateway on Shopware below 6.7.8.0, orders in the shop's base currency arriving with a currency factor of 0, and locales with a script subtag such as zh-Hans-CN. Do not start on an older release.

Run it a second time close to launch, on a fresh staging copy. You learn how long the transfer takes, and what changed in Magento in the meantime. Open orders, new customers and late price changes are the usual suspects. Plan a content freeze in Magento between the final run and the DNS switch.

Key Takeaways

  • The official route covers Magento 2.0 to 2.4 only. Magento 1.9 was removed in plugin version 11.0.0.
  • Count product types first. Only simple, configurable and downloadable products are read.
  • Customers keep their passwords through a legacy encoder, but Argon2id hashes need the sodium extension.
  • Only product and category URLs carry over. Rebuild CMS page URLs and custom redirects as 301 rules, and fix expired special prices before the run.

Frequently Asked Questions

Does Shopware have an official Magento migration tool?

Yes, for Magento 2. The Magento profiles plugin (swag/migration-magento) works with the free Migration Assistant and covers Magento 2.0 to 2.4. Version 14.0.0 requires Shopware ~6.7 and Migration Assistant ~19.0.

Can I migrate from Magento 1 to Shopware 6?

Not with the current plugin. Support for Magento 1.9 was removed in version 11.0.0, and the plugin rejects a database that has no store_website table. A Magento 1 store needs a Magento 2 upgrade first, or a custom export and import.

Do Magento customers keep their passwords after the migration?

Yes. The profile stores each Magento hash as a legacy password with a matching legacy encoder (MD5, SHA-256 or Argon2id). At the customer's first login Shopware verifies the old hash and replaces it with its own. Argon2id hashes need the PHP sodium extension on the Shopware server.

Does the Magento profile migrate CMS pages and redirects?

No. It has no reader for CMS pages or blocks. For SEO URLs it writes the request path of product and category rewrites and skips every other rewrite type, so custom redirects and CMS page URLs need 301 rules of their own.

Written by

Share:

Planning the Move from Magento?

Send us your Magento version, store URL and a rough count of products, customers and orders. We'll tell you what the profile covers and what needs custom work.