WooCommerce Distance Rate Shipping – Woocommerce Plugin

By Maxkinon

Shipping rates based on weight, quantity, category, cart total, shipping class & zone, etc. Get live shipping rates, print labels, track orders, weight-based packing & more

Last updated

July 23, 2022




Active purchased


Edit Content
featured image


E-mail : *

WooCommerce Distance Rate Shipping

WooCommerce Distance Rate Shipping allows you to set up rules and charge rates based on the distance from your shipping location to the customer’s location.

Rules can be set up to charge shipping based on the distance and total travel time, or the number items in the cart, weight of the items, or the total value of the cart.

This extension requires a Google account as it makes use of Google Maps, the Google Distance Matrix API, and Google Maps Embed API. Some of these features are paid services. The route returned (and subsequent total distance) is used to calculate the cost according to the data returned by Distance Matrix API’s “Driving” Mode.


  1. Download the .zip file from your WooCommerce account.
  2. Go toWordPress Admin > Plugins > Add New and Upload Plugin with the file you downloaded with Choose File.
  3. Install Now and Activate the extension.

More information at: Install and Activate Plugins/Extensions.

Setup and Configuration

The first step in setting up the WooCommerce Distance Rate Shipping extension is to generate an API key on Google, as the extension makes use of the Google Maps and Google Distance Matrix APIs.

Obtain a Google API Key

  1. Go to: https://console.developers.google.com project and sign in with your Google account.
  2. On the Dashboard screen, click the Library link from the left-hand menu. Then search for and click Google Maps Distance Matrix API
  3. Click on the Enable button.
    • Create to create a new project if needed
    • Give your new project a name, i.e., Distance Rate Shipping, and then click Create.
  4. Click the Enable API button, then click the Credentials tab from either the left-hand menu or the banner across the top
  5. Click Create credentials and choose API key.
    1. A window will pop up, with your new API key, select Restrict Key.
    2. Make sure the restrictions are set to None and Don't restrict key and select Save
  6. Copy the API key generated and keep it as you will need to enter this in the WooCommerce Distance Rate Shipping extension settings.
  7. After you copy your API key, select APIs in the left column.
    1. Select the Maps Embed API under Additional APIs
  8. Click the Enable API button

API & Debug 

Go to: WooCommerce > Settings > Shipping > Distance Rate.

  1. API Key – You Google API Key as obtained per instructions above in the Obtaining Google API Key section
  2. Debug Mode – Enable this to view the API calls on the Cart/Checkout page to debug distance issues.

Enable Billing on Google Cloud Platform

As this extension makes use of Google Cloud service (Google Maps and Google Distance Matrix APIs), to ensure the extension work properly, you need to enable billing for your Google Cloud Project on the Google Cloud Platform:

  1. Navigate to the project page on your Google Cloud Platform
  2. Select the project you created during your initial setup for this extension
  3. Click Create Billing Account and complete the rest of the process

Store setup

Go toWooCommerce > Settings > Shipping.

Select edit on the Shipping Zone that you want to add the method to

Select the Add shipping method button on the bottom of the Shipping methods section

Select Distance Rate

Edit Content
Edit Content
If this is a plugin and the theme must be unzipped then upload. If it’s PHP script or Android source code and other items then check the docs file available on the zip file. For info write to: [email protected]
Edit Content

If you have any query and if you want to comment something then click this button to go to comment section

Help and Support

Our support team is available from (Mon-Fri) 11:00 AM to 5:00 PM. (GMT+5:30).
You can contact them through the contact box. You can create support ticket for better support.

Notify of
This site using Akismet Spam Protection to reduce spam. Your comment take sometime to public.
Inline Feedbacks
View all comments

You pick the plugin. We’ll take care of the rest.

Fully Managed

Premium items are fully managed by the team at Maxkinon. No security patches. No update nags. It just works.

Thousands of Items

From Maxkinon Marketplace premium plugins and themes to thousands more item we’ve got you covered.

Flexible pricing

Pay yearly and save. Or keep it flexible with monthly premium plugin pricing. It’s entirely up to you.

Shopping cart
Sign in

No account yet?

Login Required

You must login before requesting an update. If you do not have an account, create a new account by clicking the Create Account button.