
內容簡介
這是一個通用的 Courier 地址欄位管理外掛程式,並具有特殊的 Courier 送貨收費擴展功能。 它與 Contact Form 7 相容,但也建立通用表單元素簡碼。 工作示例
[courier_address (from/to)] Courier 地址可能查找 / 預測 / 郵政編碼與地理編碼。
例如 [courier_address from] [courier_address to]
根據填寫在設置中的地址的郵政編碼收費。
[courier_distance] 搭載 Google 地圖顯示路程的距離。
基於其他地址欄位的名稱,例如 [courier_distance (from/to)]
[courier_result (name)] 基於設置中的靈活方程式的結果計算:
例如 [courier_result price]
Math.max({from-postal_code_price}, {to-postal_code_price})
Courier 地址欄位還啟用了 Contact Form 7 表單中安裝的所有其他簡碼,例如 simple_tooltip。
CF7 表單範例
<div id="addresses">
[courier_address* from required-address-detail:postcode_charge]從哪裡寄送?[/courier_address*]
[courier_address* to required-address-detail:postcode_charge]到哪裡?[/courier_address*]
</div>
<div id="results" class="when-has-price">
<label class="price-label">價格:</label> [courier_result* price currency:Ft]
[text* your-name placeholder "您的名字"]
[text* phone-number placeholder "電話號碼"]
[submit "申請配送"]
</div>
[courier_distance* from to measure:km map:400]
外掛標籤
開發者團隊
原文外掛簡介
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
[courier_address* to required-address-detail:postcode_charge]To?[/courier_address*]
[text* your-name placeholder "Your Name"]
[text* phone-number placeholder "Phonenumber"]
[submit "Request Delivery"]
[courier_distance* from to measure:km map:400]
