General Questions

How to install Cart2Cart Magento® Upgrade module on Magento 2?

Installing the Cart2Cart Magento Data Migration Module via Command Line Interface

Note: This installation method is applicable for all Magento versions.

* = In production environments, please use the --keep-generated option.

Method 1: Installing the Magento Data Migration Module from a Zip File

Before proceeding, please download the Cart2Cart Magento Data Migration module.

1. Unzip the file into the app/code/Cart2Cart/MigrationFromMagento directory.

2. Enable the module by running: php bin/magento module:enable Cart2Cart_MigrationFromMagento

3. Apply database updates by running: php bin/magento setup:upgrade

Apply database updates for Magento data migration

4. Flush the cache by running: php bin/magento cache:flush

Flush the cache after Magento data migration module installation

5. Run: php -f bin/magento setup:di:compile (This command may require increasing the memory_limit PHP directive).

Magento setup di compile command

View of the Installed Magento Data Migration Module in the Admin Panel:

Installed Magento data migration module in Admin Panel

Method 2: Installing the Magento Data Migration Module using Composer

Note:

Please ensure you have access keys. If you don’t have them yet, please generate them from your Adobe Commerce Marketplace account.

*For detailed instructions, see DevDocs.

1. Make the module available in a composer repository. For example:

  • private repository repo.magento.com
  • public repository packagist.org
  • public GitHub repository as VCS

2. Add the composer repository to the configuration by running: composer config repositories.repo.magento.com composer https://repo.magento.com/

Composer command for Magento data migration module

3. Install the module using Composer by running: composer require magneticone/cart2cart-migration-from-magento (If you’re asked to provide a username, please use the info from your Adobe Commerce Marketplace account - public key is your username, while the private key is your password).

Install Magento data migration module using Composer

4. Enable the module by running: php bin/magento module:enable Cart2Cart_MigrationFromMagento

Enable the Magento data migration module

5. Apply database updates by running: php bin/magento setup:upgrade

Apply database updates for Magento data migration

6. Flush the cache by running: php bin/magento cache:flush

Flush the cache after Magento data migration module installation

7. Run: php -f bin/magento setup:di:compile (This command may require increasing the memory_limit PHP directive).

Magento setup di compile command

View of the Installed Magento Data Migration Module in the Admin Panel:

Installed Magento data migration module in Admin Panel

Ready to migrate your data to Magento? Start your free demo now!


Do you need help? Contact our support team

Just set up the migration and choose the entities to move – the service will do the rest.

Try It Free

Delegate the job to the highly-skilled migration experts and get the job done.

Choose Package