Description
Distance Checkout adds delivery and pickup to the classic WooCommerce checkout. Shoppers enter a delivery address to see the fee in their order total, or choose pickup to see the store address and skip the delivery fee. Use a checkout page with the [woocommerce_checkout] shortcode. The WooCommerce Checkout block is unsupported.
Local delivery
Set a base fee and a price per mile from your store. Choose a rounding step and a minimum fee, then set the maximum distance you will deliver. The plugin checks the delivery limit again when the shopper places the order.
Store pickup and tax
Configure one pickup location. Delivery uses the customer’s ZIP code for the tax lookup, while pickup uses the store’s ZIP code. Delivery and calculated sales tax appear as separate fees in the order summary. Live tax lookup is intended for US addresses.
Try it on a test store
Mock mode lets you preview delivery, pickup, an address outside the delivery area and service failures using simulated distances and tax rates. For live orders, configure the external services listed below and switch to Live mode.
External services
- Google Maps Platform. In Live mode the plugin sends address details to the Geocoding API and the store and delivery addresses to the Distance Matrix API to validate addresses and calculate driving distance. These requests include the configured API key. A browser key enables Google Places autocomplete at checkout. The shopper’s browser connects to Google and sends address searches as the shopper types. Use separate browser and server keys with appropriate restrictions. Availability of the legacy Distance Matrix and Places services depends on the Google Cloud project. Google Maps Platform terms and Google privacy policy.
- Sales Tax Rates via RapidAPI. In Live mode the plugin sends the relevant ZIP code and the merchant’s RapidAPI key to sales-tax-rates1.p.rapidapi.com to obtain a tax rate. Configure a subscription and key for this API before using live tax calculation. RapidAPI terms and privacy policy.
Installation
- Activate WooCommerce and use the classic checkout shortcode [woocommerce_checkout]. The Checkout block is unsupported.
- Install and activate Distance Checkout for WooCommerce. If upgrading from Woo Distance Checkout, deactivate the earlier copy first. Keep the old copy deactivated. Activate this version before removing the old version so its settings can be copied. The new version reads the existing settings and order metadata.
- Open WooCommerce > Distance Checkout. Enter the store address, delivery pricing, tax settings and failure handling preference.
- Use Mock mode on a test store to exercise delivery, pickup, out-of-area and API failure scenarios. Mock mode uses simulated prices and tax rates. Before accepting real orders, configure the services below, select Live mode and verify the amounts at checkout.
Screenshots



Changelog
1.7.1
- Enforce the delivery radius during server-side checkout validation.
- Use plugin-specific identifiers and retain existing settings and order details.
1.7.0
- Prepare the directory edition of the existing plugin.
- Load checkout controls when Google Places is disabled. Keep mock checkout independent of Google Maps.
