> 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/features/cart-discounts.md).

# Cart Discounts

This rule type allows you to set up product pricing campaign that affects only the Cart page and also allows you to **Show tooltip on cart discount, set Schedule, Usage limits** plus.

{% hint style="info" %}
**Requirements**: You need to enable the use of coupon codes beforehand to make cart discounts work.

From your admin dashboard, go to WooCommerce > Settings > Enable coupons, and check **Enable the use of coupon codes**.

<img src="/files/4VPzck8n0ajDci7biGRG" alt="" data-size="original">
{% endhint %}

There are **3 types of pricing** methods in this rule.

* Fixed discount
* Percentage discount
* Fixed Discount per Individual Cart Item

![A screenshot showing different pricing methods available in Cart Discount Rule](/files/UxCGmCzh21q15Ki5TZFz)

**(1).** This is a sub tab that will allow you to see the **3** methods of Cart Discount Pricing Rule.

**(2).** This sub tab will allow you to set the condition for the application of Cart Discount Rule, either to have it applied to All/Any of the set conditions.

![](/files/aShn2vqmtNq0yxSjtAKR)

**Show tooltip on cart discount:** You can use shortcodes in Variable list.

![](/files/Dr0XUY3d1XqVXSjiHi8b)

It will appear like this in **frontend**:

![](/files/9oYj3XL6UzCFCG8eeyZx)

**Percentage discount:** It means fixed discount based on set percentage.\
**Example:** If you set **Beanie** product discount to **20%**, and its basic cost is **$20,** and 2 items of **Album** which cost **$20**, the total discount is **$8** ( which is **20%** of both **1** **Beanie**, and **2** **Album**).

**Fixed Discount per Individual Cart Item:** It means fixed discount based on line item.\
**Example:** If you set discount to **$3**. If your cart has 1 item of **Beanie** and **2** items of **Album**, the total discount is **$9** ( **$3** of **Beanie**, and **$6** of **Album**).
