Added in CloverWoo 1.19.0. It is off until you switch it on, so nothing changes in your shop until you do. Good for stores that deliver with their own truck or van, like landscape supply, building materials, furniture or catering.
What you need
- A Google Maps API key from Google Cloud with the Routes API turned on. Google needs billing set up on the account, and currently gives 10,000 distance checks a month free.
- Each address is checked once and remembered for 30 days, so most shops stay inside the free amount.
Turn it on
- Go to Clover → Settings → Checkout and tick "Delivery by Distance".
- Check the address deliveries start from (it uses your WooCommerce store address if you leave it empty), paste your Google Maps API key, and pick miles or kilometres.
- Type a customer address in "Test an Address" and save. The top of the page shows the driving distance, so you know the key works.
- Go to WooCommerce → Settings → Shipping, open your shipping zone, and add the "Delivery by distance" method.
- Set its fees and save.
The fee settings
- Base fee: charged on every delivery.
- Price per mile (or km): added for each mile of driving distance.
- Distance included in base fee: miles covered by the base fee. Only the miles after this are charged.
- Maximum distance: further than this, delivery is not offered and the customer sees your message.
- Free delivery over: orders worth this much or more get free delivery, still only within the maximum distance.
- Round up: charge whole miles. Otherwise the distance is rounded up to the next tenth.
Example: base fee $25 and $3.50 a mile. An address 12.4 miles away pays $25 + 12.4 × $3.50 = $68.40.
At checkout and in Clover
- Customers see "Delivery (12.4 mi)" with the fee as soon as they type their street address.
- The order reaches Clover with a "Delivery (12.4 mi)" line and the delivery address in its note, so staff see it on the register.
- If Google cannot find the address, delivery is not offered rather than guessing a price.
Each shipping zone can have its own fees. Keep a pickup method in the zone too, so customers who live too far can still order.