> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/yaymail/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/yaymail/integrations/advanced-custom-fields-acf-by-wp-engine.md).

# 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="/files/njfIDiZ5vbnlrYpEOicz" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/bY8Qr8Y5Z8RxyJpnVP87" 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="/files/zp7Bophp5yYX0pTHy39o" alt=""><figcaption></figcaption></figure>

Happy customizing!&#x20;
