Magento 1 to Magento 2 migration in weeks: the six steps
I know a US store that sells water filters. One developer moved it from Magento 1 to Magento 2.4.7 by hand, and it took a year and a half. The same move, done as six steps on a clean Magento 2 install with Adobe's Data Migration Tool and the AI delivery workflow I built on Claude Code, takes weeks, and the Magento 1 store keeps selling until the day of the switch.
I am Oleksandr Osadchyi, an ex-Magento 2 core engineer with 13 years on Magento stores and a Claude Certified Architect — Professional. My commits are in the public magento/magento2 repository.
The year and a half
The owner did what most owners do: hired one developer and asked for the store on Magento 2. What followed is the usual shape of a hand-made migration.
- One person, everything by hand: the data, the extensions, the custom code, the theme.
- Each piece that was fixed broke the piece next to it.
- Testing waited for the end, because one person cannot build and test a whole store at the same time, and what was broken was found on the live store.
I do not blame the developer. Magento 2 is a different platform, and one pair of hands doing everything in sequence is slow anywhere. The process below removes the sequence and most of the hand work.
The process
Six steps. Each one ends with something you can open on staging, and the next one starts only when the previous one is checked.
- A clean Magento 2 install and a fresh database. I install the latest Magento 2.4.x Open Source into an empty database on a staging server. Nothing from the old store is copied at this point: no old tables, no leftover modules, no patched core files. This is why the rest goes fast. Every later step lands on a known base, and Magento 2 behaves the way its documentation says it does.
- Data migration with Adobe's Data Migration Tool. Settings first, then the data: products, categories, customers, orders, invoices, CMS pages and blocks, cart price rules. The tool version matches the Magento 2 version, and its config points at the Magento 1 database and the fresh one:
bin/magento migrate:settings vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.4.5/config.xml bin/magento migrate:data vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.4.5/config.xml1.9.4.5is the Magento 1 version; the tool has a folder for each one, with aconfig.xml.distto copy. Tables added by Magento 1 extensions get a mapping file. The tool reads the Magento 1 database and writes into the fresh one, and from this run on it keeps a log of what changes in the Magento 1 database. The Magento 1 store keeps selling the whole time. - My workflow moves the extensions. For each Magento 1 module there are two paths: the Magento 2 version of the same extension, installed with Composer, or the custom code rewritten as a Magento 2 module. The rewriting is done by the agents in my workflow, one ticket per module. They read the Magento 1 module and write the Magento 2 module:
di.xml, plugins and observers instead of class rewrites,db_schema.xmlfor its tables, unit tests for the logic, and the tests run before the ticket reaches me. I review every line before it is merged; I know what the Magento 2 core expects because I wrote parts of it. The workflow is described in the next section, and the setup is in a separate note. This is the step that ate most of the developer's year and a half, and it is the step that changed most: a module that was weeks of hand work is hours of agent work plus a review. - My workflow moves the theme. The design is rebuilt as a Magento 2 theme with the same look: the layouts, the templates, the styles, the JavaScript. The agents take the Magento 1 templates and the design as input, one template area per ticket, and produce the theme; I review it the same way as the modules. The staging storefront looks like the store your customers know, running on Magento 2.
- Test on staging. You open the staging store and click through it the way your customers and your team do: browse, search, add to cart, check out, pay with the test gateway, receive the order emails, open the order in the admin, ship it, refund one. Whatever is wrong goes back one step and is fixed there. The full store is tested here, before anything goes live.
- Delta migration right before release. Orders, customers, product and stock changes have kept arriving on the Magento 1 store since step 2. One command pulls them into the fresh database:
It can run more than once. The last run happens inside a short freeze of the old store, then the DNS switches and the Magento 2 store is live with every order placed up to that minute.bin/magento migrate:delta vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.4.5/config.xml
The workflow behind the speed
Steps 3 and 4 are where a hand-made migration loses its months, and they are where my workflow does most of the work. It is a built and tested AI delivery workflow for Magento 2, running on Claude Code. Every module, integration and template area of your store becomes a ticket, and every ticket goes through the same pipeline.
- A pipeline per ticket: analysis, code, tests, review, release. A ticket moves on only when the stage before it has passed.
- Agents with defined roles. One reads the Magento 1 code and writes the plan, one writes the Magento 2 code, one writes and runs the tests, one reviews the diff without the others' conclusions.
- Magento-specific skills and rules: how a plugin is written, how a module is declared,
db_schema.xmlinstead of install scripts, no directObjectManager, PHPCS with the Magento2 standard, thebin/magentocommands to run after each kind of change. - Hooks that block unsafe actions. Edits under
vendor/, which holds the Magento core, are denied, and a command aimed at a production server is stopped before it runs. - Tests on every ticket: PHPCS clean, unit tests for the logic, integration tests for anything that touches the database,
setup:upgradeon a fresh database copy. - Agents that keep working around the clock. Tickets are queued, the agents work through them 24/7, and in the morning I review the diffs, send back what is wrong and release what passes.
Installing Claude Code with a $20 or $100 subscription gives you an assistant in a terminal. It does not give you the pipeline, the Magento rules, the hooks, the tests, or the engineer who knows the Magento 2 core and reads every line before it is merged. The speed comes from the whole system, and the system took real work to design and to prove on real tickets.
I designed it as a Claude Certified Architect — Professional, certified by Anthropic, and I built it for Magento the way I built Magento modules for years. Put the parts together: an ex-Magento 2 core engineer who knows what the platform expects, an Adobe Certified Master in Adobe Commerce architecture, a Claude Certified Architect who designed the workflow, and the workflow itself running day and night. That combination is why one person can do this migration, and why it takes weeks. With it I close 4 to 5 tickets a day, 20 to 30 a week.
Old way and this way
| Old way | This way | |
|---|---|---|
| Who does the work | One developer, everything by hand | My AI delivery workflow writes and tests around the clock, an ex-core engineer reviews every line |
| Starting point | The old code and data carried over and fixed in place | Clean Magento 2 install, fresh database |
| Testing | At the end, on the live store | On staging after each step, plus a full run before release |
| Orders during the project | Chased by hand at the end | One delta run right before the switch |
| Timeline | 18 months for the water-filter store | Weeks |
What you get
- A fixed scope before work starts. I make an inventory of the Magento 1 store: extensions, custom modules, rewrites, edited core files, the theme, integrations. You get the list with an hour estimate per item, and the items I think you should drop.
- A staging Magento 2 store you can open at any time, from step 1 on.
- Your Magento 1 store keeps selling until the switch. The freeze at the end is short, and the delta run brings over every order placed before it.
- A clean result: the latest Magento 2.4.x Open Source, your modules in your own repository, nothing patched in the core.
- Hourly billing, and you pay only for hours worked. The rate is on the pricing page.
Send the store URL to alex@osadchyi.dev and I come back with the inventory and the estimate.
FAQ
How long does a Magento 1 to Magento 2 migration take?
By hand, with one developer, it can take a year and a half; the water-filter store is one case. With a clean install, the Data Migration Tool, my AI delivery workflow for the extensions and the theme, and a delta run before release, a store with a few standard extensions and a stock theme moves in weeks. A store with a lot of custom JavaScript, checkout changes and custom modules takes longer, because every piece has to be rewritten and tested again so nothing breaks on the live store. That is why I do not quote a total before I have counted the store; the inventory gives you an hour estimate per item before work starts. If the move is some months away, patch the current store first; the steps are in How to upgrade Magento 1 to OpenMage 20.19.0.
Does my data move, including orders placed during the project?
Yes. The Data Migration Tool moves settings, products, categories, customers, orders with their invoices, shipments and credit memos, CMS pages and blocks, cart price rules, reviews and wishlists. Orders, customer accounts and stock changes that arrive on the Magento 1 store while the work is going on come over with the delta run right before release. Product images and the other files under media are copied separately; the tool does not move them. Tables added by Magento 1 extensions need a mapping, which is part of step 2.
What happens to my extensions?
Each Magento 1 module ends in one of three places: dropped because Magento 2 does it out of the box, replaced by the Magento 2 version of the same extension, or rewritten as a Magento 2 module by the agents in my workflow, with my review. You see the list with the mark for each module before work starts, and each rewrite is its own item with its own hours.
Can't I just buy Claude Code and do the migration myself?
You can buy it. A $20 or $100 subscription gives you a capable assistant in a terminal, and for small fixes on your own store that may be enough. It does not come with the per-ticket pipeline, the Magento rules and skills, the hooks that keep it out of vendor/ and away from production, the tests that run on every ticket, or a reviewer who knows the Magento 2 core and reads every diff. Without those you get Magento 2 code that compiles and misses what the core expects, and the first one to find the problems is the live store. I designed the workflow as a Claude Certified Architect and proved it on real tickets; that, together with the review, is what you hire.
Will the store look the same?
Yes. The theme is rebuilt on Magento 2 with the same design, and you compare the staging store with the live one page by page in step 5. If you want to change the design, this is a good moment, but it is a separate item in the scope; the default is the same look.
Do I need Adobe Commerce, or is Magento Open Source enough?
For most stores coming from Magento 1, Magento Open Source is enough, and the process above uses it. Adobe Commerce adds B2B features, customer segments, content staging, reward points and gift cards, plus Adobe's support, for a license fee. The Data Migration Tool has a config for that target too, under opensource-to-commerce, so the six steps stay the same. The trade-offs are in leaving Adobe Commerce Cloud.