A Cozmoslabs Product
Documentation / Developer Knowledge Base / Different Emails based on User Subscription

Different Emails based on User Subscription

For you to send personalized emails for each subscription after user registration, you’ll have to use a shortcode by installing a small plugin from: https://www.cozmoslabs.com/33775-wordpress-shortcode-compare-values/.

That allows you have different information based on user subscription.

Go to Paid Member Subscriptions -> Settings -> Emails and modify the Activate Subscription Email to something similar to:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Congratulations {{display_name}}! The "{{subscription_name}}" plan has been successfully activated.
 
[compare val1="{{subscription_name}}" val2="Free" operator="=="]
<h3>Welcome to "First Course".</h3>
<p>Here's a short list of things you'll learn:</p>
<ul>
  <li>Lesson 1</li>
  <li>Lesson 2</li>
</ul>
[/compare]
 
[compare val1="{{subscription_name}}" val2="Second Course" operator="=="]
<h3>Welcome to "Second Course".</h3>
<p>Here's a short list of things you'll learn:</p>
<ul>
  <li>Lesson 3</li>
  <li>Lesson 4</li>
</ul>
[/compare]

Paid Member Subscriptions Pro

Accept (recurring) payments, create subscription plans and restrict content on your website. Easily setup a WordPress membership site using Paid Member Subscriptions.

Get Paid Member Subscriptions

The Ultimate Membership Bundle

Combine the power of Profile Builder with Paid Member Subscriptions to set up user registration, memberships, and recurring revenue.

Get 25% off with the bundle

Help & Support

We’re here to help you every step of the way.

Open a Support Ticket