The Admin Checkout Email lets you know immediately when new members sign up. This is beneficial for both new and existing membership sites, but new site owners find it particularly helpful. Who doesn’t love watching their freshly launched membership site take off?
Additionally, if you have a high priced membership, some site owners need to personally reach out to new members. The admin checkout email notification provides you with the essential information you need about every new member.
How to Include User Fields in Admin Checkout Emails
The admin checkout email automatically includes any user field collected during the checkout process.
First, create custom fields via the settings page under Memberships > Settings > User Fields. Read the full documentation for help creating user fields in your WordPress site. This isn’t a guide on how to create user fields, but our documentation page has everything you need to add any kind of custom profile field.
If you are a developer or you have advanced custom field requirements, check out the documentation with code tutorials for creating user fields.
Next, complete a membership checkout on your site and fill out the user fields that were just added to your checkout. Your admin email confirmation includes all the fields entered by the member during the checkout process right at the bottom of the email content.
These fields are automatically included at the end of the email, so you don’t have to edit the checkout email content or use any custom code. However, you can exclude fields that you may not want in the checkout email. Use this totally optional code recipe to remove these specific fields.
The Code Recipe (PHP)
Adding the Recipe to Your Website
You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.
More Ways to Customize Emails
There are many ways to customize the emails that you send to both your admin and your members. The best place to start is reviewing our documentation on customizing email templates.
If you want to add more custom data to your emails, check out this tutorial on adding a new email template variable.