這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Courier Address

外掛說明

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]

螢幕擷圖

  • Example
  • Postcode groups charge Settings
  • Equation Settings
  • Courier Address Lookup Settings

安裝方式

  1. Download and install the Plugin
  2. Upload the plugin folder to the ‘/wp-content/plugins/’ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. You will now have [courier_address], [courier_distance] and [courier_result] tag shortcodes and in Contact Form 7
  5. Insert your Google Maps Api Key in the settings

常見問題集

Installation Instructions
  1. Download and install the Plugin
  2. Upload the plugin folder to the ‘/wp-content/plugins/’ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. You will now have [courier_address], [courier_distance] and [courier_result] tag shortcodes and in Contact Form 7
  5. 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 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Courier Address〉的開發相關工作。

參與者

將〈Courier Address〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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