# Coupons

## **Accessing Coupons**

To manage coupons:

1. Go to **Store → Coupons**
2. You will see the Coupons list and a **+ Add new coupon** button
3. Click **Add new coupon** to create a new discount code

***

## **Add New Coupon**

Clicking **+ Add new coupon** opens the coupon creation panel.

Below are all available fields and their purpose:

***

### **Coupon Title (Code)** *(Required)*

* Enter the coupon code customers will use at checkout
* Example: `EDW10`, `WELCOME50`
* **No spaces** allowed
* This appears exactly as typed in the checkout box

***

### **Description**

* Add an internal note to describe what the coupon is for
* Not shown to customers, only visible to the admin

***

### **Coupon Status**

Toggle between:

* **Active** — coupon can be used
* **Inactive** — coupon is saved but cannot be applied

***

### **Coupon Type** *(Required)*

Choose the type of discount:

#### **Percentage**

* Applies a % discount (e.g., 10%, 25%, 50%)

#### **Fixed Amount**

* Reduces the price by a fixed currency value (e.g., $10 off)

***

### **Value** *(Required)*

* Enter the percentage or fixed discount value
* The system automatically interprets it based on the selected **Coupon Type**

***

### **Expiry Date**

* Select the last valid date for this coupon
* Format: **dd/mm/yyyy**
* Leaving this blank means the coupon has **no expiry**

***

### **Coupon Usage Limit (Per Customer)**

* Set how many times a single customer can use this coupon
* Example:
  * Enter **1** → each user can apply the coupon only once
  * Leave blank → **Unlimited usage**

***

## **Saving the Coupon**

After filling the fields:

* Click **Add coupon** to save
* Use **Cancel** to discard changes

Once saved, the coupon appears in the Coupons list and becomes available at checkout (if status is active).

***

## **Customer Experience**

At checkout, customers will see a field to **enter a coupon code**.\
When applied successfully:

* The discount value is shown
* The final payable amount is updated automatically

If a coupon is invalid, expired, or exceeds usage limits:

* A validation message is displayed


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://remui-docs.edwiser.org/edwiser-store/getting-started/post-installation/course-sync-as-product/payment-and-coupon/coupons.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
