
外掛標籤
開發者團隊
② 後台搜尋「MileQuill Distance Shipping Rates」→ 直接安裝(推薦)
原文外掛簡介
WooCommerce Distance-Based Shipping Rates for Local Delivery
Charge for local delivery using driving distance in miles, not just ZIP codes or straight-line distance. MileQuill Distance Shipping Rates adds a native WooCommerce shipping-zone method that calculates eligible shipping rates from one configured US business origin.
Offer free shipping within a chosen mileage, apply one flat shipping fee beyond that distance, and set a maximum delivery distance if needed. Leave the maximum distance blank to remove the plugin’s mileage cutoff, while still requiring a valid driving route and a matching WooCommerce shipping zone.
Built for US businesses offering local delivery, pickup, or equipment rentals, MileQuill supports standard WooCommerce address fields or optional dual pickup-and-delivery checks at Classic Checkout.
Key Features
Real driving-mile calculations: Estimate eligible shipping distance along roads using HeiGIT/openrouteservice.
Free local delivery: Set the number of driving miles customers can receive free shipping within.
Flat-rate distance shipping: Charge one configurable shipping fee when the verified route exceeds the free-distance threshold.
Optional unlimited mileage: Leave Maximum Delivery Distance empty to remove the plugin’s upper-mileage limit. Routing and shipping-zone coverage still apply.
Maximum delivery area: Enter a maximum mileage to make the MileQuill shipping method unavailable for farther destinations.
WooCommerce shipping-zone integration: Add a native shipping rate, not an extra order fee.
Single address mode: Use the customer’s WooCommerce shipping or billing destination. Accept the street alone or a full US address pasted into the street field when location fields agree.
Dual address mode: Check separate pickup and delivery locations from the same business origin; charge once or per qualifying address.
Street address verification: Reject ambiguous city- or ZIP-only locations instead of assuming they are accurate delivery points.
Optional US Census fallback: Try US street-range interpolation when the primary geocoder does not find a street-level match. Estimated locations have extra safeguards near pricing boundaries.
Route lookup safeguards: Retry certain road-snap failures within a bounded search radius and flag eligible estimated routes.
Standalone shipping checker: Show a delivery-distance estimate on a page using [milequill_shipping_rates].
Built-in diagnostic: Troubleshoot test-address lookups and routing responses from WooCommerce > Distance Shipping.
Who Can Use MileQuill?
MileQuill can be used by stores and services offering delivery from a single US origin, such as furniture retailers, equipment rental companies, local suppliers, and pickup-and-delivery businesses. Businesses remain responsible for configuring accurate service areas, rates, and checkout settings.
How Distance-Based Shipping Works
Enter your US business address and verified latitude/longitude coordinates.
Set a free-delivery mileage threshold and one flat delivery fee.
Optionally set a maximum distance, or leave it blank for no plugin mileage cutoff.
Add MileQuill as a method in the appropriate WooCommerce shipping zone.
At Classic Checkout, the customer enters a valid US street address. MileQuill verifies it and requests driving distance.
If the route and zone are eligible, WooCommerce displays free delivery or the configured flat shipping rate.
Pricing example: Configure free shipping through 20 miles, then a $50 flat fee for verified routes over 20 miles. The maximum distance can be left blank. These are illustrative merchant settings, not default prices, paid pricing tiers, or per-mile charges.
Single Address or Dual Address Checkout
Single Address Mode: Calculate from your configured origin to the standard customer shipping destination. WooCommerce city, state, and ZIP are entered separately. If the customer pastes a complete address into Street Address, MileQuill normalizes it when the other address fields match.
Dual Address Mode: Validate two complete US locations against the same origin. This can help with rental pickups and deliveries. Choose whether a qualifying flat fee is charged once or for each qualifying location.
What MileQuill Does Not Do
It does not calculate a fee per mile or offer multiple paid-distance tiers.
It does not support multiple origins, international delivery addresses, or WooCommerce Cart/Checkout Blocks.
It is not a turn-by-turn navigation, dispatch, route-optimization, or checkout payment plugin.
It cannot guarantee quotes for every valid postal address: provider coverage and road routing may vary.
Compatibility and Requirements
WooCommerce with Classic Cart and Checkout; one physical-goods shipping package.
US street addresses only, with distances in miles.
A HeiGIT/openrouteservice API key, separately obtained and configured by the store administrator.
Administrator confirmation of the geocoding provider’s permitted use, privacy notice, and attribution requirements before sending addresses.
Optional US Census Geocoder processing requires separate opt-in.
A matching WooCommerce shipping zone. Other enabled shipping methods remain selectable, so configure zones carefully if an outside-area order must be blocked.
Estimates near configured pricing boundaries may require a manual quote. A street address may verify while road routing still fails.
External services
MileQuill sends address information to external providers only after the administrator explicitly configures and opts in. Do not enable processing unless the providers permit your intended use of potentially personal street-address data. Provider terms and quotas may change.
HeiGIT/openrouteservice
Used for US street-address searches and driving-car routing. Address text and the API key are sent to the HeiGIT Pelias search/structured endpoints. Origin/destination coordinates and the key are sent to the directions endpoint. The plugin does not send customer names, email addresses, phone numbers, or order IDs, but addresses and coordinates can be personal data. HeiGIT also receives normal request metadata. Required provider/map-data attribution appears below Classic Cart/Checkout or in checker results after opt-in.
Service and API registration: https://account.heigit.org/
Terms: https://openrouteservice.org/terms-of-service/
API documentation: https://api.heigit.org/
Privacy: https://heigit.org/privacy-policy/
Map data copyright: https://www.openstreetmap.org/copyright
Route results license: https://creativecommons.org/licenses/by-sa/4.0/
US Census Geocoder (optional)
If separately enabled, sends street, city, state, and ZIP to https://geocoding.geo.census.gov/geocoder/locations/address when primary lookup fails. The Census service estimates coordinates using street ranges; it does not guarantee an existing building or rooftop accuracy. The estimated coordinates are passed to HeiGIT for routing. Estimates within 0.5 miles of a configured fee boundary require a manual quote. No Census API key is needed.
Documentation: https://geocoding.geo.census.gov/geocoder/
Privacy: https://www.census.gov/about/policies/privacy.html
Privacy
No telemetry is collected. No external requests occur before API configuration and opt-in. Keys are held in WordPress settings or a server constant. Temporary WooCommerce session quotes store keyed address/configuration hashes, distance, amount, status, and timestamps; dual mode can hold submitted addresses for about 10 minutes. A keyed IP hash supports short-lived rate limiting. Orders store distance/rate metadata and, in dual mode, submitted addresses for fulfillment, under normal WooCommerce retention rules. Admin diagnostic results are not persisted by this plugin.
WooCommerce personal-data exports and order anonymization handle the plugin’s custom order data. Plugin uninstall removes its global settings and registered zone instances when WooCommerce is available, but preserves order history. Store owners should document third-party address processing and session retention in their privacy policy, comply with provider terms, and handle relevant privacy requests. MileQuill does not guarantee regulatory compliance.
