# Advanced Custom Fields (ACF) by WP Engine

When you use YayMail Pro with [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/) plugin (by WP Engine), you can add a custom field into your order and display that information in emails through YayMail.

First, you need to create a Field Group, and note that, in Settings > Location Rules, select Post Type is equal to **Order** as shown in the image below:

<figure><img src="https://157604815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJfBhHG_1ipE5lMX4qT%2Fuploads%2FvJj362ieQdB02wH56BeJ%2Fadd%20new%20field%20group.png?alt=media&#x26;token=7dd45235-9ec4-4f9d-8031-eaf37a6474c0" alt=""><figcaption></figcaption></figure>

After placing an order, you can see these fields displayed in the order:

<figure><img src="https://157604815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJfBhHG_1ipE5lMX4qT%2Fuploads%2Fr0xe48QMbwhmXphiS7Bn%2FACF%20in%20order.png?alt=media&#x26;token=f1672f36-047a-4954-8f02-16fda27e720c" alt=""><figcaption></figcaption></figure>

To add the custom field information to YayMail's template, please select a real order, then select Shortcode > Order Meta and and use those shortcodes accordingly.

<figure><img src="https://157604815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJfBhHG_1ipE5lMX4qT%2Fuploads%2FHEiN8ch04ShF3FJanwPL%2FACF%20in%20YayMail%20interface.png?alt=media&#x26;token=2e0b4f04-e0d3-447e-8640-a73512b930e7" alt=""><figcaption></figcaption></figure>

Happy customizing!&#x20;
