Title: Distance Rate Shipping For WooCommerce
Author: Mitali Rajpurohit
Published: <strong>July 7, 2022</strong>
Last modified: November 16, 2026

---

Search plugins

![](https://ps.w.org/distance-rate-shipping-for-woocommerce/assets/banner-772x250.
png?rev=2817449)

![](https://ps.w.org/distance-rate-shipping-for-woocommerce/assets/icon-256x256.
png?rev=2817449)

# Distance Rate Shipping For WooCommerce

 By [Mitali Rajpurohit](https://profiles.wordpress.org/mitalideva/)

[Download](https://downloads.wordpress.org/plugin/distance-rate-shipping-for-woocommerce.1.2.0.zip)

 * [Details](https://en-au.wordpress.org/plugins/distance-rate-shipping-for-woocommerce/#description)
 * [Reviews](https://en-au.wordpress.org/plugins/distance-rate-shipping-for-woocommerce/#reviews)
 *  [Installation](https://en-au.wordpress.org/plugins/distance-rate-shipping-for-woocommerce/#installation)
 * [Development](https://en-au.wordpress.org/plugins/distance-rate-shipping-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/distance-rate-shipping-for-woocommerce/)

## Description

For **Woocommerce Distance Rate Shipping**, add the functionality of calculating
shipping fees based on the Distance between store and customer.

### KEY FEATURES

 * Add unlimited methods for shipping zones with distance-based shipping WooCommerce.
 * Set distance measurement standards like kilometer/mile with WooCoomerce shipping
   based on distance.
 * Set minimum and maximum order amount rules for shipping method.
 * Set minimum and complete order qty rule for shipping method.
 * Set minimum and top distance rules for the shipping method.
 * Fixed-rate for shipping method.
 * Formed custom name/label for shipping method.

#### REQUIREMENT

The plugin requires Google Map’s “Distance Matrix API” to measure the Distance between
store address locations and customer shipping addresses.
 You have to generate an
API key for “Distance Matrix API” by following the official guide from the link 
below: [Distance Matrix API documentation](https://developers.google.com/maps/documentation/distance-matrix/overview)

### ACTIVELY ENGAGED

[Knovator Technologies ](https://knovator.com/) believes in active community support,
so we try to make life easier for developers and customers with the best **WooCommerce
Distance Rate Shipping plugins**. Don’t forget to sign up for our newsletter.

### EXPLORE OUR OTHER PLUGINS TO ENHANCE YOUR WEBSITE

 1. [Auto Delete System Status Logs for WooCommerce](https://wordpress.org/plugins/auto-delete-system-status-logs/)
 2. [Change Default Email Sender Name](https://wordpress.org/plugins/change-default-email-sender-name/)
 3. [Donation Addon WooCommerce](https://wordpress.org/plugins/donation-addon-woocommerce/)
 4. [Bulk Product Price Update for WooCommerce](https://wordpress.org/plugins/bulk-product-price-update-for-woocommerce/)
 5. [Different Menu in Different Pages and Posts](https://wordpress.org/plugins/different-menu-in-different-pages-and-posts/)

## Screenshots

[⌊Step-by-step setup: configure your API key, add the shipping method to a zone,
and set its rates.⌉⌊Step-by-step setup: configure your API key, add the shipping
method to a zone, and set its rates.⌉[

Step-by-step setup: configure your API key, add the shipping method to a zone, and
set its rates.

## Installation

 1.  Go to “https://wordpress.org/plugins/” page.
 2.  In “Search plugins…” textbox type “Distance Rate Shipping For WooCommerce by tusharknovator”
     and press enter.
 3.  click on the showed result “Distance Rate Shipping For WooCommerce”.
 4.  Click on download button and save the plugin zip file on your computer.
 5.  Download the plugin zip file to your computer
 6.  Go to the WordPress admin dashboard menu Plugins > Add New
 7.  Choose Upload Plugin” button which is besides “Add Plugins” at top of page.
 8.  Upload the plugin zip file, the plugin will now be installed
 9.  After the installation has finished, click the ‘activate plugin’ link

## FAQ

### How to configure Distance Rate Shipping For Woocommerce?

You can do the following settings on the Distance Rate Shipping For Woocommerce 
settings page:
 1. Distance matrix API key. 2. Distance measurement standard.

### Why we need Distance matrix API key?

It is necessary to use the Google Maps API to calculate store and customer distance.

### how we can generate Distance matrix API key?

You can generate it by following the instructions on the page linked just below 
the API key, or you can follow the official guide from the link below:[Distance Matrix API documentation](https://developers.google.com/maps/documentation/distance-matrix/overview)

### How do I report a bug or request a feature?

Go to the plugin’s main page (Distance Rate Shipping in your admin sidebar) for 
the “Report a bug” / “Request a feature” links.

## Reviews

![](https://secure.gravatar.com/avatar/9b1a57fa43824be2cfbbb0d8372e12d3140597b96d71245d3f0967570813905b?
s=60&d=retro&r=g)

### 󠀁[It didn’t work, did I miss something?](https://wordpress.org/support/topic/it-didnt-work-did-i-miss-something/)󠁿

 [abdouz19](https://profiles.wordpress.org/abdouz19/) September 4, 2024

I've setted the API key but when I fill the checkout page, the shipping cost didn't
get updated, only the product price. did I miss anything????

![](https://secure.gravatar.com/avatar/e3a299600a653b8d2df2b7617215e2552c1f77b2d6041865ca9216a944cf8d89?
s=60&d=retro&r=g)

### 󠀁[Maximum Shipping Distance isn’t working](https://wordpress.org/support/topic/maximum-shipping-distance-isnt-working/)󠁿

 [webvoyou](https://profiles.wordpress.org/webvoyou/) July 9, 2024

All the setting doesn't seem to be working, if we set minimum or maximum it's will
always be catch. Also there's a 404 for the .js file because it's not the right 
name in the js/ folder. And this .js file is empty anyway.

![](https://secure.gravatar.com/avatar/62d376f5fe21ac45ee77f901665215da275b79d390827aca4815af8412440448?
s=60&d=retro&r=g)

### 󠀁[Barely works, but not as intended](https://wordpress.org/support/topic/barely-works-but-not-as-intended/)󠁿

 [kingsportoliveoil](https://profiles.wordpress.org/kingsportoliveoil/) June 6, 
2024

First off, the "payment per distance" needs to be set at a negative value in order
to function properly, so that threw me off. Secondly, The API function doesn't work
because there isn't an origin address setting available. Without it, you could section
out things by zip code, but not by radius (which is what my website requires for
delivery). Granted, anything OUTSIDE the zip code parameters are denied, but I need
something that includes a radius from the store location and this plugin doesn't
function properly to provide that solution. Add an origin address option in the 
settings menu to allow the API to function properly and this will work. Until then,
1 star.

![](https://secure.gravatar.com/avatar/fa0313ed9ef38ea1acba2347665a341fc62eab10abf31ad0e73fe91e7be00e5a?
s=60&d=retro&r=g)

### 󠀁[doesnot show up shipping title](https://wordpress.org/support/topic/doesnot-show-up-shipping-title/)󠁿

 [Faisal Ahmed](https://profiles.wordpress.org/fftfaisal/) October 18, 2023

doesnot show up shipping title, event dont show any error, I was trying to debug
plugin the custom shipping method not fired any time. plugin js file not found..
wrost plugin and wasted time

![](https://secure.gravatar.com/avatar/bc800832e6b7173cd4651b1c2c7a4cf61ff4900b4968c0c9469d527e192fb7d2?
s=60&d=retro&r=g)

### 󠀁[Works perfect, just wait a little bit](https://wordpress.org/support/topic/works-perfect-just-wait-a-little-bit/)󠁿

 [Tremer](https://profiles.wordpress.org/tremer/) April 7, 2023 1 reply

I did install the plugin and added the API code. Then I tried several orders to 
check it. It did not work at all. Then I wait about one hour and suddenly it works
perfect. I think google needs a while to activate the API. Please make correct settings
at the woocommerce shipping zone. The shipping costs per km with "." not "," and
all the fields above has to be filled.

![](https://secure.gravatar.com/avatar/4c1733a9181e17dc012ac74ae3b708a5a28fa2c07df689391d9894b403b9c000?
s=60&d=retro&r=g)

### 󠀁[Plugin doesn’t work – waste of time](https://wordpress.org/support/topic/plugin-doesnt-work-waste-of-time/)󠁿

 [BarretD](https://profiles.wordpress.org/barretd/) February 12, 2023

Did everything I was supposed to, getting the API key, etc., but still cannot get
this plugin to work. Others have the same problem as indicated in the support section,
all of which have gone unanswered. Complete waste of time.

 [ Read all 9 reviews ](https://wordpress.org/support/plugin/distance-rate-shipping-for-woocommerce/reviews/)

## Contributors & Developers

“Distance Rate Shipping For WooCommerce” is open source software. The following 
people have contributed to this plugin.

Contributors

 *   [ Mitali Rajpurohit ](https://profiles.wordpress.org/mitalideva/)
 *   [ Knovator ](https://profiles.wordpress.org/tusharknovator/)
 *   [ Monika Patel ](https://profiles.wordpress.org/monikapatel/)

[Translate “Distance Rate Shipping For WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/distance-rate-shipping-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/distance-rate-shipping-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/distance-rate-shipping-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/distance-rate-shipping-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/distance-rate-shipping-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

1.2.0 * Tested up to WordPress 7.1.3. Added bug report / feature request links on
the main plugin page.
 1.1.2 * Fixed missing URL-encoding on the address sent to
the Google Distance Matrix API, which broke distance lookups for most real addresses.
1.1.2 * Fixed unreliable shipping method matching that relied on raw PHP sessions
instead of WooCommerce’s session API. 1.1.2 * Fixed default Maximum Shipping Distance/
Order Amount/Order Qty of 0, which prevented the shipping method from ever matching
an order until manually reconfigured. 1.1.2 * Synced plugin version number with 
the readme’s stable tag. 1.1.2 * Tested up to WordPress 7.0.1. 1.0.0 * First public
release.

## Meta

 *  Version **1.2.0**
 *  Last updated **17 hours ago**
 *  Active installations **300+**
 *  WordPress Version ** 5.4 or higher **
 *  Tested up to **7.1.4**
 *  PHP Version ** 5.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/distance-rate-shipping-for-woocommerce/)
 * Tags
 * [distance](https://en-au.wordpress.org/plugins/tags/distance/)[Distance Based Shipping](https://en-au.wordpress.org/plugins/tags/distance-based-shipping/)
   [rate](https://en-au.wordpress.org/plugins/tags/rate/)[shipping](https://en-au.wordpress.org/plugins/tags/shipping/)
   [woocommerce](https://en-au.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://en-au.wordpress.org/plugins/distance-rate-shipping-for-woocommerce/advanced/)

## Ratings

 3.3 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/distance-rate-shipping-for-woocommerce/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/distance-rate-shipping-for-woocommerce/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/distance-rate-shipping-for-woocommerce/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/distance-rate-shipping-for-woocommerce/reviews/?filter=2)
 *  [  3 1-star reviews     ](https://wordpress.org/support/plugin/distance-rate-shipping-for-woocommerce/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/distance-rate-shipping-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/distance-rate-shipping-for-woocommerce/reviews/)

## Contributors

 *   [ Mitali Rajpurohit ](https://profiles.wordpress.org/mitalideva/)
 *   [ Knovator ](https://profiles.wordpress.org/tusharknovator/)
 *   [ Monika Patel ](https://profiles.wordpress.org/monikapatel/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/distance-rate-shipping-for-woocommerce/)