Are you trying to customize the loyalty points email templates ?

Here is a guide on how to translate the contents from our plugin using Loco Translate plugin :


There are three email template with Loyalty points plugin:

  • Points earned -> email sent to the customer when points earned through his purchase.
  • Referral Points Earned by Friend -> Sent to the Friend who earns points with the referral code.
  • Referral Points earned by Advocate -> Sent to Advocate after his first purchases with the code with the referral points.

First you will have to create override for the email template in your theme when you try to customize the email template.

Below are the paths for each template to create override:

Method 1:

Points Earned template

 Copy:

/wp-content/plugins/loyalty-points-rewards/Templates/emails/wlpr-earn-point.php

Copy the above files and paste it under the directory path below :

wp-content/themes/YOUR-THEME/woocommerce/emails/wlpr-earn-point.php


Referral Points Earned by Friend:

 Copy:

/wp-content/plugins/loyalty-points-rewards/Templates/emails/wlpr-referee-point.php

to your theme folder:

wp-content/themes/YOUR-THEME/woocommerce/emails/wlpr-referee-point.php


Referral Points earned by Advocate

Copy:

/wp-content/plugins/loyalty-points-rewards/Templates/emails/wlpr-referral-point.php 

to your theme folder: 

wp-content/themes/YOUR-THEME/woocommerce/emails/wlpr-referral-point.php.

Method 2:

There is another simple method to override the file in just a single click.

Navigate to Woocommerce -> Settings -> Emails.

Choose the manage option near to the template that you wish to customize:

Click on copy file to template which automatically creates an override on your template folder:

That is so easy, isn't it !

Now, you can customize your email templates.

Once the file are overridden to your theme folder, you can then edit the overridden file and make your changes.

Then Save the file.

I have more questions ?

Please submit a support request. We are always happy to assist you :)


Did this answer your question?