https://github.com/ecomdev/sync-magento-2-migration
Release of rough proof of concept from 2018 that allows to import and export millions of products quickly
https://github.com/ecomdev/sync-magento-2-migration
export import magento2 migration-tool
Last synced: 7 months ago
JSON representation
Release of rough proof of concept from 2018 that allows to import and export millions of products quickly
- Host: GitHub
- URL: https://github.com/ecomdev/sync-magento-2-migration
- Owner: EcomDev
- License: osl-3.0
- Created: 2020-08-24T15:42:04.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-24T14:58:40.000Z (almost 2 years ago)
- Last Synced: 2025-08-19T11:03:00.012Z (7 months ago)
- Topics: export, import, magento2, migration-tool
- Language: PHP
- Homepage:
- Size: 224 KB
- Stars: 59
- Watchers: 9
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Simple Import / Export tool
A tool that allows to quickly export data from Magento 1 and Magento 2 store and import it back into Magento 2.
Table data gets exported without the knowledge of the entity identifiers and delta imports get processed by related unique keys:
- Categories: id attribute (gets stored in map table)
- Products: SKU
- Customers: email + website
When you export data from your existing stores you can configure mapping and skipped row conditions by using configuration.json:
Here is an example of configuration.json that maps all manufacturer attribute code in product data into a brand
and skips.
```json
{
"product_data.csv": {
"map": {
"attribute": {
"manufacturer": "brand"
}
},
"skip": [
{
"store": ["pl", "sk"]
}
]
}
}
```
Also, you can add own mappers for exported files. Here is an example on mapping output of product attributes to create website level price instead of global during migration:
```json
{
"product": {
"mappers": {
"product_attributes": [
{
"class": "EcomDev\\MagentoMigration\\CustomMappers\\PriceMapper",
"setup": [
["withStore", "us_en", 1.0],
["withStore", "uk_en", 0.76],
["withStore", "eu_en", 0.89]
]
}
]
}
}
}
```
## Tests
Right now the automation suite might not run, as tool is released by stripping of all customer specific data from tests and codebase.
PRs to re-introduce test cases that has been removed are welcome.