Eircode validation
Checks the Eircode shape before sending the lookup request, reducing bad submissions early.
Location lookup integration
Address lookup, map coordinates and distance checks for online ordering
This demo shows how an Eircode lookup can support online ordering, booking, delivery and location-specific services. A customer enters an Eircode, the system returns a verified address and coordinates, displays the point on a Leaflet map, and calculates straight-line distance from Dublin city center.
Online order forms often collect free-text addresses that are incomplete, mistyped or outside the service area. Staff then have to check locations manually, quote delivery or travel charges by hand, and follow up with customers before an order can move forward.
We built a lightweight React and Leaflet demo around a PHP query_address.php endpoint. The lookup validates the Eircode format, resolves the address, returns latitude and longitude where available, maps the result and calculates distance from a fixed business base.
The lookup can sit before checkout or quote submission. It helps confirm that the delivery address is real, lets the site decide whether the customer is inside the service area, and gives the business enough location data to calculate delivery, travel or callout rules.
The same pattern can power local availability messages, area-based pricing, branch routing, delivery zones, installer coverage, appointment rules and map links for dispatch teams. The customer gets a cleaner booking flow and staff get a usable location record.
Leaflet provides a fast visual check for the resolved Eircode. The demo plots Dublin city center and the customer location, draws a route line and calculates distance in kilometres, which can be replaced with a business depot, warehouse or service team base.
For a delivery, trades or booking website, this reduces back-and-forth before the job is accepted. Customers can be told immediately whether the service is available in their area, while admins receive address, coordinates and distance data in the order or lead record.
The result is a practical location workflow that can be added to ecommerce checkouts, quote forms, lead forms, site-visit bookings or job-management systems. It makes ordering more accurate and gives the business a stronger basis for service-area decisions.
The demo is intentionally simple: one lookup field, one result panel, one map and the operational data an ordering flow needs.
Checks the Eircode shape before sending the lookup request, reducing bad submissions early.
Returns a structured address that can be saved with an order, quote, booking or lead.
Uses coordinates for map display, dispatch context and location-aware business rules.
Shows the customer location on an interactive map without making the form feel heavy.
Calculates straight-line distance from Dublin city center, or from any depot or office base.
Supports delivery zones, callout ranges, installer coverage and area availability messages.
Can prevent unsupported addresses from reaching payment or submitting as confirmed orders.
Gives staff address, coordinates and distance data for follow-up, routing and reporting.
A typical ordering or booking flow can use the lookup before the customer reaches payment or final submission.
The form normalises the input and blocks clearly invalid values before lookup.
The endpoint returns the matching address and coordinates where available.
The customer and admin can see the location plotted against the business base.
The site calculates distance from Dublin city center, a depot or a service team base.
The page can show delivery pricing, service availability, nearest branch or manual review.
This can be delivered as a standalone website add-on or as part of a wider booking, checkout or CRM workflow.
The portfolio images use sanitized sample data and generic Eircode placeholders. They show the workflow without exposing customer addresses or private order records.
085 839 2935
websites.dublin@gmail.com
Harbour view,
Sallins,
Co.Kildare,
Ireland,