Platform Integrations > Magento 2.0
Magento 2.0
Note: These rates are estimates only. They are purely based on the item's weight. OptimalShip does pricing based on weight or dimensions, whichever is greater. There may be some discrepancies based on dimensional weight and actual weight.

To install the module, you will need to download the file below:
Note
Steps to Install OptimalShip Module
  1. Extract the file into the app/code directory in your Magento folder.
    Extract
    If you don't have an app/code folder, you can just create one.
  2. Make sure the file structure looks like this after extracting: /path/to/magento2/app/code/OptimalShip/Customshipping/
  3. Open a terminal in the root directory of your magento install and run the following commands:
    php bin/magento module:enable OptimalShip_Customshipping --clear-static-content
    php bin/magento setup:upgrade
  4. Go to your admin page and open Stores; then select Configuration and make sure it is installed.

    You should see OptimalShip in your side bar. We aren't going to change anything in this tab.
    ConfigConfig installed
  5. Click on Sales then Shipping Methods and select Yes in the drop-down menu to enable the extension (full address Stores>Config>Sales>Shipping Methods).
    EnableEnabled
  6. Add your account number.
    Add account
    It may be a good idea to add a custom percentage increase to shipping costs to accommodate dimensional weights.
  7. Set the countries:

    Since we only do international shipping, we need to highlight all of the countries except for the United States. An easy way to do this is to Shift+click the top country and Shift+click the bottom country. This should highlight all the countries. Then Ctrl + click on United States. All the countries should be highlighted except for the United States.
    Set countries
  8. Test it by adding an item to your shopping cart and going to checkout. Verify that Optimal Ship DHL is an option.
    Test it

The OptimalShip.com Online Shipping Platform is Available with No Monthly Subscription Fee