ERP Core

Edit the Email Templates

WP ERP sends emails by itself when something happens. For example, it sends a welcome email to a new employee and a reminder before a holiday. Each email has a template. You can change the text of a template, and you can turn some emails off.

Before you start

  • You must be a WordPress administrator.
  • Set the sender name and address first. See WP ERP Settings, step 5.
  • The CRM templates show only when the CRM module is on.

Step 1: Open the email templates

  1. In your WordPress admin, go to WP ERP → Settings.
  2. Open the Emails tab.
  3. Click Notifications & Templates.
The Notifications & Templates tab

Step 2: Find the email

The templates are in three groups. Click a group to see its emails.

  • HRM: emails to your employees and HR managers.
  • CRM: emails to your contacts and your sales team.
  • Accounting: emails about invoices, payments, estimates, and purchases.
The HRM email templates
The Accounting email templates

Step 3: Turn an email on or off

Click the switch in the Disable / Enable column. Green means that WP ERP sends this email.

The switch for the Employee welcome email

The leave request emails do not have a switch. WP ERP always sends them.

Step 4: Change the text of the email

  1. Click Configure next to the email.
  2. Change the Subject, the Heading, and the Body.
  3. To add a value that changes for each email, type a template tag. For example, {first_name} puts in the first name of the person. The Template Tags list under the body shows the tags that this email can use.
  4. Click Save.
The Configure Template window for the Employee welcome email

Result

WP ERP uses your new text the next time that it sends this email. Emails that WP ERP already sent do not change.

The emails

HRM

EmailWho gets itWhen
Employee welcomeThe new employeeWhen you add the employee and select the welcome email.
New Leave RequestThe HR managerWhen an employee asks for leave.
Approved Leave RequestThe employeeWhen HR approves the leave.
Rejected Leave RequestThe employeeWhen HR rejects the leave.
Birthday WishThe employeeOn the birthday of the employee.
Work Anniversary WishThe employeeOn the hire date of the employee, each year.
Upcoming government holiday reminderThe employeesBefore a holiday.

CRM

EmailWho gets it
New Task AssignedThe team member who gets a new task.
New Contact AssignedThe team member who becomes the owner of a contact.
Birthday Greetings To ContactsThe contact, on their birthday. See Send Birthday Greetings to Your Contacts.

Accounting

EmailWhen
New transaction invoiceYou make an invoice.
New transaction paymentYou record a payment.
New transaction pay purchaseYou pay for a purchase.
New transaction estimateYou make an estimate.
New transaction purchase orderYou make a purchase order.
New transaction purchaseYou record a purchase.

What changed in 2.0

These are the changes since the old version of this article.

  • The leave request emails have no on/off switch. All other templates have one.
  • Configure opens the template in a window on the same page.
  • Each template shows its own list of template tags under the body.

Was this article helpful to you?

How can we help?