Title: F4 Shipping Phone and E-Mail for WooCommerce
Author: FAKTOR VIER
Published: <strong>30.11.2018</strong>
Last modified: 28.09.2026

---

Поиск плагинов

![](https://ps.w.org/f4-woocommerce-shipping-phone-and-e-mail/assets/banner-772x250.
jpg?rev=1983100)

![](https://ps.w.org/f4-woocommerce-shipping-phone-and-e-mail/assets/icon-256x256.
jpg?rev=1983100)

# F4 Shipping Phone and E-Mail for WooCommerce

 Автор: [FAKTOR VIER](https://profiles.wordpress.org/faktorvier/)

[Скачать](https://downloads.wordpress.org/plugin/f4-woocommerce-shipping-phone-and-e-mail.1.0.22.zip)

 * [Детали](https://ru.wordpress.org/plugins/f4-woocommerce-shipping-phone-and-e-mail/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/f4-woocommerce-shipping-phone-and-e-mail/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/f4-woocommerce-shipping-phone-and-e-mail/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/f4-woocommerce-shipping-phone-and-e-mail/#developers)

 [Поддержка](https://wordpress.org/support/plugin/f4-woocommerce-shipping-phone-and-e-mail/)

## Описание

[F4 Shipping Phone and E-Mail for WooCommerce](https://www.f4dev.ch) does exactly
what the name says. It adds (often needed) fields
 for e-mail and/or telephone number
to the shipping address. Here are a few things the plugin does:

 * Adds e-mail and/or telephone field to the shipping address checkout form
 * Adds e-mail and/or telephone field to the edit shipping address form
 * Adds e-mail and/or telephone field to the edit order backend page
 * Shows e-mail and/or telephone field in privacy data export
 * Erases e-mail and/or telephone data if privacy erase is requested
 * Shows e-mail and/or telephone field in orders (thank you page, email etc.)
 * Full integration into the PayPal payment gateway

#### Usage

This plugin works out-of-the-box. By default, the settings from the billing address

are used for both fields (e-mail = required and telephone = required, optional or
hidden, according to the billing address settings).

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.

#### Features overview

 * Adds e-mail and/or telephone 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
 * Compatibility check for other popular payment gateways

## Скриншоты

[⌊Fields in checkout shipping form⌉⌊Fields in checkout shipping form⌉[

Fields in checkout shipping 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 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-shipping-phone-
    and-e-mail` 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

## Часто задаваемые вопросы

### Since WooCommerce 5.6 the shipping phone is missing in the email addresses and on the order page

Since WooCommerce 5.6 the shipping phone is natively supported in the formatted 
shipping address. You have to make sure that your template files
 (emails/email-
addresses.php, emails/plain/email-addresses.php, order/order-details-customer.php)
are up-to-date (@version 5.6.0). If your template is not at least 5.6 compatible
then you can simply add the following hook to your functions.php. This hook should
restore the previous functionality until your templates are up-to-date:

    ```
    add_filter('F4/WCSPE/append_phone_field_to_formatted_address', '__return_true')
    ```

### The shipping email/phone fields are displayed wrong or different than the billing email/phone fields

Since WooCommerce 5.6 the order of our shipping email/phone fields is different 
than the billing email/phone fields. Thats because our simple solution to add
 this
fields to every theme without changing the code is limited and the WooCommerce 5.6
update changes a few things in the template files that prevents us from displaying
the fields in the right order. Also the shipping fields may look different than 
the billing fields, because we don’t add any html code to format the output. If 
you want to change the order of the billing phone/email or the displayed output,
you can follow these steps to disable our default output and add your own code:

Add the following hook to your theme (functions.php):

    ```
    add_filter('F4/WCSPE/append_email_field_to_formatted_address', '__return_false');
    add_filter('F4/WCSPE/append_phone_field_to_formatted_address', '__return_false'); // only for versions lesser than 5.6
    ```

Search in the template file `emails/email-addresses.php` for the following code:

    ```
    <address class="address">
        <?php echo wp_kses_post( $shipping ); ?>
        <?php if ( $order->get_shipping_phone() ) : ?>
            <br /><?php echo wc_make_phone_clickable( $order->get_shipping_phone() ); ?>
        <?php endif; ?>
    </address>
    ```

and replace it with this code:

    ```
    <address class="address">
        <?php echo wp_kses_post( $shipping ); ?>
        <?php if ( $order->get_shipping_phone() ) : ?>
            <br /><?php echo wc_make_phone_clickable( $order->get_shipping_phone() ); ?>
        <?php endif; ?>
        <?php if ( $order->get_meta('_shipping_email') ) : ?>
            <br/><?php echo esc_html( $order->get_meta('_shipping_email') ); ?>
        <?php endif; ?>
    </address>
    ```

Search in the template file `emails/plain/email-addresses.php` for the following
code:

    ```
    if ( $order->get_shipping_phone() ) {
        echo $order->get_shipping_phone() . "\n"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    }
    ```

and replace it with this code:

    ```
    if ( $order->get_shipping_phone() ) {
        echo $order->get_shipping_phone() . "\n"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    }
    if ( $order->get_meta('_shipping_email') ) {
        echo $order->get_meta('_shipping_email') . "\n"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    }
    ```

Search in the template file `order/order-details-customer.php` for the following
code:

    ```
    <?php if ( $order->get_shipping_phone() ) : ?>
        <p class="woocommerce-customer-details--phone"><?php echo esc_html( $order->get_shipping_phone() ); ?></p>
    <?php endif; ?>
    ```

and replace it with this code:

    ```
    <?php if ( $order->get_shipping_phone() ) : ?>
        <p class="woocommerce-customer-details--phone"><?php echo esc_html( $order->get_shipping_phone() ); ?></p>
    <?php endif; ?>

    <?php if ( $order->get_meta('_shipping_email') ) : ?>
        <p class="woocommerce-customer-details--email"><?php echo esc_html( $order->get_meta('_shipping_email') ); ?></p>
    <?php endif; ?>
    ```

The code may vary in your theme, you just have to look for similar looking code.

### Is it really free?

Yes, absolutely!

## Отзывы

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

### 󠀁[Lightweight plugin. Great support.](https://wordpress.org/support/topic/lightweight-plugin-great-support/)󠁿

 [tjos123](https://profiles.wordpress.org/tjos123/) 18.10.2021

Been using this plugin for months now. It works seamlessly. Support has been helpful.
Appreciate it.

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

### 󠀁[Well done](https://wordpress.org/support/topic/well-done-614/)󠁿

 [Galeor](https://profiles.wordpress.org/galeor/) 27.11.2020

Excellent and simple. Thank you.

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

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-9229/)󠁿

 [aalahdal](https://profiles.wordpress.org/aalahdal/) 07.06.2020

Thank you it is working like a charm, it is also available in the REST API result
as a meta field.

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

### 󠀁[Simple and Great](https://wordpress.org/support/topic/simple-and-great-142/)󠁿

 [niguramu](https://profiles.wordpress.org/niguramu/) 04.01.2020

I only needed this. Recommended for those who do not need to add or move other fields.

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

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-23881/)󠁿

 [yujinyang](https://profiles.wordpress.org/yujinyang/) 30.11.2019 1 ответ

I created a wordpress.org account to write this review. This is a great plugin! 
I wasted a few hours to search for a way to include a shipping phone number to emails
for customers and admin, but failed to find the proper way. But this plugin does
it. THANK YOU!!!

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

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-23274/)󠁿

 [miwebdesigns](https://profiles.wordpress.org/miwebdesigns/) 09.10.2019 1 ответ

I usually do not waste my time in giving reviews, but this plugin is great. I spent
hours trying to find code that would do everything this plugin does in a couple 
of minutes.

 [ Посмотреть все 8 отзывов ](https://wordpress.org/support/plugin/f4-woocommerce-shipping-phone-and-e-mail/reviews/)

## Участники и разработчики

«F4 Shipping Phone and E-Mail for WooCommerce» — проект с открытым исходным кодом.
В развитие плагина внесли свой вклад следующие участники:

Участники

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

«F4 Shipping Phone and E-Mail for WooCommerce» переведён на 4 языка. Благодарим 
[переводчиков](https://translate.wordpress.org/projects/wp-plugins/f4-woocommerce-shipping-phone-and-e-mail/contributors)
за их работу.

[Перевести «F4 Shipping Phone and E-Mail for WooCommerce» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/f4-woocommerce-shipping-phone-and-e-mail)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/f4-woocommerce-shipping-phone-and-e-mail/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/f4-woocommerce-shipping-phone-and-e-mail/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/f4-woocommerce-shipping-phone-and-e-mail/)
по [RSS](https://plugins.trac.wordpress.org/log/f4-woocommerce-shipping-phone-and-e-mail/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 1.0.22

 * Support WooCommerce 11.1
 * Support WordPress 7.1
 * Requires PHP 8.0
 * Requires at least WP 6.0

#### 1.0.21

 * Make checkout fields persistent in session
 * Fix shipping email in order preview template
 * Support WooCommerce 10.9
 * Support WordPress 7.0

#### 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

 * Add support for WC «High-Performance Order Storage» feature
 * Add support for WC «New product editor» feature
 * Support WooCommerce 8.2
 * Support WordPress 6.3

#### 1.0.17

 * Support WooCommerce 7.1
 * Support WordPress 6.1

#### 1.0.16

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

#### 1.0.15

 * Support WooCommerce 6.5
 * Support WordPress 6.0

#### 1.0.14

 * Support WordPress 5.9

#### 1.0.13

 * Fix phone field output in formatted address for WooCommerce 5.6
 * Add hooks to individually hide email or phone field in formatted address
 * Add some FAQ
 * Support WooCommerce 5.6

#### 1.0.12

 * Fix condition for formatted part in address block
 * Support WooCommerce 5.5
 * Support WordPress 5.8

#### 1.0.11

 * Support WooCommerce 5.0
 * Support WordPress 5.7

#### 1.0.10

 * Support WooCommerce 4.8
 * Support WordPress 5.6

#### 1.0.9

 * Save guest checkout fields in session

#### 1.0.8

 * Support WooCommerce 4.4
 * Support WordPress 5.5

#### 1.0.7

 * Update translations

#### 1.0.6

 * Support WooCommerce 4.0
 * Support WordPress 5.4

#### 1.0.5

 * Fix privacy export and erase

#### 1.0.4

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

#### 1.0.3

 * Fix formatted output

#### 1.0.2

 * Fix «load shipping address» function in order backend

#### 1.0.1

 * Update plugin slug and basename for better compatibility with the plugin name

#### 1.0.0

 * Initial stable release

## Мета

 *  Версия **1.0.22**
 *  Обновление: **1 неделя назад**
 *  Активных установок: **800+**
 *  Версия WordPress ** 6.0 или выше **
 *  Совместим вплоть до: **7.1.3**
 *  Версия PHP ** 8.0 или выше **
 *  Языки
 * [English (US)](https://wordpress.org/plugins/f4-woocommerce-shipping-phone-and-e-mail/),
   [German](https://de.wordpress.org/plugins/f4-woocommerce-shipping-phone-and-e-mail/),
   [German (Austria)](https://de-at.wordpress.org/plugins/f4-woocommerce-shipping-phone-and-e-mail/),
   [German (Switzerland)](https://de-ch.wordpress.org/plugins/f4-woocommerce-shipping-phone-and-e-mail/)
   и [Swedish](https://sv.wordpress.org/plugins/f4-woocommerce-shipping-phone-and-e-mail/).
 *  [Перевести на ваш язык](https://translate.wordpress.org/projects/wp-plugins/f4-woocommerce-shipping-phone-and-e-mail)
 * Метки:
 * [checkout](https://ru.wordpress.org/plugins/tags/checkout/)[email](https://ru.wordpress.org/plugins/tags/email/)
   [shipping](https://ru.wordpress.org/plugins/tags/shipping/)[telephone](https://ru.wordpress.org/plugins/tags/telephone/)
   [woocommerce](https://ru.wordpress.org/plugins/tags/woocommerce/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/f4-woocommerce-shipping-phone-and-e-mail/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  8 5-звездный отзыв     ](https://wordpress.org/support/plugin/f4-woocommerce-shipping-phone-and-e-mail/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/f4-woocommerce-shipping-phone-and-e-mail/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/f4-woocommerce-shipping-phone-and-e-mail/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/f4-woocommerce-shipping-phone-and-e-mail/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/f4-woocommerce-shipping-phone-and-e-mail/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/f4-woocommerce-shipping-phone-and-e-mail/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/f4-woocommerce-shipping-phone-and-e-mail/reviews/)

## Участники

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

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/f4-woocommerce-shipping-phone-and-e-mail/)

## Пожертвование

Хотите поддержать улучшение этого плагина?

 [ Пожертвовать на развитие плагина ](https://www.faktorvier.ch/donate/)