# Price a Ride by Distance (/how-to/bookings/price-a-ride-by-distance)



Use this when the price of a ride depends on how far it goes: for example a hotel car service that is complimentary nearby and a fixed price further out. The guest's address decides which of your activities is booked. For how distances and bands work, see [Distance Pricing](/docs/plugins/distance-pricing).

Before you begin [#before-you-begin]

* You have the **Plugins** permission, or you are an administrator.
* You know the distances and the price for each: for example free up to 1.3 miles, then $35 up to 1.5 miles and $40 up to 2 miles.
* If a hotel's front desk will book it, the [Affiliates](/docs/plugins/affiliates) plugin is enabled and the hotel is set up as an affiliate with a signed-in device. See [Set Up an Affiliate's Device](/how-to/bookings/set-up-an-affiliate-device).

Steps [#steps]

Step 1: Create an activity for each price [#step-1-create-an-activity-for-each-price]

1. Create one activity per price: one for the free ride, and one for each paid step.
2. Set each activity's price, schedule and guests as you would for any activity.
3. If they share one vehicle, assign the same equipment to each and keep **Exclusive across activities** on.
4. **Publish** each activity.

You do not need to hide them. Once an activity belongs to a service it is left off your booking page.

Step 2: Install the plugin [#step-2-install-the-plugin]

1. Open **Plugins → Browse Plugins**.
2. Click **Install** on **Distance Pricing**.

Step 3: Add the service [#step-3-add-the-service]

1. On the setup page, click **Add service**.
2. Enter a **Title**, such as "Waldorf Car Service", and a **Price label**, such as "Complimentary within 1 mile".
3. Under **Starting point**, search for the place rides start from and pick it from the list. Change its name if guests should see a different one.

Step 4: Add the distance bands [#step-4-add-the-distance-bands]

1. Under **Distance bands**, choose **Miles** or **Kilometres**.
2. Click **Add a distance band**. Enter the distance the free ride goes up to, and choose the free activity.
3. Add a band for each paid step, each with its own distance and activity.

The largest distance is as far as the service goes. An address beyond it cannot be booked.

Step 5: Choose who can use it [#step-5-choose-who-can-use-it]

1. Under **Who can use it**, choose **Affiliates**.
2. Choose **Only specific affiliates** and tick the hotel.
3. Click **Add service**.

Choose **Public** instead if every visitor to your booking page may book it, or **Selected pages** to offer it only from pages of your own website. See [Selected pages](/docs/plugins/distance-pricing#selected-pages).

Step 6: Enable the plugin [#step-6-enable-the-plugin]

1. Click **Enable** on the setup page.
2. Wait up to a minute, then open the affiliate site on the hotel's signed-in device. The service's card is the first card on the list.

Step 7: Try a booking [#step-7-try-a-booking]

1. On the device, tap the service's card.
2. Enter an address close to the starting point. The page shows the distance, a map and the free activity.
3. Tap **Continue** and finish the booking.
4. Open the booking in the dashboard. The **Drop-off address** answer holds the address.
5. Repeat with an address further away and check that it lands on the right paid activity.

Your own staff book the same way from the dashboard: on the **New Booking** page, click the service under **Price by distance**, enter the address, and finish the booking. See [Booking from the dashboard](/docs/plugins/distance-pricing#booking-from-the-dashboard).

What to expect [#what-to-expect]

* The hotel earns its usual commission on the paid rides.
* A guest can be sent a pay link for a paid ride, as for any booking made on the device.
* Turning the service **Off** stops new online bookings at once. Your staff can still book through it from the dashboard.

Related [#related]

* [Distance Pricing](/docs/plugins/distance-pricing)
* [Affiliates](/docs/plugins/affiliates)
