Title: F4 Salutation Fields for WooCommerce
Author: FAKTOR VIER
Published: <strong>2018 年 12 月 5 日</strong>
Last modified: 2025 年 12 月 16 日

---

搜索插件

![](https://ps.w.org/f4-woocommerce-salutation-fields/assets/banner-772x250.jpg?
rev=1985795)

![](https://ps.w.org/f4-woocommerce-salutation-fields/assets/icon-256x256.jpg?rev
=1985795)

# F4 Salutation Fields for WooCommerce

 作者：[FAKTOR VIER](https://profiles.wordpress.org/faktorvier/)

[下载](https://downloads.wordpress.org/plugin/f4-woocommerce-salutation-fields.1.0.20.zip)

 * [详情](https://cn.wordpress.org/plugins/f4-woocommerce-salutation-fields/#description)
 * [评价](https://cn.wordpress.org/plugins/f4-woocommerce-salutation-fields/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/f4-woocommerce-salutation-fields/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/f4-woocommerce-salutation-fields/#developers)

 [支持](https://wordpress.org/support/plugin/f4-woocommerce-salutation-fields/)

## 描述

[F4 Salutation Fields for WooCommerce](https://www.f4dev.ch) 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

## 屏幕截图

[⌊Field in checkout form⌉⌊Field in checkout form⌉[

Field in checkout form

[⌊Fields on order confirmation page⌉⌊Fields on order confirmation page⌉[

Fields on order confirmation page

[⌊Fields in order confirmation e-mail⌉⌊Fields in order confirmation e-mail⌉[

Fields in order confirmation e-mail

[⌊Fields on the order admin page⌉⌊Fields on the order admin page⌉[

Fields on the order admin page

[⌊Fields on the edit address dashboard⌉⌊Fields on the edit address dashboard⌉[

Fields on the edit address dashboard

[⌊Fields in edit address form⌉⌊Fields in edit address form⌉[

Fields in edit address form

[⌊Field configuration in WooCommerce settings⌉⌊Field configuration in WooCommerce
settings⌉[

Field configuration in WooCommerce settings

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/f4-woocommerce-salutation-fields`
    directory, or install the plugin through the WordPress plugins screen directly
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Woocommerce -> Settings -> Accounts & Privacy screen to configure the plugin

## 评价

![](https://secure.gravatar.com/avatar/b19e4279155f5def58f5f53d9045af713da4b8ea35c2c8effea8cf318f3d6dcd?
s=60&d=retro&r=g)

### 󠀁[Easy to set up, easy to use](https://wordpress.org/support/topic/easy-to-set-up-easy-to-use-10/)󠁿

 [hornblower](https://profiles.wordpress.org/hornblower/) 2021 年 4 月 1 日

Thanks for a great plugin. Code hint was perfect for adding in extra required salutations.
Thumbs up from me 🙂

![](https://secure.gravatar.com/avatar/8b57c1a87ec488ceb2a7bb23420bdca75018cc74588d9a470a40b8c4d6b911c0?
s=60&d=retro&r=g)

### 󠀁[Works perfect and great support](https://wordpress.org/support/topic/works-perfect-and-great-support-3/)󠁿

 [WebCodePoet](https://profiles.wordpress.org/senjoralfonso/) 2021 年 4 月 22 日

For me, the plugin works perfect and after the fast and very professional supports
help, also my customizations are possible. 🙂

![](https://secure.gravatar.com/avatar/1b9bbae027034df0b6aca68068ea00b34fa581bce2861a6ac0fd0f8d350de2c2?
s=60&d=retro&r=g)

### 󠀁[does exactly what it should](https://wordpress.org/support/topic/does-exactly-what-it-should-24/)󠁿

 [rhcburg](https://profiles.wordpress.org/rhcburg/) 2019 年 6 月 2 日

solved my problem out of the box. saved hours of coding it myself

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/f4-woocommerce-salutation-fields/reviews/)

## 贡献者及开发者

「F4 Salutation Fields for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ FAKTOR VIER ](https://profiles.wordpress.org/faktorvier/)

「F4 Salutation Fields for WooCommerce」插件已被翻译至 3 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/f4-woocommerce-salutation-fields/contributors)
为本插件所做的贡献。

[帮助将「F4 Salutation Fields for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/f4-woocommerce-salutation-fields)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/f4-woocommerce-salutation-fields/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/f4-woocommerce-salutation-fields/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/f4-woocommerce-salutation-fields/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/f4-woocommerce-salutation-fields/)。

## 更新日志

#### 1.0.20

 * Fix settings fields position
 * Support WooCommerce 10.4
 * Support WordPress 6.9

#### 1.0.19

 * Support WooCommerce 8.7
 * Support WordPress 6.5

#### 1.0.18

 * Support WooCommerce 8.1
 * Support WordPress 6.3

#### 1.0.17

 * Add support for WC “High-Performance Order Storage” feature
 * Add support for WC “New product editor” feature
 * Support WooCommerce 7.8
 * Support WordPress 6.2

#### 1.0.16

 * Support WooCommerce 7.1
 * Support WordPress 6.1

#### 1.0.15

 * Update www.f4dev.ch links
 * Support WooCommerce 6.8

#### 1.0.14

 * Fix error in Germanized for Woocommerce preview
 * Support WooCommerce 6.7

#### 1.0.13

 * Support WooCommerce 6.5
 * Support WordPress 6.0

#### 1.0.12

 * Support WordPress 5.9

#### 1.0.11

 * Support WooCommerce 5.5
 * Support WordPress 5.8

#### 1.0.10

 * Support WordPress 5.7

#### 1.0.9

 * Support WooCommerce 5.0

#### 1.0.8

 * Support WooCommerce 4.8
 * Support WordPress 5.6

#### 1.0.7

 * Save guest checkout fields in session

#### 1.0.6

 * Support WooCommerce 4.4
 * Support WordPress 5.5

#### 1.0.5

 * Update translations

#### 1.0.4

 * Support WooCommerce 4.0
 * Support WordPress 5.4

#### 1.0.3

 * Fix privacy export and erase

#### 1.0.2

 * Add donation link
 * Rename plugin according to the new naming conventions

#### 1.0.1

 * Fix formatted output

#### 1.0.0

 * Initial stable release

## 额外信息

 *  版本 **1.0.20**
 *  最后更新：**6 月前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/f4-woocommerce-salutation-fields/)、
   [German](https://de.wordpress.org/plugins/f4-woocommerce-salutation-fields/) 、
   [German (Austria)](https://de-at.wordpress.org/plugins/f4-woocommerce-salutation-fields/)
   和 [German (Switzerland)](https://de-ch.wordpress.org/plugins/f4-woocommerce-salutation-fields/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/f4-woocommerce-salutation-fields)
 * 标签
 * [address](https://cn.wordpress.org/plugins/tags/address/)[checkout](https://cn.wordpress.org/plugins/tags/checkout/)
   [field](https://cn.wordpress.org/plugins/tags/field/)[woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/f4-woocommerce-salutation-fields/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/f4-woocommerce-salutation-fields/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/f4-woocommerce-salutation-fields/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/f4-woocommerce-salutation-fields/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/f4-woocommerce-salutation-fields/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/f4-woocommerce-salutation-fields/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/f4-woocommerce-salutation-fields/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/f4-woocommerce-salutation-fields/reviews/)

## 贡献者

 *   [ FAKTOR VIER ](https://profiles.wordpress.org/faktorvier/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/f4-woocommerce-salutation-fields/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.faktorvier.ch/donate/)