WooCommerce Distance Based Fee

Installation instructions here.

Author:web-data.online (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:5.6.2
Plugin version:1.1.15
Added to WordPress repository:21-11-2017
Last updated:08-01-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:6
Plugin URI:https://www.web-data.online/
Total downloads:11 509
Active installs:900+
plugin download
Click to start download

This plugin uses Google Matrix API to add custom fee based on distance between customers destination city and online stores location. Fee will be calculated by dividing the distance with user entered divider, and then multiplicated by the price. For example, if distance is 100km and the divider is 2 and price is 5 euros (Fee will be 5 euros for every 2 kilometers). The calculation formula will be (100 / 2) * 5 = 250 euros.

Installation instructions here.

If you are looking for a shipping method with distance based fee support, then use this plugin instead.

Works with any currency and you can use either kilometers or miles.

You can use different logics, based on minimum and maximum distance or minimun cart price. Also fixed fee is available if the conditions are not met and you can disable the fee on virtual products. If you need to create your own logic, the filters to be used can be found here: https://web-data.online/docs/woocommerce-distance-based-fee/

Plugin settings can be found at Settings – Distance based fee settings.

You need to have a Google API key in order to use this plugin. More info: http://tiny.cc/aab75y

Google now also requires billing to be enabled for your account. Enable it here: https://console.cloud.google.com/project/_/billing/enable
More info: https://developers.google.com/maps/premium/new-plan-migration

This plugin requires WooCommerce version 3.2.0 or later.