Stern Taxi Fare

Print

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’.

 

700096-icon-61-warning-128[1]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:

reset

 

We recommend to us ‘exact address’ to avoid using google API. It will only check if address given by vendor match with the rule.