Page cover

Adobe Commerce Marketplace (v.2.4) via the command line

Follow this guide to download and install the M2E Kaufland Connect extension into your Magento.

Download the extension from Adobe Commerce marketplace

Step 1. Log in to your Adobe Commerce Marketplace Customer Account.

Step 2. Find M2E Kaufland Connect in the Adobe Commerce Marketplace catalog and purchase the extension (it's free).

Step 3. Once your order is placed, click Install.

Step 4. Under Marketplace > Access Keys tab, click Create A New Access Key. The authentication keys will be generated automatically.

Installation

Step 1. Enable maintenance mode:

bin/magento maintenance:enable

Step 2. Update the composer.json file in your Magento project with the name. For example:

composer require m2e/kaufland-adobe-commerce

Step 3. Enter your Magento authentication keys. Your public key is your username; your private key is your password.

Step 4. Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors:

Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing m2e/kaufland-adobe-commerce: Downloading (100%)
Writing lock file
Generating autoload files

Step 5. Enable the extension and clear static view files:

bin/magento module:enable M2E_Kaufland --clear-static-content

You should see the following output:

The following modules have been enabled:
- M2E_Kaufland

To make sure that the enabled modules are properly registered, run 'setup:upgrade'.
Cache cleared successfully.
Generated classes cleared successfully. Please run the 'setup:di:compile' command to generate classes.
Generated static view files cleared successfully.

Step 6. Register the extension:

bin/magento setup:upgrade

Step 7. Recompile your Magento project: In Production mode, you may receive a message to “Please rerun Magento compile command”. Magento does not prompt you to run the compile command in Developer mode.

bin/magento setup:di:compile
bin/magento setup:static-content:deploy

Step 8. Verify that the extension is enabled:

bin/magento module:status M2E_Kaufland

You should see the output:

Module is enabled

Step 9. Clean the cache:

bin/magento cache:clean

That's it! M2E Kaufland Connect is installed. Now you should disable maintenance mode:

bin/magento maintenance:disable

Set up general configurations for your extension and enjoy smooth selling on Kaufland.

Upgrade

Step 1. Back up your database (not required, but recommended).

Step 2. Enable maintenance mode:

bin/magento maintenance:enable

Step 3. Run update per module name:

composer update m2e/kaufland-adobe-commerce

Step 4. Run the following commands to upgrade, deploy, and clean the cache.

bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:clean

That's it! M2E Kaufland Connect is upgraded to the latest version. Now you should disable maintenance mode:

bin/magento maintenance:disable