Skip to content

Installation

We recommend that you test the extensions on a test Magento installation before installing them on a live Magento installation.

Prior to installation, you may want to:

  1. Back up your database.
  2. Enable maintenance mode.

You can install the extension in the following ways:

  1. Install the extension using Composer.
  2. Download package from the My Downloadable Products page.

Install the extension using Composer

  1. Log in to your Magento server as, or switch to, the file system owner.
  2. Navigate to your Magento project directory.
  3. If you have previously installed our extensions using this method, make sure that the repo.ecwhim.com repository exists in your composer.json file:
    "repositories": [
        "ecwhim": {
            "type": "composer",
            "url": "https://repo.ecwhim.com"
        }
    ]
    
    Otherwise, run the following command:
    composer config repositories.ecwhim composer https://repo.ecwhim.com
    
  4. Get the latest version of the extension:
    composer require <composer-name>
    
    composer-name can be found in My Downloadable Products.
  5. Enter your authentication keys. Your public key is your username; your private key is your password.
  6. Enable the extension.

Download package from the My Downloadable Products page

  1. Download the latest version of the package from the My Downloadable Products page.
  2. Extract the package in your Magento project directory.
  3. Enable the extension.

Enable the extension

  1. Enable the extension:
    php bin/magento module:enable Ecwhim_ModuleName
    
  2. Register the extension:
    php bin/magento setup:upgrade
    
  3. Recompile your Magento project:
    php bin/magento setup:di:compile
    
  4. Deploy static view files (for production mode):
    php bin/magento setup:static-content:deploy
    
  5. Clean the cache:
    php bin/magento cache:clean
    
  6. Configure the extension in Admin as needed.

Upgrade an extension

If you used the Download package from the My Downloadable Products page method:

  1. Remove all files and directories that were provided in the current extension package.
  2. Reinstall the extension.

If you installed using Composer, run the following commands:

composer remove <composer-name>
composer require <composer-name>
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
composer-name can be found in My Downloadable Products.

Authentication keys

You can create and manage authentication keys in Access Keys