> For the complete documentation index, see [llms.txt](https://support.storefront.co.za/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.storefront.co.za/features/stores/shipping/local-delivery.md).

# Local Delivery

Local delivery covers orders you deliver yourself within a set distance of your premises, rather than handing them to a courier. It is usually handled by the merchant or a local delivery service.

Because it works on distance, the store needs to measure how far a customer's address is from yours.

### Before You Start

Google Maps must be enabled on the store, otherwise distances cannot be calculated. See [Google Maps](/features/stores/store-settings/shopping-experience/google-maps.md).

You also need the latitude and longitude of the premises you deliver from.

### Settings

* **Latitude** and **Longitude** - the location you deliver from, used as the centre point for measuring distance.
* **Max Delivery Distance (km)** - how far you are willing to deliver. Addresses beyond this do not qualify.
* **Fixed Cost** - the delivery charge.
* **Free Over Cart Value** - the cart value above which delivery becomes free.
* **Same Day Delivery**, **Next Day Delivery** and **Economy Delivery** - the delivery speeds you offer.
* **Out of Range Message** - the wording shown to a customer whose address falls outside your maximum distance.

### How to Add Local Delivery

1. Click on the store you would like to add local delivery to
2. Click on Shipping
3. Click Enable under Local Delivery
4. Click on Configuration
5. Enter the latitude and longitude of your business or warehouse
6. Enter your maximum delivery distance in kilometres
7. Enter your fixed cost, and a cart value above which delivery is free if you offer that
8. Switch on the delivery speeds you offer
9. Enter the message shown to customers outside your delivery range
10. Click Save
11. Test an in-range and an out-of-range address at checkout on your storefront

{% hint style="warning" %}
Get the latitude and longitude right. Every distance is measured from that point, so an error here either turns away customers you could serve or commits you to deliveries far further than you intended.
{% endhint %}

{% hint style="info" %}
Write the out of range message to be helpful rather than a dead end. Telling the customer which other delivery options they can use keeps the order.
{% endhint %}
