前言介紹
- 這款 WordPress 外掛「F4 Salutation Fields for WooCommerce」是 2018-12-04 上架。
- 目前有 200 個安裝啟用數。
- 上一次更新是 2024-04-02,距離現在已有 397 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 有 3 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
field | address | checkout | salutation | woocommerce |
內容簡介
F4 Salutation Fields for WooCommerce 增加一個下拉式選單(更多欄位類型即將推出),以選擇帳單或送貨地址的稱呼。
該外掛程式自動在每個格式化地址輸出的名字前添加稱呼。這是該外掛進行的其他一些操作:
在帳單和/或送貨地址結帳表單中添加稱呼欄位
在編輯帳單和/或送貨地址儀錶板和表單中添加稱呼欄位
在編輯訂單後台頁面上添加稱呼欄位
顯示隱私數據匯出中的稱呼欄位
如果在隱私清除時請求,則擦除稱呼數據
在訂單(感謝您頁面、電子郵件等)中顯示稱呼欄位
目前稱呼欄位僅顯示Mr.和Mrs.。如果您想要添加更多或翻譯這些值,請參見下面的代碼片段。
使用方法
此外掛可即插即用。預設情況下,帳單和運輸的稱呼欄位均已啟用並標記為必填。
您可以在 WooCommerce 設置中的帳戶和隱私屏幕上更改兩個欄位的設置。您可以隱藏或將兩個欄位設置為可選/必填。
如果您想添加更多的稱呼,更改標籤或添加自己的翻譯,可以使用以下鉤子
add_filter('F4/WCSF/get_salutation_options', function($options, $settings) {
// 更改標籤
$options['mr'] = '先生';
// 新增標籤
$options['dr'] = '博士';
$options['prof'] = '教授';
return $options;
}, 10, 2);
功能總覽
添加稱呼欄位
無需進行配置即可運行
可為兩個領域進行配置
易於使用
輕量且經過優化
100%免費!
計劃中的功能
完全集成到API和REST中
比選擇更多欄位類型
易於配置和添加自己的選項
原文外掛簡介
F4 Salutation Fields for WooCommerce adds a dropdown menu (more field types coming soon) to select the address salutation to the billing and/or shipping address.
The plugin prepends the salutation automatically before the name in every formatted address output. Here are a few more things the plugin does:
Adds salutation fields to the billing and/or shipping address checkout form
Adds salutation fields to the edit billing and/or shipping address dashboard and form
Adds salutation fields to the edit order backend page
Shows salutation fields in privacy data export
Erases salutation data if privacy erase is requested
Shows salutation field in orders (thank you page, email etc.)
Currently only Mr. and Mrs. are shown in the salutation field. If you want to add more or translate this values, see the code snippet below.
Usage
This plugin works out-of-the-box. By default, both salutation fields for billing and shipping are enabled and marked as required.
You can change the settings for both fields on the Accounts & Privacy screen in your WooCommerce settings. Both fields you can hide or set to optional/required.
If you want to add more salutations, change the labels or add your own translations, you can use this hook:
add_filter('F4/WCSF/get_salutation_options', function($options, $settings) {
// Change label
$options['mr'] = 'Mister';
// Add new labels
$options['dr'] = 'Dr.';
$options['prof'] = 'Prof.';
return $options;
}, 10, 2);
Features overview
Adds salutation fields
Works without configuration
Can be configurated for both fields
Easy to use
Lightweight and optimized
100% free!
Planned features
Full integration into API and REST
More field types than select
Easy to configure and add own options
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「F4 Salutation Fields for WooCommerce」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 1.0.6 | 1.0.7 | 1.0.8 | 1.0.9 | trunk | 1.0.10 | 1.0.11 | 1.0.12 | 1.0.13 | 1.0.14 | 1.0.15 | 1.0.16 | 1.0.17 | 1.0.18 | 1.0.19 |
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。