WooCommerce Shipping Distance Matrix

Description

WooCommerce shipping rates calculator that allows you to easily offer shipping rates based on the distance that calculated using Google Maps Distance Matrix Service API.

This plugin perfect for the store owner who wants to charge customers for delivery of items based on how far away they are from the store. A perfect example would be online store that selling flowers, food, beverages. It’s not limited to just those, but anything that use local delivery or self delivery bussiness.

Key Features

  • Set unlimited distances ranges.
  • Set shipping rate as flat price or flexible price per distances unit for each distance ranges.
  • Set free shipping with or without rules for each distance ranges.
  • Set surcharge for each distance ranges.
  • Set different shipping rate for each product shipping class.
  • Set flat or pregressive total shipping cost.
  • Set shipping origin location coordinates using Maps Picker.
  • Set distances unit: Mile, Kilometer.
  • Set travel mode: Driving, Walking, Bicycling.
  • Set route restrictions: Avoid Tolls, Avoid Highways, Avoid Ferries, Avoid Indoor.
  • Set prefered route: Shortest Distance, Longest Distance, Shortest Duration, Longest Duration.
  • Set visibility distance info to customer.
  • Set fallback request if there is no results for API request using full address.

Dependencies

This plugin require Google Maps Distance Matrix API Key and service is enabled. Click here to go to Google API Console to get API Key and to enable the service.

Screenshots

  • Settings Panel: General
  • Settings Panel: Table Rates
  • Settings Panel: Advanced Rate Settings
  • Cart Page
  • Cart Page - Free Shipping

Installation

Minimum Requirements

  • WordPress 4.8 or later
  • WooCommerce 3.0 or later

AUTOMATIC INSTALLATION

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t even need to leave your web browser. To do an automatic install of WooCommerce Shipping Distance Matrix, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.

In the search field type “WooCommerce Shipping Distance Matrix” and click Search Plugins. You can install it by simply clicking Install Now. After clicking that link you will be asked if you’re sure you want to install the plugin. Click yes and WordPress will automatically complete the installation. After installation has finished, click the ‘activate plugin’ link.

MANUAL INSTALLATION

  1. Download the plugin zip file to your computer
  2. Go to the WordPress admin panel menu Plugins > Add New
  3. Choose upload
  4. Upload the plugin zip file, the plugin will now be installed
  5. After installation has finished, click the ‘activate plugin’ link

FAQ

Installation Instructions

Minimum Requirements

  • WordPress 4.8 or later
  • WooCommerce 3.0 or later

AUTOMATIC INSTALLATION

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t even need to leave your web browser. To do an automatic install of WooCommerce Shipping Distance Matrix, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.

In the search field type “WooCommerce Shipping Distance Matrix” and click Search Plugins. You can install it by simply clicking Install Now. After clicking that link you will be asked if you’re sure you want to install the plugin. Click yes and WordPress will automatically complete the installation. After installation has finished, click the ‘activate plugin’ link.

MANUAL INSTALLATION

  1. Download the plugin zip file to your computer
  2. Go to the WordPress admin panel menu Plugins > Add New
  3. Choose upload
  4. Upload the plugin zip file, the plugin will now be installed
  5. After installation has finished, click the ‘activate plugin’ link
How to set the plugin settings?

You can setup the plugin setting from the WooCommerce Shipping Zones settings panel. Please click here for the video tutorial how to setup the WooCommerce Shipping Zones.

I got error in the “Store Location” setting field”, what should I do?

The error printed in there is came from the Google API. Click any link printed within the error message to find out the causes and solutions.

I see message “There are no shipping methods available” in the cart/checkout page, what should I do?

Please try to switch the WooCommerce Shipping Debug Mode setting to “On”. Then open your cart/checkout page. You will see the error printed if there was.

Click here for how to switch WooCommerce Shipping Debug Mode.

Where can I get support or report bug?

You can create support ticket at plugin support forum:

Can I contribute to develop this plugin?

I always welcome and encourage contributions to this plugin. Please visit the plugin GitHub repository:

Reviews

Great Plugin

Was having issues with the limited documentation however after contacting the developer he helped me understand and answered all of my queries. Great support! Great plugin!!

Bang on Sir!

I must admit, this plugin author is so intelligent and very skilled in developing functionality. This should be one of the best distance rate shipping plugin for WooCommerce. You are great man! Thanks a lot.

Excellent !! The Best

This Plugin works exactly as described, i needed an extra option “Base Fee” and asked the developer if this is possible? Within a week the new updated plugin was available with Base Fee option. I wish i could give 10 STARS but only 5 Stars available. Thank you Sofyan Sitorus for this Amazing Plugin.

