Skip to content Skip to main navigation Skip to footer

Limiting Service Area Using Geofence and Availability Rules

Combining ‘Geofence’ areas with ‘Availability Rules’ lets you restrict bookings to custom geographic zones, such as cities, districts, islands, or other service areas. Unlike ‘Driving Zone’ restrictions, this method does not limit the addresses suggested by Google. Customers can enter pickup and drop-off addresses, but the booking form checks whether vehicles should be available for the selected locations.

How It Works

The method uses two availability rules:

  • The first rule sets all vehicles to ‘Unavailable’ by default.
  • The second rule restores selected vehicles to ‘Available’ when the customer’s pickup and/or drop-off address matches your Geofence conditions.

If no vehicles are available for the selected addresses, the booking form displays the message ‘No vehicles available for this route.’

Example

A transport company serves journeys that both start and end within Greater London. The administrator creates a Geofence covering the service area and uses an availability rule requiring both pickup and drop-off to match it. A booking with either location outside the supported area will not offer vehicles through this rule configuration.

Create Geofence Areas

  1. Go to ‘Chauffeur Booking System’ -> ‘Geofence’ and click ‘Add New Geofence’.
  2. Enter a descriptive title, such as ‘Greater London Service Area’.
  3. Use the map editor to draw a polygon or circle covering the area where you want to offer services. A single Geofence can contain multiple shapes, including separate areas.
  4. Click ‘Publish’ to save the Geofence.

If your business serves several regions, you can create separate Geofences or use multiple shapes within one Geofence. For detailed instructions on drawing and editing zones, see Working with Geofence Zones.

Create Availability Rules

Next, create two separate rules. Their execution order is important: the rule that hides vehicles must run before the rule that makes them available in supported areas.

Hide All Vehicles by Default

  1. Go to ‘Chauffeur Booking System’ -> ‘Availability Rules’ and click ‘Add New Availability Rule’.
  2. Enter a title, such as ‘Hide all vehicles’.
  3. Leave the Geofence conditions unset so the rule is not limited to a particular service area. If this configuration is intended for a specific Booking Form, select the relevant form in ‘Conditions’ -> ‘General’.
  4. Open the ‘Vehicles’ tab and set the vehicles you want to restrict to ‘Unavailable’.
  5. Open the ‘Options’ tab and enable ‘Next Rule Processing’ so subsequent rules can be evaluated.
  6. In the WordPress ‘Post Attributes’ box, set ‘Order’ to ’10’.
  7. Click ‘Publish’.

Allow Vehicles in Supported Areas

  1. Add another Availability Rule and enter a title, such as ‘Allow bookings in service area’.
  2. If the first rule is limited to a specific Booking Form, apply the corresponding form condition to this rule as well.
  3. Open ‘Conditions’ -> ‘Locations’ -> ‘Geofence’.
  4. Select the allowed zone or zones under ‘Pickup Geofence’ and/or ‘Drop-off Geofence’, depending on which part of the journey you want to restrict.
  5. Open the ‘Vehicles’ tab and set the vehicles you want to offer in the matching area to ‘Available’. Leave unrelated items at ‘Not set’ if their state should remain unchanged.
  6. Set ‘Order’ to ‘0’ in the ‘Post Attributes’ box, so this rule is processed after the first rule.
  7. Click ‘Publish’.

Good to Know

The ‘Order’ value determines which Availability Rule is processed first. In this example, the rule with ‘Order’ set to ’10’ first makes the vehicles unavailable. Because ‘Next Rule Processing’ is enabled, the rule with ‘Order’ set to ‘0’ can then make the selected vehicles available again when its Geofence conditions match. Use different Order values to avoid ambiguous ordering.

Choose Which Locations Must Match

The two Geofence condition fields let you build different service-area policies:

Condition Result
‘Pickup Geofence’ only Vehicles are made available when pickup is inside an allowed area; drop-off is not restricted by this rule.
‘Drop-off Geofence’ only Vehicles are made available when drop-off is inside an allowed area; pickup is not restricted by this rule.
Both fields Both pickup and drop-off must match their configured Geofence conditions.

You can select multiple Geofences within one field. For example, ‘Pickup Geofence’ can allow pickups from either of two cities. When both pickup and drop-off fields are configured, each group must match its respective selection.

Example

An airport-transfer company accepts pickups at an airport but allows passengers to travel anywhere. Set only ‘Pickup Geofence’ to the airport area in the second rule. To require both endpoints to be within the supported region, configure both ‘Pickup Geofence’ and ‘Drop-off Geofence’.

Check Rule Settings and Test the Form

After publishing both rules, test the booking form with addresses inside and outside your service area. Confirm that matching journeys show the intended vehicles and that nonmatching journeys do not.

Good to Know

In ‘Vehicles’, ‘Unavailable’ hides the selected vehicle, ‘Available’ makes it available, and ‘Not set’ leaves its current availability state unchanged. A later matching Availability Rule can change a state set by an earlier one. If your site already uses other Availability Rules, review their ‘Order’ and ‘Next Rule Processing’ settings as well.

Geofence and Driving Zone Restrictions

These methods serve different purposes. ‘Driving Zone’ limits Google address suggestions using supported country or radius restrictions. Geofence with Availability Rules lets customers select addresses first and then controls which vehicles are offered for those locations. Geofence areas can have custom polygon shapes and may include multiple separate shapes.

You can use both approaches together: configure ‘Driving Zone’ for broad address-suggestion restrictions, then use Geofence with Availability Rules for more precise vehicle availability. For details, see Limiting Service Area Using Driving Zone Restrictions.

Summary

Document version: 1.1
Last updated: November 19, 2026
Plugin version: 9.8+

Was This Article Helpful?

Related Articles