Uninstalling the ShipperHQ Magento Extension

There may be occasions when you are upgrading that you need to uninstall our extension completely.
If you are having difficulty with the configuration please contact us for assistance. If the extension is conflicting on the site you can disable its functionality until it is resolved.
Caution! Some attributes used by ShipperHQ are also used by WebShopApps extensions. If you have WebShopApps extensions that are still required those attributes must not be deleted.

This article assumes that you have working knowledge of MySQL.

Magento 1

Follow these steps.
  1. Disable the cache (if enabled) and compiler (if enabled).
  2. Edit the eav_attribute table and change is_user_defined to 1 for all ShipperHQ attributes.
  3. Remove all ShipperHQ attributes from all of the attribute sets.
  4. Disable the extension’s files. This will be any XML files prefixed by “shipperhq_”, “Hackathon_GridControl.xml” and “Webshopapps_Wsalogger.xml”.
    NB: If you have any WebShopApps extensions installed the Logger extension is required and should not be removed.
  5. Remove files from app/code/community/Webshopapps (unless you are using WebShopApps extensions), app/code/community/hackathon and app/code/community/shipperhq  relating to the extension.
  6. Remove the XML files from step 2 from app/etc/modules
  7. Remove files from app/design, app/locale, js,  lib and skin directories that have “shipperhq” in the name of the directory or “shipperhq_” as the file prefix.
  8. Remove any references to shipperhq from the core_config_data MySQL database table.
  9. Verify removal on admin/frontend
  10. All of the attributes from step 2 can be removed if they are no longer required.
  11. Enable cache and compiler (if previously enabled).
All of our extensions sit in the app/code/community areas, so there is no impact on core code.

Magento 2

Follow these steps.

  1. Disable the cache (if enabled) and compiler (if enabled).
  2. Edit the eav_attribute table and change is_user_defined to 1 for all ShipperHQ attributes.
  3. Remove all ShipperHQ attributes from all of the attribute sets.
  4. Run: composer remove shipperhq/module-logger
  5. Run: composer remove shipperhq/module-shipper
  6. Run: php bin/magento setup:upgrade
  7. Run: php bin/magento setup:di:compile (if the compiler is enabled).
  8. Remove any references to shipperhq from the core_config_data MySQL database table.
  9. Verify removal on admin/frontend
  10. All of the attributes from step 2 can be removed if they are no longer required.
  11. Enable cache (if previously enabled).