# Coupon Functionality

## **Create Coupon Category**

Go to WordPress Dashboard ->WPLocalPlus ->Coupon Category -> Add Category . And Create new coupon category.

![](/files/-M1ABGfwpYvBMXom9OIt)

## **Create a Coupon**

| **Setting Name** | Description                      |
| ---------------- | -------------------------------- |
| Coupon Name      | Name of the coupon               |
| Category         | Category of coupon               |
| Start Date       | Coupon starting date             |
| End Date         | Coupon ending date               |
| Description      | Description to display on coupon |
| Address          | Address                          |

![](/files/-M1AC9nr8ZE08FH-biUU)

## **Use a coupon shortcode in Page/Post**

Go to your WordPress Page/Post and use \[wplocalplus\_showcoupons] shortcode and publish it.

![](/files/-M1ACbI4magOnrtN_ZNA)

In the front end, you can see all the coupons as shown in the screenshot.

![](/files/-M1ACnPfgUbxpf8RpapP)


---

# 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://docs.wpeka.com/wplocalplus/coupon-functionality.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.
