Directory / plugin

Courier Address

v3.2 · by anewholm

[courier_address] Google address Autocomplete, [courier_distance] Google Map, [courier_result] price from configurable equation.

About this plugin

This is a generic Courier Address field management plugin with special extensions for Courier delivery charging. It is compatable with Contact Form 7 but also creates generic form element shortcodes. Working example

  • [courier_address (from/to)] Courier Address possibility lookups / predictions / postcodes with GeoCoding.
    e.g. [courier_address from] [courier_address to]
    with Postcode charges based on Addresses filled out in settings.
  • [courier_distance] Distances with embedded Google map to show journey.
    based on the names of other address fields, e.g. [courier_distance (from/to)]
  • [courier_result (name)] Result calculations based on flexible equation in the settings:
    e.g. [courier_result price]
    Math.max({from-postal_code_price}, {to-postal_code_price})

Courier Address field also enables all other installed shortcodes in Contact Form 7 forms, e.g. simple_tooltip

Example CF7 form

<div id="addresses">
  [courier_address* from required-address-detail:postcode_charge]Where?[/courier_address*] 
  [courier_address* to  required-address-detail:postcode_charge]To?[/courier_address*]
</div>

<div id="results" class="when-has-price">
  <label class="price-label">Price:</label> [courier_result* price currency:Ft]
  [text* your-name placeholder "Your Name"]
  [text* phone-number placeholder "Phonenumber"]
  [submit "Request Delivery"]
</div>

[courier_distance* from to measure:km map:400]

Plugin tags