Overview
Please follow these steps to install your extension. These installation instructions provide comprehensive installation guidance. If you do not follow these steps as indicated you may well see issues with your install, which may take some time to resolve. So please follow each step carefully and if the install fails re-check the steps.
Presumptions
We assume you understand Magento 2, and have it installed correctly. Also make sure your [Magento Root Directory]/vendor/
directory is writable or you will get a message stating module-shipper or module-logger “does not exist and could not be created.”
It is highly recommended to backup your server files and database before installing this module. No responsibility can be taken for any adverse effects it may cause. It is also recommended you install on a test server initially to carry out your own testing.
Latest Version
To follow the latest versions of the extension, you can watch the public repo at github.com/shipperhq/module-shipper/releases
See the published changelog here.
Main Installation Processes
Clean Install
- Enable Maintenance mode (
php bin/magento maintenance:enable
) ** - Run the following commands from your root Magento installation directory:
composer require shipperhq/module-shipper
php bin/magento module:enable --clear-static-content ShipperHQ_Common ShipperHQ_Logger ShipperHQ_Shipper
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
**php bin/magento setup:static-content:deploy
**- Disable Maintenance mode (
php bin/magento maintenance:disable
) ** - Now that you have ShipperHQ installed you can begin configuring your extension.
** These steps are optional if your site is in developer mode
Moving From Magento Marketplace Installation
If you currently have the modules installed from the Magento Marketplace you can change to using Composer using the following command:
composer require shipperhq/module-shipper:^20.35
You can then follow steps 5 onwards from the “Clean Install” steps above.
Updating Existing Installation
- Enable Maintenance mode (
php bin/magento maintenance:enable
) ** - To specify a specific version of ShipperHQ run one of the following from your root Magento installation directory, or skip this step if you wish to upgrade to the latest release of the current major version:
composer require shipperhq/module-shipper:20.18.10 --update-with-dependencies
where 20.18.10 is the version of the module you want to install.- If you are upgrading to the next major version, you will need to explicitly specify the version
composer require shipperhq/module-calendar: ^22.0 --update-with-dependencies
where 22.0 is the major version you want to install
- Run the following commands from your root Magento installation directory
composer update shipperhq/*
php bin/magento cache:flush
php bin/magento setup:upgrade
- Remove generated file content by deleting contents of:
var/view_preprocessed
pub/static/frontend/
pub/static/adminhtml/
pub/static/_requirejs/
generation/
(with older versions of M2 this was:var/generation
)
- From your root Magento installation directory run
php bin/magento setup:di:compile
** - Deploy static content
php bin/magento setup:static-content:deploy
** - Disable Maintenance mode (
php bin/magento maintenance:disable
) ** - This would also be a good time to Synchronize your Magento 2 site with ShipperHQ
** These steps are optional if your site is in developer mode
Other Installation Processes
Migrating the ShipperHQ Extension from Magento 1 to Magento 2
When migrating from the ShipperHQ Magento 1 extension to the Magento 2 extension there are some additional steps as the files are completely different. Please see this document for details.
Installing Magento 2 ShipperHQ Separate Modules
ShipperHQ provides additional functionality in separate modules. These are not required in order to use ShipperHQ on Magento 2, but they provide advanced capabilities.
Installation instructions for these modules are available here.
WebShopApps MatrixRate Installation
Please see the MatrixRate Installation guide.
Post-Installation Steps
In order to successfully connect your Magento eCommerce site to ShipperHQ you’ll need to configure your website in ShipperHQ. The final step is to configure the ShipperHQ Magento extension.
Troubleshooting Magento 2 Installations
Please see the troubleshooting guide for Magento 2.