Calculate Prices based on Distance For WooCommerce


Delivery Slot and Distance Calculator plugin has some amazing features
1) Timepicker
2) Datepicker
3) Google Maps distance Calculator

For timepicker the user select the start and end time so on the checkout only the time between those two selected times will show. User from admin side can also set the time interval/difference between two time slots. User Can also disable multiple time slots from the admin side which will be removed on the checkout page.

For the datepicker user can select week days from admin side and these days will be disable on the checkout page. User can also disable multiple dates other than the days selected above.

Now Showing the Driving Route on the Google Maps between two points.

For google maps calculator user have to give Google Maps API key and one address on the admin side.You have to enable The Maps Javascript API , Places API , GeoLocation API , Geocoding API and Direction API. User have to set the price per Mile/KM. The unit can also be changed from the admin side.
On checkout page the customer will enter the address. And the difference between the two address will be calculated(one address is saved on admin side and the other one entered by user). So the prices set on the admin side will be multiplied by the distance(Numeric) and will be added to the order.

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 , Places API , GeoLocation API , Geocoding API and Direction API in order to use this feature. You also have to enable The Billing detail’s as it’s google Policy now. Don’t worry you won’t get charged it’s just from the spam protection.
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 .


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.
5 Դեկտեմբերի, 2021 1 reply
Hi Ammar, First, I would really like to appreciate the hard work that you put into making this plugin. I can see how it solve the distance calculating flaw on Checkout pages for WooCommerce Websites. I have installed it on my website and it's working fine and definitely, I would recommend it to my friends that running stores in US & UK. And I would like to give you a suggestion for a little bi improvement if you are interested to know. Well, simply just say " This plugin solved my sites distance calculating issue and Of course, I would give five stars ". Thanks, Ammar, Keep Working on This plugin.
Read all 11 reviews

Contributors & Developers

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