Skip to content
On this page

Install Extension

The Order Protection extension is a custom module that adds new functionality to the core Magento product. By installing the extension, your store and the Order Protection backend will be able to exchange information and perform actions on each other's behalf.

Copy Files

  1. Download the extension you received from the onboarding team.

  2. Open the <magento_root>/app folder on your server and check if the code folder exists.

  3. If the code folder does not exist, create it manually.

  4. Open the code folder, and extract the extension zip file into it. The folder structure should look like this: <magento_root>/app/code/OrderProtection/OrderProtection/…

Install Extension

  1. Open a terminal window and navigate to the <magento_root> folder.

  2. Enable maintenance mode:

    bin/magento maintenance:enable
  3. Register the extension:

    bin/magento setup:upgrade
  4. Recompile the project:

    bin/magento setup:di:compile
  5. Deploy static content:

    bin/magento setup:static-content:deploy -f
  6. Clean the cache:

    bin/magento cache:clean
  7. Disable maintenance mode:

    bin/magento maintenance:disable

The extension is now installed. If you are not ready to go live, you can disable the extension from the UI following the instructions on the Disable Extension page. Do not disable the extension from the command line or you will be unable to generate the API key required to onboard your store.