Actie-Handel Trip Quote Calculator Lite

Description

Actie-Handel Trip Quote Calculator Lite lets visitors of your website calculate an indicative price for a bustrip and send you a quote request. It works for coach- and bus companies as well as taxi companies.

Features

  • Step-by-step calculator, placed with the shortcode [touringcar_calculator].
  • Route distance and duration calculated with the Google Maps Directions API.
  • Vehicles with their own prices (per km, per hour, start-up cost, waiting time, return-trip prices and discount).
  • Optional home base per vehicle: travel from and to the depot is charged. Leave it empty (for example for taxis) to charge only the customer’s own route.
  • One way and return trips, with automatic waiting time based on departure and return time.
  • Optional label in small print per vehicle (for example “from price p.p.”).
  • Quote requests are stored in the admin and emailed to you; printable request overview.
  • Colours, currency and kilometre/mile settings.
  • Optional anti-spam: hidden honeypot field and Google reCAPTCHA v3.
  • All texts are translatable through the standard WordPress translation system.

A Pro version with extra features is available separately.

External services

This plugin connects to Google services. You need your own Google Maps API keys. Nothing is sent until you enter the keys on the Touringcar Google Maps page.

Google Maps JavaScript API and Places (address suggestions)
Loaded in the visitor’s browser on pages that contain the calculator, only when a browser API key has been entered. While a visitor types an address, the text typed and the visitor’s IP address are sent to Google to provide suggestions.
Terms: https://cloud.google.com/maps-platform/terms
Privacy policy: https://policies.google.com/privacy

Google Maps Directions API (route calculation)
Called from your server when a visitor calculates a price. The pickup, stop and destination addresses (and the home base address of the selected vehicle, if set) are sent to Google to obtain the distance and travel time.
Terms: https://cloud.google.com/maps-platform/terms
Privacy policy: https://policies.google.com/privacy

Google reCAPTCHA v3 (optional)
Only used when you enter reCAPTCHA keys on the Settings page. The visitor’s browser loads the reCAPTCHA script and sends interaction data and IP address to Google; your server sends the resulting token to Google to verify it.
Terms: https://policies.google.com/terms
Privacy policy: https://policies.google.com/privacy

Privacy

Quote requests (name, company, email, phone, trip details, remarks and the calculated price) are stored in your WordPress database and are emailed to the address you configure. Suggested privacy policy text is added under Settings Privacy. Add a link to your privacy policy on the Settings page: visitors must agree to it before sending a request.

Screenshots

Installation

  1. Upload the plugin folder to /wp-content/plugins/, or install it from the Plugins screen.
  2. Activate the plugin.
  3. Go to Touringcar Google Maps and enter your Google Maps browser key and server key.
  4. Go to Touringcar Vehicles and adjust the vehicles and prices.
  5. Add the shortcode [touringcar_calculator] to a page.

FAQ

Do I need a Google Maps API key?

Yes. The route calculation uses the Google Maps Directions API and the address suggestions use the Places library. Create keys in the Google Cloud Console; Google may charge for usage above its free quota.

How do I switch off home base costs?

Leave the “Home base” field of the vehicle empty. Only the customer’s own route is then charged.

Can I change the texts?

Yes, through translation files (for example with the Loco Translate plugin) using the text domain actie-handel-trip-quote-calculator-lite.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Actie-Handel Trip Quote Calculator Lite” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.5.2

  • New plugin name and slug.

1.5.2

  • Directory review fixes: new name and slug, “Tested up to” only in readme.

1.5.0

  • Prepared for the WordPress.org plugin directory: unique prefixes, translatable texts, escaped output, enqueued scripts and styles, privacy policy text.
  • Home base per vehicle, return trips are priced home base pickup destination pickup home base.
  • Home base check tool on the Vehicles page.
  • Departure date and time shown in the overview.