Calculate Prices based on Distance For WooCommerce


Enhance Your WooCommerce Checkout with a Distance Calculator WordPress Plugin

Test The Plugin Live

For online businesses that offer delivery services, determining the cost of delivery can be a challenge. A distance calculator on the checkout page can make this process easier for both the customer and the business. That’s where the Calculate Prices based on Distance For WooCommerce comes in. This WordPress plugin uses the Google Maps API to calculate the distance between two addresses and adds the cost to the total purchase price on the WooCommerce checkout page.


Distance Calculator: The plugin calculates the distance between the customer’s address and the admin-defined address. This calculation is based on the selected unit (kilometer or mile) and the cost per unit set by the admin. The plugin also includes two options on the checkout page: store pickup and delivery. If the customer selects store pickup, only the date and time input will show. If the customer selects delivery, the map with the location of the admin-defined address will display.
Datepicker and Timepicker: The plugin includes a datepicker and timepicker, both of which can be easily configured on the admin side. The admin can disable specific days or times from the checkout, and there is an option to make either the datepicker or timepicker required.
Admin Side: On the admin side, the plugin provides an easy-to-use interface for setting the cost per unit, the address that will be used as the starting point for distance calculations, and the date and time settings. The plugin also requires an API key from Google Maps, which can be easily obtained. Along with the API key, the admin must enable the Maps Javascript API, Places API, GeoLocation API, Geocoding API, and Direction API to use the plugin’s features.
WooCommerce Integration: The Calculate Prices based on Distance For WooCommerce integrates seamlessly with WooCommerce, adding the delivery cost to the total purchase price on the checkout page.
User-Friendly: The plugin is easy to install and set up, making it a great option for businesses of all sizes.
PRO Version:
The PRO version of the Calculate Prices based on Distance For WooCommerce includes additional features that enhance the delivery cost calculation and checkout process. The admin can hide the datepicker and timepicker on the checkout page and make either option required. Additionally, the PRO version allows the admin to set different prices based on the distance, offering even more customization options.
For Example :FROM 1KM to 10KM price should be $1 and from 10KM to 100KM price should be $2

Google Maps API Key and Billing Details:
Please note that to use the Google Maps API, the admin must enable billing details for the API key. This is a policy from Google for spam protection, and the admin will not be charged for using the API.

The Calculate Prices based on Distance For WooCommerce is a must-have for online businesses that offer delivery services. Its distance calculator and WooCommerce integration make it a convenient and efficient way to determine delivery costs, saving both the business and the customer time and hassle. With the added options for the datepicker, timepicker, and delivery cost calculation, the PRO version offers even more customization options for businesses. Try it today and see how it can enhance your checkout process.

How it works

Google Maps distance Calculator / Timepicker / Datepicker

  • Upgrade — PRO


  • Plugin Admin Settings
  • Datepicker Admin settings
  • Timepicker Admin settings
  • Delivery Distance Admin settings
  • Checkout page Datepicker
  • Checkout page Timepicker
  • Checkout page Delivery Option


  1. Upload «calculate-prices-based-on-distance-for-woocommerce.php» to the «/wp-content/plugins/» directory.
  2. Activate the plugin through the «Plugins» menu in WordPress.
    1.Hover on the WooCommerce and Select WC Distance Calculator. That’s where the settings of the plugin will be found


Do I need to know how to code to use Calculate Prices Based on Distance For WooCommerce?

No! Calculate Prices Based on Distance For WooCommerce was designed to be easy to use by everyone, so there is no coding required.

Is it Necassary To Have the GOOGLE MAPS Api Key to Use The Delivery Distance Feature?

Yes It is necassary to use The delivery Distance Feature to Have the google maps API KEY!.
You have to enable The Maps Javascript API , GeoLocation API, Geocoding API, and Direction API and Places API in order to use this feature
Here’s the documentation how to get GOOGLE MAPS API Key Here .

Do you Offer Support?

Yes we Do offer support!.

Where Can i Buy The PRO Version?

You can Buy The PRO Version of the plugin Here .
You can request the customization of the plugin Here .


6 Հունիսի, 2023 1 reply
Working with this developer in addressing some minor issues we had with the out of the box pro version of this plug-in was absolutely amazing. The plug-in out of the box was great, but we did require some slight modifications which was not a problem for the developer. This plug-in does exactly what we need and works better than every other option we tried to meet our requirements. Setting calculations based on price per distance in Miles with given parameters for prices is now a breeze. Highly recommend.
11 Դեկտեմբերի, 2022 1 reply
I own a Professional Camera and production delivery service. This plug in has single handedly changed the way I do business! I am new to Wordpress, and the creator of the app has been so unbelievably accommodating with all of my questions. I upgraded to the PRO package and my expectations have been exceeded! 5 Stars for the plug-in and 5 Stars for support! 10 Stars total. Highly Recommend.
13 Հուլիսի, 2022 1 reply
I was looking for a plugin which helps me to calculation the price per kilometor or per miles. I found this one, but was facing issue with API (that was my mistake that created wrong API). Then i contacted to support and they really replied me within 24 hrs, and also helps me to setup the Prop API. Strongly recommended this plugin who is looking for shipping cost base on distance or distance based shipping charges or fee. really amazing.
17 Հունվարի, 2022 1 reply
This plugin is absolutely awesome. It was easy to install and totally customizable in order for me to record and charge my customers per distance. I highly recommend this plugin for easy usage. Thanks!!!
21 Դեկտեմբերի, 2021 1 reply
Thank you, developer! You did a great job, I really needed this feature on my site. You discover a great idea.
7 Դեկտեմբերի, 2021 1 reply
Hey Ammar, I am really thankful to you that you made a very useful plugin that can solve many of WooCommerce users. And yeah i would like to tell you that I didn't find this plugin myself... one of my friend Abdullah recommend me this plugin and said that he just like this plugin and it definitely would be helpful for me. I just installed it on two of my sites and found it really helpful. All is that it's very useful plugin for my sites and definitely I would recommend this plugin to others. Use it and give your honest opinion. thanks Ammar for creating this plugin for us.
Read all 13 reviews

Contributors & Developers

“Calculate Prices based on Distance For WooCommerce” is open source software. The following people have contributed to this plugin.