> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/yaypricing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/yaypricing/use-cases/order-discount.md).

# Order discount

Let's explore how to set up this promotion: Get 10% OFF entire order when cart subtotal value is more than $100.

**Discussion steps:**

* Discount
* Conditions
* Application

To get started with this, we will go through **YayCommerce >> YayPricing >> Cart Discount >> Add Rule.** Then select the Discount 50% cart total rule.

<figure><img src="/files/GUQWwzt447v5z5J5IKlG" alt=""><figcaption></figcaption></figure>

**Discount**

After selecting this rule type, then we go ahead to configuring the price discount settings, as seen in the screenshot below;

<figure><img src="/files/XMHzALYZ62fH6NdK8K6t" alt=""><figcaption></figcaption></figure>

**(1).** We give a **name to our rule** in this field, for our reference only, not to be shown to our customers.

**(2).** Our pricing type settings translates that we give **10% OFF** to customers when they add items to their cart (for it to be applied or not depends on the conditions we will set later on), and we did not set a maximum purchase limit for this case.

**(3).** When this box is checked, it shows the customers a **tooltip** on the price in the cart page after the discount is applied to the items in their cart.

**(4).** We checked this box to schedule a start and end date for our campaign. We set the campaign to start from **May 23, 2023 at 8:00am** and end at **May 31, 2023 at 12:00pm.**

**(5).** We also checked this box so that we can limit the number of times a specific customer can use the discount. The limit we set for this campaign is only **1** usage.

**Conditions**

<figure><img src="/files/s6UH2yXwcOBTpw1duYgZ" alt=""><figcaption></figcaption></figure>

We set a condition for this campaign and we set to All, so that all the conditions must apply to the rule.

The rule we set is **Cart subtotal price must be greater than $100**, which means that the customer must have added items worth up to $100 in the cart before the rule is shown or applied to them.

**Application**

A screenshot showing 3 items in the cart which cost $100+, thus triggers the 10% OFF discount.&#x20;

<figure><img src="/files/7kJ8krDK6rU6dUvx6DbY" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.yaycommerce.com/yaypricing/use-cases/order-discount.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.
