{"id":149879,"date":"2021-11-22T14:20:52","date_gmt":"2021-11-22T14:20:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/calculate-prices-based-on-distance-for-checkout\/"},"modified":"2026-02-21T01:58:56","modified_gmt":"2026-02-21T01:58:56","slug":"calculate-prices-based-on-distance-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/tr.wordpress.org\/plugins\/calculate-prices-based-on-distance-for-woocommerce\/","author":17131350,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.6","stable_tag":"1.3.6","tested":"6.9.4","requires":"6.6","requires_php":"7.4","requires_plugins":null,"header_name":"Calculate Prices based on Distance For WooCommerce","header_author":"Ammar Ahmad","header_description":"Delivery Slot and Distance Calculator plugin for WooCommerce, adds a delivery fee to the order by calculating the miles\/kilometers from your store to the delivery address using Google Maps API.","assets_banners_color":"6f3d99","last_updated":"2026-02-21 01:58:56","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.routepricing.com\/wordpress-plugins\/","header_author_uri":"https:\/\/www.routepricing.com\/","rating":4.8,"author_block_rating":0,"active_installs":300,"downloads":10899,"num_ratings":20,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.3.3":{"tag":"1.3.3","author":"ammarahmad786","date":"2024-08-24 14:03:22"},"1.3.4":{"tag":"1.3.4","author":"ammarahmad786","date":"2024-10-29 08:54:03"},"1.3.5":{"tag":"1.3.5","author":"ammarahmad786","date":"2025-12-17 03:14:52"},"1.3.6":{"tag":"1.3.6","author":"ammarahmad786","date":"2026-02-21 01:58:56"}},"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":0,"4":0,"5":19},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2633566,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2633566,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2638434,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3.3","1.3.4","1.3.5","1.3.6"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2634697,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2792676,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2792676,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2792676,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2634697,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2634697,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":2634697,"resolution":"7","location":"assets","locale":""}},"screenshots":{"1":"Admin Dashboard - Simple configuration.","2":"Distance Rules - Setting up your price per KM\/Mile.","3":"Date &amp; Time Picker - Customer-facing delivery scheduler.","4":"Block Checkout - Seamless integration with modern stores."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[253387,253386,253388,192385,159974],"plugin_category":[45],"plugin_contributors":[205278],"plugin_business_model":[],"class_list":["post-149879","plugin","type-plugin","status-publish","hentry","plugin_tags-calculate-shipping-by-distance","plugin_tags-distance-rate-shipping","plugin_tags-google-maps-shipping","plugin_tags-local-delivery","plugin_tags-woocommerce-delivery-plugin","plugin_category-ecommerce","plugin_contributors-ammarahmad786","plugin_committers-ammarahmad786"],"banners":{"banner":"https:\/\/ps.w.org\/calculate-prices-based-on-distance-for-woocommerce\/assets\/banner-772x250.jpg?rev=2638434","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/calculate-prices-based-on-distance-for-woocommerce\/assets\/icon-128x128.jpg?rev=2633566","icon_2x":"https:\/\/ps.w.org\/calculate-prices-based-on-distance-for-woocommerce\/assets\/icon-256x256.jpg?rev=2633566","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/calculate-prices-based-on-distance-for-woocommerce\/assets\/screenshot-1.png?rev=2634697","caption":"Admin Dashboard - Simple configuration."},{"src":"https:\/\/ps.w.org\/calculate-prices-based-on-distance-for-woocommerce\/assets\/screenshot-2.png?rev=2792676","caption":"Distance Rules - Setting up your price per KM\/Mile."},{"src":"https:\/\/ps.w.org\/calculate-prices-based-on-distance-for-woocommerce\/assets\/screenshot-3.png?rev=2792676","caption":"Date &amp; Time Picker - Customer-facing delivery scheduler."},{"src":"https:\/\/ps.w.org\/calculate-prices-based-on-distance-for-woocommerce\/assets\/screenshot-4.png?rev=2792676","caption":"Block Checkout - Seamless integration with modern stores."},{"src":"https:\/\/ps.w.org\/calculate-prices-based-on-distance-for-woocommerce\/assets\/screenshot-5.png?rev=2634697","caption":""},{"src":"https:\/\/ps.w.org\/calculate-prices-based-on-distance-for-woocommerce\/assets\/screenshot-6.png?rev=2634697","caption":""},{"src":"https:\/\/ps.w.org\/calculate-prices-based-on-distance-for-woocommerce\/assets\/screenshot-7.png?rev=2634697","caption":""}],"raw_content":"<!--section=description-->\n<p><strong>The best WooCommerce Distance Rate Shipping alternative.<\/strong> Securely calculate delivery fees by KM\/Mile via Google Maps. Fully supports Block Checkout and includes a Delivery Date &amp; Time Picker.<\/p>\n\n<p><strong>\ud83d\udea8 ATTENTION: v1.3.6 SECURITY UPDATE<\/strong>\nTo prevent API key theft and unauthorized billing, version 1.3.6+ now requires a <strong>Secure Dual-Key Setup<\/strong>. \n1. <strong>Public Key (Web Restricted):<\/strong> Maps JavaScript &amp; Places API.\n2. <strong>Private Key (IP Restricted):<\/strong> Geocoding, Routes, &amp; Directions API.\n\ud83d\udccc <a href=\"https:\/\/www.routepricing.com\/how-to-get-google-maps-api-key\/\">How to Get your Google Maps API Keys<\/a><\/p>\n\n\n\n<h3>\ud83d\ude9a Professional Delivery Logistics for WooCommerce<\/h3>\n\n<p>Stop guessing your shipping costs. <strong>Calculate Prices based on Distance For WooCommerce<\/strong> is a comprehensive, high-performance solution for store owners who need precision. It serves as a modern, budget-friendly alternative to the official <strong>WooCommerce Distance Rate Shipping<\/strong> extension, <strong>WPCargo<\/strong>, and <strong>Flexible Shipping<\/strong>.<\/p>\n\n<p>Whether you deliver pizza, groceries, or large furniture, this plugin automates your shipping logic using the Google Maps API. Charge customers accurately based on the real travel distance from your store to their doorstep.<\/p>\n\n<h3>\ud83d\udd25 Features in Free Version<\/h3>\n\n<ul>\n<li><strong>Distance-Based Pricing<\/strong> \u2013 Automatically calculate delivery charges based on the real-world distance between your store and the customer\u2019s address.<\/li>\n<li><strong>Google Maps Address Autocomplete<\/strong> \u2013 Provide address suggestions in real time, improving checkout speed and preventing delivery errors.<\/li>\n<li><strong>Charge Per Kilometer or Mile<\/strong> \u2013 Fully customizable delivery charges based on your preferred unit (Metric or Imperial).<\/li>\n<li><strong>Delivery Datepicker &amp; Timepicker<\/strong> \u2013 Allow customers to choose their preferred delivery date and time directly on the checkout page.<\/li>\n<li><strong>Live Calculation Display<\/strong> \u2013 Customers see their calculated delivery charges instantly as they enter their address.<\/li>\n<li><strong>Works Seamlessly with WooCommerce Classic &amp; Block Checkout<\/strong> \u2013 Full compatibility with the latest WordPress themes and checkout types.<\/li>\n<li><strong>Lightweight &amp; Easy to Set Up<\/strong> \u2013 Designed for store owners and non-developers to get running in minutes.<\/li>\n<\/ul>\n\n<h3>\ud83d\ude80 Advanced Features in PRO Version<\/h3>\n\n<ul>\n<li><strong>Advanced Pricing Rules<\/strong> \u2013 Create tiered pricing brackets (e.g., $5 for 0\u20135 KM, $10 for 5\u201315 KM).<\/li>\n<li><strong>Maximum Delivery Distance<\/strong> \u2013 Restrict deliveries beyond a certain radius to ensure you only serve areas you can reach.<\/li>\n<li><strong>Dual Address Fields<\/strong> \u2013 Allow pricing between two custom locations (perfect for pickup &amp; drop-off services).<\/li>\n<li><strong>Admin Label Customization<\/strong> \u2013 Rename plugin labels for a better, white-labeled customer UI experience.<\/li>\n<li><strong>Free Delivery Threshold<\/strong> \u2013 Automatically waive delivery fees when the cart total reaches a set amount (e.g., Free delivery over $100).<\/li>\n<li><strong>Force Delivery Fee Calculation<\/strong> \u2013 Require delivery cost calculation before customers can complete checkout to ensure no order is missed.\n\ud83d\udc49 <strong><a href=\"https:\/\/www.routepricing.com\/wordpress-plugins\/\">Upgrade to PRO for full control<\/a><\/strong><\/li>\n<\/ul>\n\n<h3>\ud83d\udcfd\ufe0f See It In Action<\/h3>\n\n<p>\ud83c\udfac <strong>Watch our 3D Animated Explainer:<\/strong> <a href=\"https:\/\/www.youtube.com\/watch?v=KdtlKJxTTNw\">Watch on YouTube<\/a>\n\ud83d\ude80 <strong>Test the Plugin Live (Free + PRO):<\/strong> <a href=\"https:\/\/demo.routepricing.com\/\">Try Live Demo<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate via the 'Plugins' menu in WordPress.<\/li>\n<li>Go to <strong>WooCommerce &gt; WC Distance Calculator<\/strong>.<\/li>\n<li>Configure your <strong>Public &amp; Private API keys<\/strong>.\n\ud83d\udc49 <a href=\"https:\/\/www.routepricing.com\/step-by-step-guide\/\">Full Setup Guide<\/a><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"why%20is%20this%20better%20than%20the%20official%20%24150%20woocommerce%20extension%3F\"><h3>Why is this better than the official $150 WooCommerce extension?<\/h3><\/dt>\n<dd><p>We provide the same core functionality with enhanced security (Dual-Key API), a built-in delivery scheduler, and full support for WooCommerce Blocks, all while being significantly more affordable for small businesses.<\/p><\/dd>\n<dt id=\"is%20it%20seo%20friendly%3F\"><h3>Is it SEO Friendly?<\/h3><\/dt>\n<dd><p>Yes. The plugin is lightweight and optimized for performance. Faster checkout pages lead to better search engine rankings and higher conversion rates.<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20my%20theme%3F\"><h3>Does this work with my theme?<\/h3><\/dt>\n<dd><p>Yes! We support both the Classic WooCommerce Checkout and the new Cart\/Checkout Blocks used in the latest FSE (Full Site Editing) themes.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.6<\/h4>\n\n<ul>\n<li>\ud83d\udd10 <strong>Security:<\/strong> Mandatory Separate Public &amp; Private API keys to prevent theft.<\/li>\n<li>\ud83d\ude80 <strong>Performance:<\/strong> Updated Routes API for faster, more accurate calculations.<\/li>\n<li>\ud83d\udee0 <strong>Compatibility:<\/strong> Fully tested with WordPress 6.9 and WooCommerce 9.0+.<\/li>\n<\/ul>","raw_excerpt":"The best WooCommerce Distance Rate Shipping alternative. Secure delivery fee calculation by KM\/Mile via Google Maps. Supports Block Checkout &amp; Del &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/149879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=149879"}],"author":[{"embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ammarahmad786"}],"wp:attachment":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=149879"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=149879"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=149879"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=149879"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=149879"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=149879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}