On your WordPress dashboard, choose Plugins – Add new.

Search for “WooCommerce Distance Based Fee” and click “Install now” and after that “Activate”.

Google Matrix API key

In order to use the plugin, you need to have a Google Account and you need to generate Google Matrix API key.

Instructions to get the API key can be found here:

Above, view on the API key generation page.

Please note, you also need to have billing enabled in order to use the Google Matrix API. To enable billing, please visit here:

Once you have generated your API key, go to the plugin settings: “Settings – Distance based fee settings” and paste your API key to the “Google API key” field and save settings. After this configure rest of the settings as you wish.


Choose “Settings – Distance based fee settings” on your WordPress Dashboard to open the plugin settings page.

On the main settings page, you need to enter the Google Matrix API key. After that you can set fee name, divider, price, units and shipping methods which your distance based fee is used for.


Free support is available at:

Premium Support

We offer installation service for this plugin for $19, which includes plugin installation, Google API key generation and configuring plugin settings. If you need our installation service or if you need any customization or more features, please contact here.