Logistics website and freight calculator
TLS Logistics
Website for TLS Logistics, a Slovak company in road, sea and air freight, logistics, warehousing and customs services, and an internal app in its partner zone where partners calculate the price of a shipment from a route on the map and order it straight away.
Visit website
About the project
The challenge
The price of a shipment depends on the direction (import or export), the country, the distance, the weight, the loading metres and the current diesel surcharge. Price lists change and are kept in Excel, so partners needed a way to get a correct price and place an order without calling the dispatch office.
The solution
Next to the company website I built an internal app in the partner zone. A partner enters the route, Google Maps works out the shortest distance, the app picks the right price list and band and shows the price without VAT. Then the partner adds loading and unloading points and pallets, and the order goes to dispatch as a PDF. TLS uploads new price lists from XLSX in the admin.
What the site offers
- Bilingual website (Slovak and English) presenting road, sea and air freight, logistics, warehousing and customs services
- News, head office and logistics centre contacts, documents to download
- Partner zone with its own login
- Freight price calculator built on a Google Maps route, stops included
- Transport order with loading and unloading points and pallets, sent as a PDF
- Price lists uploaded from XLSX right in the WordPress admin
Freight calculator
From a route to a transport order
The whole process runs in the partner zone, in three screens.
Route
The partner enters the start, the destination and any stops. Google Places completes the addresses.
Distance
Google Maps compares the possible routes and the app uses the shortest distance in kilometres.
Price list
The direction (import or export) and the country select the price list. The price comes from its weight and distance bands.
Weight
The calculation uses the higher of the real weight and the weight derived from loading metres, plus the diesel surcharge set in the admin.
Loading
For each stop the partner fills in the address, date, time, pallets with their dimensions and weight.
Order
The app builds a PDF of the order with mPDF and e-mails it to dispatch.

Use cases
Built around everyday tasks

Route and price
The route on the map, the distance in kilometres, the direction, country, weight and loading metres. I blurred the price in this screenshot.

Loading and unloading
Every stop of the route gets its own loading or unloading details and pallets before the order is checked and sent.

Colour palette
#ffffff#1d1d1b#3bb51e#f4f4f4#0c2221
Colours sampled from the live site.
Live preview
Scroll through the site


Technologies
- WordPress
- PHP
- ACF
- JavaScript
- jQuery
- Google Maps API
- mPDF
- XLSX import