For established merchants, data isn't just data-it's a historical record, a repository of vital information built over years. But what happens when that record is complex, fragmented, or deeply customized? The challenge intensifies when upgrading core e-commerce infrastructure, demanding not just a transfer, but an intelligent transformation of this invaluable data.

A comic book illustration of a developer connecting tangled legacy Magento 1 product attachment data pipes to streamlined Magento 2 file structures, set against an industrial backdrop, symbolizing a complex data migration.
A comic book illustration of a developer connecting tangled legacy Magento 1 product attachment data pipes to streamlined Magento 2 file structures, set against an industrial backdrop, symbolizing a complex data migration.

The Situation

This week, we spotlight an established B2B industrial equipment supplier, a company whose online presence was a crucial hub for their customers to access not only products but also detailed specifications, manuals, and technical documents. Facing the imperative to modernize their digital storefront, they embarked on a critical move from MAGENTO to MAGENTO, specifically upgrading from an older Magento v1.x.x instance to the more robust Magento v2.x.x.

MAGENTO migration

The Unique Hurdle

While the core migration of entities like orders, customers, and standard products is a well-trodden path, this merchant presented a significant custom challenge: their existing Magento 1 store contained a wealth of essential product attachments. These weren't standard image galleries; they were critical documents like CAD drawings, safety data sheets, and installation guides, all managed through highly customized lanot_attachments_* tables in their Magento v1.x.x database. The goal was to not only migrate these attachments but to seamlessly integrate them into a new, structured system in Magento v2.x.x, specifically mapping them to the amasty_file, amasty_file_store, and amasty_file_store_product tables, ensuring every product retained its vital associated documentation.

The Strategic Solution

Our team, leveraging deep expertise in Magento's architecture and data structures, recognized this wasn't a job for off-the-shelf tools. We developed a bespoke migration script tailored precisely to the merchant's unique needs. This specialized script performed a meticulous two-phase operation: first, extracting all product attachment information-including names and file paths-from the custom lanot_attachments_* tables in Magento v1.x.x and adding it as a custom field during the product data export. Second, during the Magento v2.x.x import, it intelligently processed this custom attachment data, saving the files and creating the necessary records in the target amasty_file, amasty_file_store, and amasty_file_store_product tables. The final migration successfully moved 13504 total entities, ensuring every product on the new Magento 2 platform was complete with its critical documentation, just as it was before.

Key Takeaway

This case proves that a migration doesn't have to be 'all or nothing,' nor does it have to compromise on custom, valuable data. For merchants with unique data structures, legacy customizations, or specialized content like product attachments, a standard migration often falls short. This success story highlights the indispensable value of strategic, custom-scripted solutions that go beyond generic data transfers, preserving business-critical information and ensuring a truly seamless transition to a modernized platform.