I am using Magento data-migration tool and am able to do migrate all data successfully.

My requirement was to:

migrate only customers

migrate only Orders

migrate only Products

Followed below link and achieved migrate only customers.

Magento 2: is it possible to migrate only customer using migration tool

Followed below link and achieved migrate only Orders.

Magento 2: Migrate only Customer and orders

Can anyone help me how to migrate only products?

Referred some links but they are not useful.

If anyone worked on migration please help me to achieve above requirement.

Note: If there are any free migration script or migration can be done pro grammatically please share the links or ideas.

Migration can be done pro grammatically apart from the cli? If anyone tried this share the knowledge please



Please you can try migrate only products in this way:

1 backup your Magento2 database 2 in your tool > config.xml leave only "Map Step" and "ConfigurablePrices step" for mode="data". Like this

<steps mode="data">
        <step title="Map Step">
        <step title="ConfigurablePrices step">

3 instead of $sourceDocuments = $this->source->getDocumentList(); paste the next code

$sourceDocuments =

4 migrate data with --reset

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.