WOW, A great plugin

Thanks God I found Shipping Distance Matrix . It is simple and does what it says. If you need to Calculate Distance based delivery charges as at www.privatebakery.com, search no further and install this plugin.
I have been using paid plugin “WooCommerce Distance Rate Shipping”. That plugin was full of bugs. Just deleted it

Read all 8 reviews

Contributors & Developers

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

Contributors

Changelog

1.4.7

  • Feature – Added new field to set the shipping title dynamically for each distance ranges.
  • Fix – Added destination address validation.
  • Improvements – Improved table rates setting sorted automatically by distance.

1.4.6

  • Fix – Rate row not visible when switch free shipping option.
  • Fix – Flickering Map address picker when changing API Key.

1.4.5

  • Fix – In rare case, settings panel broken for site using UTF-8 characters language.

1.4.4

  • Improvements – Added new option: Prefered Route
  • Improvements – Improved accuration in cart shipping calculator form.

1.4.3

  • Fix – Update minified styles and scripts.
  • Improvements – Enable real time API key validation.

1.4.3

  • Fix – Update minified styles and scripts.
  • Improvements – Enable real time API key validation.

1.4.2

  • Improvements – Settings Panel
  • Improvements – Data cache handler
  • Improvements – Free shipping Options

1.4.1

  • Fix – Error in Google Map address picker.

1.4

  • Improvements – Enable Free Shipping Option.

1.3.8

  • Improvements – Added free shipping option.
  • Improvements – Added option dynamic cost calculation type for each distance range.
  • Fix – Plugin is undetected in WordPress multisite installtion when WooCommerce plugin is network activated.

1.3.8

  • Improvements – Add new option for base fee.
  • Improvements – Add new option for round up distance.

1.3.7

  • Improvements – Enhance store location map picker.
  • Improvements – Enhance table rates setting field.
  • Improvements – Update cache_key on shipping rates settings updated.

1.3.6

  • Improvements – Add new calculation type option: Per product – Charge shipping grouped by product ID.
  • Improvements – Add new calculation type option: Per shipping class – Charge shipping grouped by product shipping class.
  • Fix – Fix table rates input value issue.

1.3.5

  • Improvements – Add new option: Enable Fallback Request.

1.3.4

  • Improvements – Add new option: Enable Fallback Request.

1.3.3

  • Fix – Change route restriction to single select.
  • Improvements – Added fallback to input store location manually on google map error.

1.3.2

  • Fix – Fix issue with localization decimal delimeter.
  • Improvements – Added language parameter for Maps API request.

1.3.1

  • Fix – Fix API request URL.
  • Improvements – Switched from WP Cache Object to Transient.

1.3.0

  • Improvements – Add Google Maps Picker.

1.2.9

  • Fix – Fix issue when comma as decimal separator.

1.2.8

  • Improvements – More info in debugging mode.
  • Fix – Table rates input fields styling.

1.2.7

  • Fix – Remove Maps Place Picker.

1.2.6

  • Fix – Maps picker.

1.2.5

  • Improvements – Add option to charge shipping per distance unit.

1.2.4

  • Improvements – Add “Map Location Picker” for store location setting.
  • Improvements – Setting panel UI/UX improved more user friendly.

1.2.3

  • Improvements – Add new filter hooks: woocommerce_wcsdm_shipping_destination_info.
  • Improvements – Add new filter hooks: woocommerce_wcsdm_shipping_origin_info.
  • Improvements – Tweak settings panel UI and default value.
  • Improvements – Add validation for settings field: gmaps_api_key, origin_lat, origin_lng, table_rates.

1.2.2

  • Fix – woocommerce_shipping_wcsdm_is_available filter.

1.2.1

  • Improvements – Add filter to enable city field in shipping calculator form.
  • Fix – Filter destination address, address_2, city, postcode fields for shipping calculator request.
  • Fix – Change wrong API request param from mode to avoid.

1.2.0

  • Feature – Set visibility distance info to customer.

1.1.1

  • Improvement – Enable WP Object Cache for API HTTP request to improve the speed and reduce request count to API server.
  • Fix – Remove unused js code.

1.1.0

  • Feature – Set cost calculation type per order or per item.
  • Localization – Update POT file.

1.0.0

  • Feature – Set shipping cost by product shipping class.
  • Feature – Set unlimited distances ranges.
  • Feature – Set origin info by coordinates.
  • Feature – Set distances unit: Mile, Kilometer.
  • Feature – Set travel mode: Driving, Walking, Bicycling.
  • Feature – Set route restrictions: Avoid Tolls, Avoid Highways, Avoid Ferries, Avoid Indoor.