1. Description
DEMO
Stern Taxi Fare
Stern Taxi Fare is a utility plugin conceived for taxi, ambulance or Limo companies aiming to facilitate their clients’ booking process. The plugin provides precise estimates of upcoming or potential rides with a vast choice of options and ensures an easy and optimized booking process, while creating a client database.
Customers can pay online thanks to the Woocommerce plugin. It is compatible with all woocommerce options. Hence your customers can pay via VISA, Paypal, paycheck, cash and VAT can also be included.
Stern Taxi Fare is composed of a team of fully trained developers with several years of expertise in auto dispatching taxi, limo, ambulance system development with mobile and web interface. The purpose of this plugin is to assist companies related to taxi, limo, ambulance business to allow their customers to calculate the ride fare.
Use shortcode to display and use the plugin wherever you want in the WordPress environment for WordPress.
Stern taxi fare plugin for WordPress is very simple and powerful plugin.
Fully Responsive
Keys Features
- Booking Calendar
- Rules for fixed price (e.g Airport transport)
- Button Show/hide a map in the form
- Fully customizable
- Compatible with a e-commerce store
- Multilingual
- QR Code Intégration
Please find documentation of this plugin here.
2. How it works ?
Price is driven by a formula. it can fit all your needs :
Price = cartype_Fare + (distance x distance_fare ) + (duration x duration_fare) + (nb_seats x seat_fare) + (nb_Toll x toll_fare) With a minimum of minimum_price.
Each variable can be change in back office :
- cartype_Fare
- distance_fare
- duration_fare
- seat_fare
- toll_fare
- minimum_price
Thanks to ‘pricing rules’ feature, it is possible overwrite formula with a fixed price for specific ride. e.g All rides from everywhere in city to a specific airport with a specific car.
3. Languages
- Translation ready
- Fully compatible with Polylang plugin
- English
- French
- Dutch (Thanks to ZoutPeper)
- Spanish (Thanks to LATIX NS)
- German (Thanks to Pike Barth)
- Arabic (Thanks to Ameer)
Your language is not here ? Contact me and let’s localize it together !
4. Print Screen
Front Print screen France
Front Print screen Australia
Rules
Front – with pick up date
Front – choose type of car
Dropdown in form
Order WooCommerce Page – front
Pickup time – front
Back Office orders By WooCommerce
Back Office Main settings Screen
Back Office Design
Back Office Car Type settings Screen
Back Office – Rules 
Bulk upload
Back Office Booking Calendar
Back Office – WooCommerce order screen
Includes fare per toll
Time format : 24hr
Time format : 12hr
Max suitcases per type of cars
6. Changelog
Changelog
== Changelog == = 2.2.6 - 03/24/2017 = * Fix - Error when date is 01-01-1970 12:00 AM * Improvement - Add classes to update easily CSS = 2.2.5 - 03/24/2016 = * Improvement - QR code integration * Improvement - Rules back office optimization * Improvement - Bulk Rules back office optimization * Fix - Error when no car are available = 2.2.4 - 03/07/2016 = * Fix - Toll calculation uses option 'avoid highways' * Improvement - Exact name in pricing rule * Improvement - Map styles added * Improvement - Airport shuttle booking System integration * Improvement - Minimum Course Fare is per type car, not global = 2.2.3 - 03/01/2016 = * Language - Add German, Arabic translation * Improvement - PDF adaptability integration = 2.2.2 - 03/01/2016 = * Improvement - Ambulance adaptability business integration = 2.2.1 - 02/10/2016 = * Improvement - Choice to Avoid highways in calculation/Use traffic in Calculation * Improvement - optimization of map = 2.2.0 - 01/09/2016 = * Improvement - Booking calendar System = 2.1.9 - 12/09/2015 = * Improvement - Pets information in checkout * Improvement - Add price per seats in fixed rules * Fix - Safari bugs = 2.1.8 - 12/01/2015 = * Improvement - dropdown in form * Language - Add Dutch translation = 2.1.7 - 12/01/2015 = * Improvement - Option to avoid highways * Improvement - Fixed price for airport * Improvement - Rules integration for price, based on address or city * Improvement - Possibility to set the next available date and time * Improvement - Number of pets in checkout = 2.1.6 - 11/30/2015 = * Improvement - Fares are linked with type cars * Improvement - Choose to show pick-up time in form or in order woocommerce section * Improvement - Edit text of the 'book now' button in back office * Improvement - Include Fare per toll * Improvement - Select Unit Systems (Miles or Km) * Improvement - Number of seats is linked to type of car * Improvement - Max suitcases per type of cars * Improvement - Available in English & french = 2.1.5 - 11/29/2015 = * Improvement - Bulk upload in rule pannel (admin) * Improvement - Possibility to edit type car in admin = 2.1.4 - 11/26/2015 = * Improvement - Tooltips in form * Improvement - Type car back office updated = 2.1.3 - 11/21/2015 = * Improvement - One way or Round trip feature = 1.0.4 - 11/20/2015 = * Fix - Google API management for error * Improvement - Emails sent via WooCommerce countains trip information * Improvement - Select Ajax loader picture * Improvement - Set a minimum fare in back office * Improvement - Show or hide labels in form * Improvement - Currency symbol inherits from WooCommerce = 1.0.3 - 11/16/2015 = * Language - Add French translation * Improvement - Overview table background color * Improvement - Use shipping class of variation to calculate shipping cost * Fix - Notice on overview table when no shipping cost are filled in * Add - Filter for the matching values 'was_match_condition_values' * Improvement - Choice in admin to empty WooCommerce cart before using taxi form choose background color in admin * Improvement - Choose in back office how many seats are available * Improvement - Choose in back office template form to show = 1.0.2 - 13/12/2014 = * Fix - Weight mismatches in rare cases * Fix - Row actions for shipping methods visibility * Improvement - Use WC() singleton instead of $woocommerce global * Improvement - Different loading stucture of files and classes for more control * Improvement - Option in Back office to show or not the map in the form * Improvement - Select a country to show on the map * Improvement - Add manually ApiGoogleKey in back office = 1.0.1 - 02/11/2015 = * Add - 'Contains shipping class' condition * Fix - Error on WC check * Fix - Load textdomains * Fix - Tax calculation * Improvement - Remove globals, use WAS() function now * Improvement - Even better code comments/quality * Improvement - Add filter 'was_shipping_rate' * Improvement - Add filter 'was_calculate_shipping_costs' * Improvement - Remove duplicate 'or' when removing condition group * Improvement - Option in Back office to show or not map the during checkout * Improvement - Bootstrap validator for the main form = 1.0.0 - 30/10/2015 = * First version
7. Reviews
Our clients said:
a. Choose a WP theme compatible
First step is to make sure you have the best theme for this plugin.
To use this Plugin, without any design bugs, we recommend to use theme using :
- Latest version of Bootstrap. At least v3.3.6 (http://getbootstrap.com)
- Glyphicons. (included in bootstrap) (http://getbootstrap.com/components/), and not fortawesome (https://fortawesome.github.io/Font-Awesome).
- The page where this plugin will be called should not have API google used as this plugin is using this API.
! The design of the plugin inherit from your theme. So if the design is broken, it is because of your theme. Try to change your theme if you have any issues!
You have no idea yet ? we recommend to use those themes:
- Transport – WP Transportation & Logistic Theme.
- Transport – Transport, Logistic & Warehouse WP
- Enfold Theme.
You also have recommandation. Please add a comment and let us know!
a. Generate invoice in PDF
Your customer can have can invoice of the trip in PDF.
- Install this great plugin WooCommerce PDF Invoices.
- Download stern taxi template for PDF. It is also here: wp-content/plugins/stern_taxi_fare/templates/bewpi-templates
- Follow instruction given in plugin to add your custom template.
- Unzip and copy this folder in your folder: wp-content/uploads/bewpi-templates/invoices/simple
- Go to Woocommerce => Invoices => Template. Select sternTaxiFarePDF.
Order must be complete to have invoice generated.
Please find a example of an invoice.
Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
a. Overview
- Q: When I click on “book now”, nothing gets added to the cart. It takes me to a cart page that says its empty.
- A: In back office, a product id must be populated. Usually, the link is created automatically but if it is not the case, follow these steps :
- Go to WooCommerce ‘Products’ tab
- Without clicking on the product, find the product ID
- Go to ‘Stern Taxi Fare’ and populate the field ‘ID product’
- Save
- Q: Where can I add a ‘Terms and Conditions’ checkbox?
- A: this option is available in WooCommerce ! WooCommerce -> Settings -> Checkout -> Checkout Options -> Terms and Conditions.
- Q: WooCommerce did not install pages propely. What should I do?
- A: Go to: WooCommerce -> System Status -> tools -> Install WooCommerce Pages
- Q: The product is not correctly created, even after clicking on the ‘create button’ ?
- A: Go to: Products -> Products -> Remove Product taxi fare. Then, go to trash and remove also this Product. This product must be completely deleted. Then, try to create again product
- Q: I have this error message : “Option allow_url_fopen is not allowed on your host”?
- A: Your host doesn’t allow option “allow_url_fopen”. You must change it in your file .htaccess.Put this line in an htaccess file in the directory you want the setting to be enabled:
php_value allow_url_fopen On
Note that this setting will only apply to PHP file’s in the same directory as the htaccess file. More information here.
- Q: Since I have installed this plugin, I have design bugs with my themes.
- A: It is because there is a bootstrap conflict with your theme. See recommandation here. As a quick fix, try to play with options “Use library bootstrap js” or “Use library bootstrap css” in design tab. If it is still not working, try with another theme. We recommend to use our theme : Stern transportation.
- Q: I need more than 1 country to show
- A: We are still waiting for this feature!! As a quick fix, you can show addresses in a dropdown. Calculation will work and google autocomplete will be deactivated.
- When I click on “Book” I have an error message : Not Found The requested URL /false was not found on this server.
- A: It is because you do not have installed WooCommerce page. Go to your backoffice -> WooCommerce -> System Status -> Tools (tab) -> Install WooCommerce Pages (button)
- I get this error message: CREATE STERN PRODUCT message when trying to add the shortcode to the page
- A: Go to: Products -> Products -> Remove Product taxi fare. Then, go to trash and remove also this Product. This product must be completely deleted. Then, try to create again product
API Functions – get_price_API
action=get_price_API
This function allows you to get price.
Arguments:
- action=get_price_API
- source=paris
- destination=lille
- selectedCarTypeId=130
- car_seats=2
- is_round_trip=false
- babySeat=2
Return
Returns a string containing the JSON representation of value.
Examples
API Functions – login
action=login
This function allows to login to WordPress.
Arguments:
- username
- password
Return
Returns a string
Examples
API Functions – version
action=version
This function get version for plugin.
Arguments:
- NA
Return
Returns a string
Examples
http://stern-taxi-fare.sternwebagency.com/wp-admin/admin-ajax.php?action=version
b. Change a word or translation in plugin
You can change all texts of this plugin for every languages.
To do that, you must follow this process :
- Download this free software: Poedit Gettext Translations Editor.
- Thanks to your FTP, save folder wp-content/plugins/stern_taxi_fare/languages to your local drive.
- Open file in your language where end of file is *.po
- Change text you want in Poedit.
- Save file.
- Overwrite this file on you server thanks to ftp.
- All set!
b. Google Places Autocomplete not working
This feature gives the opportunity to your customer to help them to set correct address.
It looks like this:
If it is not working, it is because “You have included the Google Maps API multiple times on this page. This may cause unexpected errors.”
In order to check this error, open your console in your browser and check for error (in red).
This issue comes from the fact your theme or another plugin is already using Google Maps API.
How to solve it?
- Try to deactivate all other plugin except WooCommerce and Stern taxi fare.
- Try to use another theme.
b. Installing WooCommerce
Self Installation
If you have web hosting already and would like to install WooCommerce using the WordPress Admin to install the plugin is the most straightforward option, as it handles the file transfer without you needing to leave the Web browser.
To install WooCommerce:
- Log in to your WordPress Admin panel
- Go to: Plugins > Add New
- Type ‘WooCommerce’ into the Search Plugins field and hit Enter. Once found, you can view details such as the the point release, rating and description.
- Click Install Now. After clicking the link, you’ll be asked if you’re sure you want to install the plugin.
- Click Yes, and WordPress completes the installation.
Pre-installation
If you have not chosen a hosting solution for your WooCommerce store we have partnered with two web hosting companies to offer you custom packaged solutions that pre-install WooCommerce, our Storefront theme and other key features as part of the deals – the two options are as follows:
- Bluehost: A scalable platform, pre-installed with WordPress, WooCommerce, and our Storefront theme. This hosting package includes a dedicated IP and SSL certificate to keep your store protected and secure. Read more here.
- SiteGround: Get your shop pre-installed with WordPress, WooCommerce and Storefront – along with premium plugins (Akismet and VaultPress) for spam protection and site backups, an SSL Certificate & dedicated IP for extra secure payments. Read more here.
FTP Setup
It’s possible at this stage that you’ll be taken to a page requesting FTP details of your webserver. This happens if you’ve not installed a plugin on this particular installation of WordPress. If that’s the case, fill in your details to complete installation.
Onboarding Wizard
Now that you’ve activated WooCommerce the WooCommerce Onboarding Wizard can help you setup your shop.
Select ‘Let’s Go!’ to get started.
If you’d prefer to manually setup your WooCommerce shop select Not Right Now.
Manual Shop Setup
If you chose to setup your shop manually select Install WooCommerce Pages to get started.
Theme not displaying right?
If you are using a third-party theme (a theme not made from WooThemes) and the WooCommerce pages aren’t displaying correctly, ensure your theme declares WooCommerce support. If you aren’t sure, contact the theme developer to ask them if it is a possibility.
If you have a theme you want to use with WooCommerce that does not yet have WooCommerce Support, please reference our developer documentation to learn more: Third-Party Custom Theme Compatibility.
Article from https://docs.woothemes.com/document/installing-uninstalling-woocommerce/
c. Create your language translation
You language is not available yet, You can create your language translation.
To do that, you must follow this process :
- Download this free software: Poedit Gettext Translations Editor.
- Thanks to your FTP, save folder wp-content/plugins/stern_taxi_fare/languages to your local drive.
- Open Poedit.
- File => new from POT => open file stern_taxi_fare-en_US.pot and chose your translation language.
- Save file. Name should be like:
stern_taxi_fare-language_COUNTRY.po
- A file name *.mo is also created.
- Upload both file (*.po & *.mo) to your server in languages folder.
- All set!
You want to share you translation? Don’t hesitate to send these files to us. We will integrate them directly to plugin!
c. Installing Stern Taxi Fare Plugin
How To Install The Plugin in wordpress
- Log in to your WordPress dashboard.
- Go to “Plugins -> Add New”
- Go to “Upload Plugin”.
- Seacrh for the zip file
- Click to “Install Now” when you find the plugin.
- Activate the plugin by clicking “Activate”.
Check if Woocommerce is installed before activating this plugin.
If not, install Woocommerce plugin!
Copy the plugin in plugin folder and then activate it from the admin side.
Tutorial is here.
Use WooCommerce to configure financial data like VAT, currency, type of payment.
c. WooCommerce pages are not installed
To make sure this plugin is working properly, WooCommerce pages must be installed.
To do that, launch wizard given by woocommerce or install WooCommerce Pages manually.

Connect it to Tookan
Tookan is a great tool to manage your task online.
All The Essentials In One Place,
Tookan Brings All The Essentials In One Place That Helps You Spend Less Time In Organizing Your Business And More Time Delighting Your Customers And Growing Your Business.
d. Adding Deposits or Partial Payment Functionality
Written by Suzi Pratt (suzipratt@gmail.com) of Intrepid Designer (http://www.intrepiddesigner.com)
Some businesses will prefer having customers pay a deposit in order to make an online reservation. This is beneficial for your transportation business because it increases the likelihood that your customer will not cancel their reservation without informing you. Adding a deposit functionality to Stern Taxi Fare is very simple using the following steps.
*Before you start, be sure you have already uploaded and activated WooCommerce and the Stern Taxi Fare plugins.
Step 1:
Download WooCommerce Deposits – Partial Payment Plugin from Envato. This is a paid plugin, not free. Link
Step 2:
Install the plugin and activate it. In your WordPress dashboard, navigate to “WooCommerce” → “Settings”. You will now see a tab that says “Deposits” where you can set parameters.
Step 3:
In the WordPress Dashboard, navigate to “Products” and edit the “Taxi Fare” product that was automatically created when you installed the Stern Taxi Fare plugin. Scroll down to the bottom of the page where it says “Product Data.” Within this box, click on the bottom tab that is labeled “Deposit.” From here, you can set additional parameters to enable or force a deposit, and specify the type of deposit. In the screenshot below, I have set up a forced 15% deposit for every Stern Taxi Fare plugin transaction.
Step 4:
Within the same “Product Data” section, click on the “General” tab and input a number into the “Regular Price” section. This can be any random number, and it will not impact your transactions going forward, but you MUST have a number here that is not zero in order for the deposit plugin to work properly. Now, update and save the product.
Step 5:
Now when you complete a transaction, you should see the deposit take place in the “Review & Payment” stage.
d. Google API
Google API give the opportunity to plugin to display map and calculate distance, time and price depending on pick up address and destination address your customer will use.
(a) When you create a new key, it must be a ‘browser key’.
(b) Leave empty field ‘Accept requests from these HTTP referrers (web sites) (Optional)’
Tutorial is here.
Create your own API key. It allows you to monitor your application’s Maps API usage.
You must enable :
- Google Maps Geocoding API
- Google Maps Directions API
- Google Maps Embed API
- Google Maps Distance Matrix API
Activate each API with activation button
Google actually blogged about this change not long ago.
As of June 22, 2016 we are making the following changes to the Google Maps APIs Standard Plan:
* We no longer support keyless access (any request that doesn’t include an API key). Future product updates are only available for requests made with an API key. API keys allow us to contact developers when required and help us identify misbehaving implementations.
…
Ok great, so you just have to get the key it seems! I noticed that requests for old URLs that have already accessedMaps API data worked, but any new URLs failed. In addition it looks like localhost access to the API doesn’t work very well now, even when using a key.
So what you need to create is a browser key. Google has a page describing how to get the API key. If you click the‘Get a Key’ button it will take you through the right steps.
First you will be asked to select a project or create a new one.
Then you’re taken to the Credentials page where you can generate the key. It’s a good idea to give this key a meaningful name as well as add a domain to restrict it to. If the key is unrestricted, other domains can make use of your key, which will reduce your quota allowances i.e. bad things will happen.
After you click ‘Create’, your new API Key is presented to you.
Create a Google Maps API Key
Follow these steps to create and implement a free Google Maps API Key.
- Start Google’s Get a Key process then log into your Google account (or create one).
- Click Agree and continue to create a new project representing your website.
- Under Accept requests, add the two entries below (replacing yourname.comwith your own domain). Type the first entry then hit enter on your keyboard to add it. Repeat to add the second entry. Having both entries (with asterisks) will help ensure your maps work on any URL of your website.
yourname.com/*
*.yourname.com/* - Click Create then copy your key that is now shown on the screen.
- If you’re using our WordPress plugin, go to Settings > Church Theme Contentand paste your key into the Google Maps API Key field then click Save Changes. Otherwise, do similar according to the product you’re using.
Note: Google says it can take up to 5 minutes for your key to become active. We’ve heard reports of it taking 30 minutes or longer. Keep this in mind if your maps do not show right away.
Possible error:
When creating the Goolge Maps API, enable both the Google Maps Geolocation API and Google Maps JavaScript API
Please ensure your API has two referrers set in the Google Developers Console:
*.mydomain.com/*
*mydomain.com/*
This not work :
xxx.com/ .xxx.com/
but this work :
http://xxx.com
http://xxx.com/*
News: 01/01/2017
http://stackoverflow.com/questions/38160006/google-maps-error-oops-something-went-wrong-this-page-didnt-load-google-maps
Quick F12 to developer console and reload gives:
MissingKeyMapError and points tohttps://developers.google.com/maps/documentation/javascript/error-messages for reference.
News: 01/03/2017
Key restriction
It must be to “none” or IP addresses (web servers, cron jobs, etc.), Not HTTP referrers (web sites)
Domain verification
Your domain must be verified. Follow the steps given by google.
e. Display form – Shortcode or widget
-
Shortocode
Use shortocode wherever you want in your wordpress environnement.
After installation please add shortcode on your website page to display the fare calculator.
This shortcode can be used in a page or a post.
2. Widget
This plugin can also be used as a widget.
e. Let your customer cancel their order
This plugin “WC Cancel Order” compatible with stern taxi fare will let you the possibility to let your customers cancel their order if they want.
f. Tons of map styles
- Ultra Light with Labels
- Blue water
- Pale Dawn
- Apple Maps-esque
- light dream
- Blue Essence
- Unsaturated Browns clean-cut
- My City Map
- Pale with defined borders
- green tea
- LPA
More details here: https://snazzymaps.com
f. Where Is My Purchase Code?
- Log into your Envato Market account.
- Hover the mouse over your username at the top of the screen.
- Click ‘Downloads’ from the drop down menu.`
- Click ‘License certificate & purchase code’ (available as PDF or text file).
- Below is an example of a PDF License certificate and purchase code.
g. Change color of the calendar
All colors of this plugins inherits from your theme.
Sometimes it turns out some color should not be white. Hence Calendar is not visible.
You can change these colors by overwriting your css theme.
- Use a Plugin like Simple Custom CSS.
- Overwrite theses classes:
- .bootstrap-datetimepicker-widget table td.old
- .bootstrap-datetimepicker-widget table td.day
- .bootstrap-datetimepicker-widget table thead tr:first-child th
- .bootstrap-datetimepicker-widget .timepicker-hour
- .bootstrap-datetimepicker-widget .timepicker-minute
- .bootstrap-datetimepicker-widget .timepicker-second
It gives:
CSS
.bootstrap-datetimepicker-widget table td.old { color: #777777; } .bootstrap-datetimepicker-widget table td.day { color: red; } .bootstrap-datetimepicker-widget table thead tr:first-child th { color: orange; } .bootstrap-datetimepicker-widget .timepicker-hour, .bootstrap-datetimepicker-widget .timepicker-minute, .bootstrap-datetimepicker-widget .timepicker-second { color: #777777; }
Picture
g. Update plugin
To Update this plugin, please follow this video:
Your data will not be erased.
Geolocation Not working!
Chrome has public intent to deprecate powerful features like geolocation on non-secure origins, and we hope that others will follow.
Starting with Chrome 50, Chrome no longer supports obtaining the user’s location using the HTML5 Geolocation API from pages delivered by non-secure connections. This means that the page that’s making the Geolocation API call must be served from a secure context such as HTTPS.
It is an important issue as it will directly impact any site that requires use of the geolocation API and is not served over https, but it is a change that we do believe is beneficial to all users on the web. This post should help you understand the reasoning and how to proceed.
When is this changing?
This change is effective as of Chrome version 50 (12PM PST April 20 2016).
Why are we making this change?
Location is sensitive data! Requiring HTTPS is required to protect the privacy of your users’ location data. If the user’s location is available from a non-secure context, attackers on the network will be able to know where that user is. This seriously compromises user privacy.
Full article here.
h. Add a type car
A type car is a vehicule. You can add, edit or remove.
A type car must be linked with a category.
Printscreen:
Video:
h. Tax / VAT Settings
By default, price doesn’t include VAT. To enable it, and to get this result, please follow those steps.
1/Go to WooCommerce settings, tax tab and set these options:
2/ In tab ‘Standard Rates’, setup your taxes rates. Example:
3/ In WordPress admin, go to products, select product ‘Taxi Fare’ and make sure it is setup like this:
4/ Do a test to make sure you will have this result:
i. Add extra information in checkout
Extra information in form can be added in checkout page.
This plugin Woocommerce Easy Checkout Field Editor gives you capabilities to manage your fields on your WooCommerce checkout page.
Woocommerce Easy Checkout Field Editor Plugin Lets you Add /Edit / Delete fields in checkout form . You can reorder them using our Drag and Drop Admin UI .Plugin Supports 8 types of widely used custom fields. You can opt to send custom field data with order email and also display it on admin order page.
Example:
j. QR code
This option shows a QR code. The link is the ADMIN order of WooCommerce.
QR code will be shown in
- Checkout page after paiement (Order Received)
- Validation Email
- Account of user
Driver will be able to scan QR code and automatically redirected to the order management.
User account
Options for calendar
Options for calendar will generate a process for the form.
Please see details:
Overview
This feature allow you to replace google drop down auto-complete to a list of address you have chosen.
It can be used for a list of airports for example.
Please find tutorial and demo regarding this feature:
Overview pricing rules
Pricing rules is a great tool to override formula.
Plugin will work like this: First, it will check for each pricing rule if pick up and destination address match with the ones given by customer.
If no rules are satisfied, then, it will use the classical formula set up in tab ‘type car’.
Warning: Each rules will use google API to check if city or address match with address given by vendor. Depend on your host but it takes an average of 30ms for each rule. So if you have 100 rules, it can take up to 30 seconds to pars all rules.
Sometimes if it is too long, server stop working. This error occurs:
We recommend to us ‘exact address’ to avoid using google API. It will only check if address given by vendor match with the rule.
Set a car not available
A type car can be unavailable for specific amount of time, day or every week the same day.
Set a day not available
A specific amount of time, day or every week the same day can be disable when a type car is chosen
1/ Unavailable for specific amount of time
Set a Pricing rule – City to a city
This plugin give the possibility to set a fixed price if customer book a car from anywhere in a city to anywhere in another city.
For example, if rule is from SF to Palo Alto, then price must be 999€. Price should be set like this:
Set a Pricing rule – Exact Name
- Exact name enable pricing rule for an address which doesn’t exist. It will not going to calculate distance. Exact name are used for fictive names. like ‘Point A’ to ‘Point B’. Distance and time are are not going to be accurate.
- This feature is not going to use google API
- To helps customer, this address can be add in drop down ‘list address’.
- For example you can set an ‘exact name’ like point A and point B:
And result will be:
See demo here:
Set a Pricing rule – City to an address (Airport)
This plugin give the possibility to set a fixed price if customer book a car from anywhere in a city to a specific address. This feature is usually used for airport transportation.
For example, if rule is from SF to LAX airport, then price must be 999€. Price should be set like this :
Let’s take an example.
From all addresses in SF to SFO airport, (e.g with 2 addresses below), price will always be 99€
- 2Spirit Tattoo, Pearl Street, San Francisco, CA, United States
- 2235 3rd St, San Francisco, CA 94107, USA
TO
- San Francisco Airport, San Francisco, CA, United States
Set Pricing rules in bulk
This feature allows you to create as many rules as you want with 1 upload only.
Use tab to split each colums. 1 rule per row.
Example:
or
You can have an example of sheet here:
Open file and copy/paste rows in your wordpress backoffice.
Show pricing rules as dropdown fields
When in this pickup field a value is selected, it will refresh Destination dynamically based on rules.
This option works only when dropdown are set for pickup & destination. Only field pickup is populated.
Refresh button will clear destination dropdown. If value is changed (in both fields), booking button will be disabled. button “check price” must be clicked again to refresh price.