描述
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]
屏幕截图
安装
- Download and install the Plugin
- Upload the plugin folder to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- You will now have [courier_address], [courier_distance] and [courier_result] tag shortcodes and in Contact Form 7
- Insert your Google Maps Api Key in the settings
常见问题
- Installation Instructions
-
- Download and install the Plugin
- Upload the plugin folder to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- You will now have [courier_address], [courier_distance] and [courier_result] tag shortcodes and in Contact Form 7
- Insert your Google Maps Api Key in the settings
评价
2017 年 2 月 16 日
Very useful for small/medium sized messenger service companies to calculate the prices according to zip code/distance/etc.
贡献者及开发者
更新日志
1.0
- Birth.
2.0
- UXD updates
3.0
- Language text domains added
- JS validation errors translated
- EN, US and HU
3.1
- plugin page moved under settings
- new CF7 compatability
- readme better
3.2
- external notifications calls, e.g. for SMS gateways