magento / magento/data-migration-tool
How to migrate inventory data from an other source document?
- Dominant language
- PHP
- Stars
- 339
- Forks
- 195
- PR merge metrics
- No merged PRs in 30d
Description
Hi community, Hi @victor-v-rad,
I successfully migrated data from magento 1.9.2 to 2.3.5 - but due to a multi ware house extension used in magento source i have to pull inventory data from a different table than 'cataloginventory_stock_item'. The table structure is very similar to the one used in 'cataloginventory_stock_item', plus there is the field 'website_id' in it!
I found two locations in the following files were 'cataloginventory_stock_item' is defined:
src/Migration/Step/Inventory/Delta.php | Line 83
and
src/Migration/Step/Inventory/Model/SourceItem.php | Line 47
Is there a way to tell your migration tool to use my table instead, maybe per xml definition in map.xml or elsewhere... ?
Contributor guide
Research direction
Start with src/Migration/Step/Inventory/Delta.php at line 83 and src/Migration/Step/Inventory/Model/SourceItem.php at line 47, then inspect whether map.xml can configure the source table. Done means determining and documenting a supported way to migrate inventory from the alternate table, including its website_id field.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100