Installing the Magento 2 WebShopApps MatrixRates Extension
Step-by-step installation of the MatrixRates extension to enhance Magento 2 shipping options
- Overview
- Presumptions
- Installation Process
- Clean Install
- Updating Existing Installation
- Manual Installation
- Post-Installation Steps
Overview
Follow these steps to install your Magento 2 WebShopApps MatrixRates Extension. Proper installation ensures everything works smoothly. Be attentive to the instructions to avoid issues. If a problem arises, revisiting these steps often resolves it. 😊
Presumptions
Assuming you have Magento 2 installed properly, it's crucial to back up your server files and database before proceeding. While we take great care in our instructions, no responsibility can be claimed for any adverse effects. Initially installing on a test server for your evaluations is a wise move. 💡
Installation Process
Clean Install
- From your root Magento directory, run:
composer require webshopapps/module-matrixratecomposer updatephp bin/magento setup:upgrade
-
Flush and re-enable the cache if needed.
- Remove generated file content by deleting contents of:
var/view_processedpub/static/frontend/pub/static/adminhtml/var/generation
Updating Existing Installation
From your root Magento directory:
-
Update the extension using:
composer updatebin/magento setup:upgrade
-
Flush the cache.
- Remove generated file content by deleting contents of:
var/view_processedpub/static/frontend/pub/static/adminhtml/var/generation
Manual Installation
While we suggest using Composer based on Magento 2 standards, manual installation is possible:
-
Download the latest release from GitHub.
- Extract the archive. Inside, locate the "ZIP" folder with the
.ziparchive.module-matrixrate ├── CHANGELOG.MD ├── LICENSE.txt ├── LICENSE_AFL.txt ├── README.md ├── Test │ └── Unit ├── ZIP │ └── Matrixrates M2-20.1.4.zip <-- This file ├── composer.json └── src ├── (etc...) -
Extract the contents of the
.ziparchive to your Magento directory root. This action will merge into theappdirectory. Remove any test files or directories if present. ⚠️ - Enable the modules using:
php bin/magento module:enable WebShopApps_MatrixRate - Update Magento with:
php bin/magento setup:upgrade - Clear cache and re-compile.
Post-Installation Steps
Once installed, continue to configure the MatrixRate Magento extension.