> For the complete documentation index, see [llms.txt](https://remui-docs.edwiser.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://remui-docs.edwiser.org/edwiser-store/getting-started/post-installation/course-sync-as-product/payment-and-coupon/order-and-subscription/store-front-student-view/reviews-and-email/email-notifications-for-customer.md).

# Email Notifications (For Customer)

The Email Notifications module allows admins to configure automated emails sent to customers after a purchase or failed payment

Navigate to:\
**Store → Settings → Emails**

Admins can enable/disable emails, customize subject lines, modify content, and preview the messages before saving.

***

### **Types of Customer Emails**

Two types of automated emails are available:

1. **Order Confirmation Email**
2. **Payment Failed Email**

Each template includes dynamic placeholders to personalize emails using order and user data.

***

## **Order Confirmation Email**

This email is sent to the customer after an order is successfully created (regardless of payment outcome).

#### **Email Status**

* **Enabled / Disabled**\
  You can choose whether this email should be sent to customers.

#### **Subject Line**

Default:\
**Your order has been confirmed - {{order\_id}}**

You may customize the subject and use placeholders such as `{{order_id}}`.

***

#### **Email Content Fields**

**Default Email Content:**

```
Hi {{user_name}},

Thank you for your order! We're excited to confirm that we've {{received/not received}} your order through {{Payment method}}.

Order details:
- Payment status: {{received/not received}}
- Payment method: {{Payment method}}
- Order ID: {{order_id}}
- Order Date: {{order_date}}
- Total Amount: {{order_total}}

Product details:
- Product name: {{product name link}}
- Website: {{Moodle site login link}}
- Enrollment status: {{status Yes/No}}
- Enrollment date: {{date}}

If you have any questions, please don't hesitate to contact our support team {{email id}}.

Best regards,
{{store_name}} Team

---
If you didn't make this purchase, please contact us {{support email id}} immediately.
```

***

#### **Dynamic Placeholders Supported**

* `{{user_name}}`
* `{{order_id}}`
* `{{order_date}}`
* `{{order_total}}`
* `{{Payment method}}`
* `{{received/not received}}`
* `{{product name link}}`
* `{{Moodle site login link}}`
* `{{status Yes/No}}`
* `{{date}}`
* `{{email id}}`
* `{{support email id}}`
* `{{store_name}}`

These tags automatically fill based on order and user information.

***

## **Payment Failed Email**

This email is triggered when the payment attempt is unsuccessful.

#### **Email Status**

* **Enabled / Disabled**

#### **Subject Line**

Default:\
**Payment failed for order {{order\_id}}**

***

#### **Email Content Fields**

**Default Email Content:**

```
Hi {{user_name}},

It to inform that the payment {{Payment method}} {{payment status failed}}.

Order details:
- Payment status: {{Failed}}
- Payment method: {{Payment method}}
- Order ID: {{order_id}}
- Order Date: {{order_date}}
- Total Amount: {{order_total}}

Product details:
- Product name: {{product name link}}
- Website: {{Moodle site login link}}
- Enrollment status: {{status Yes/No}}
- Enrollment date: {{date}}

If you have any questions, please don't hesitate to contact our support team {{email id}}.

Best regards,
{{store_name}} Team

---
If you didn't make this purchase, please contact us {{support email id}} immediately.
```

***

#### **Dynamic Placeholders Supported**

(Same placeholders as order confirmation email)

***
