Title: Distance Rate Shipping For WooCommerce
Author: Mitali Rajpurohit
Published: <strong>7. juli, 2022</strong>
Last modified: 21. juli, 2026

---

Søk i utvidelser

![](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

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

[Last ned](https://downloads.wordpress.org/plugin/distance-rate-shipping-for-woocommerce.1.1.2.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/distance-rate-shipping-for-woocommerce/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/distance-rate-shipping-for-woocommerce/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/distance-rate-shipping-for-woocommerce/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/distance-rate-shipping-for-woocommerce/#developers)

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

## Beskrivelse

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/)

## Skjermbilder

[⌊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.

## Installasjon

 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

## Ofte stilte spørsmål

### 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)

## Vurderinger

![](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/) 4. september, 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/) 9. juli, 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/) 6. juni,
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/) 18. oktober, 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/) 7. april, 2023 1 svar

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/) 12. februar, 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.

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

## Bidragsytere og utviklere

«Distance Rate Shipping For WooCommerce» er programvare med åpen kildekode. Følgende
personer har bidratt til denne utvidelsen:

Bidragsytere

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

[Oversett «Distance Rate Shipping For WooCommerce» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/distance-rate-shipping-for-woocommerce)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/distance-rate-shipping-for-woocommerce/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/distance-rate-shipping-for-woocommerce/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/distance-rate-shipping-for-woocommerce/)
med [RSS](https://plugins.trac.wordpress.org/log/distance-rate-shipping-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

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

 *  Versjon **1.1.2**
 *  Sist oppdatert **3 måneder siden**
 *  Aktive installasjoner **300+**
 *  WordPress-versjon ** 5.4 eller nyere **
 *  Testet opp til **7.0.7**
 *  PHP-versjon ** 5.4 eller nyere **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/distance-rate-shipping-for-woocommerce/)
 * Stikkord
 * [distance](https://nb.wordpress.org/plugins/tags/distance/)[rate](https://nb.wordpress.org/plugins/tags/rate/)
   [shipping](https://nb.wordpress.org/plugins/tags/shipping/)[woocommerce](https://nb.wordpress.org/plugins/tags/woocommerce/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/distance-rate-shipping-for-woocommerce/advanced/)

## Vurderinger

 3.3 av 5 stjerner.

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

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

[Se alle omtalene](https://wordpress.org/support/plugin/distance-rate-shipping-for-woocommerce/reviews/)

## Bidragsytere

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

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/distance-rate-shipping-for-woocommerce/)