> ## Documentation Index
> Fetch the complete documentation index at: https://docs.checkoutrules.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Discount order amount

> Discount order subtotal amount based on the given conditions.

<iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/0Ycnj8sHsx0?si=Qon2r_KSKqHXJh1N" title="BeSure Discount Order Amount" style={{ border: 0 }} allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

## Rule overview

This rule allows you to apply a discount to the order subtotal based on the defined conditions. You can offer discounts as a percentage, fixed amount off, percentage excluding specific products, percentage for only specific products, fixed amount off excluding specific products, or fixed amount off for only specific products using criteria such as order total amount, customer tags, shipping address, product tags, etc.

Using this rule you can create a discount code, or create an automatic discount. If the rule creates a discount code, then customer can use the discount code at the checkout to get the discount. Otherwise, if automatic discount is selected, then the rule can apply a discount automatically to the order subtotal based on the configured conditions. This helps incentivize purchases, reward specific customers, and drive higher conversion rates.

## Sample configuration

The following steps show how to create and configure a **Discount Order Amount** rule using the app.

### Create a new rule

From your [Shopify admin](/guides/en/get-started/installation#go-to-the-app), open the app. In the sidebar, go to the [Rules](/guides/en/get-started/quickstart#create-a-sample-rule) section and click *"Create Rule"*.

Then, You’ll be redirected to the **Select checkout rule type screen**. Choose *category "Discount" → select checkout rule type "Discount order amount" → click “Select Rule”*.

<img src="https://mintcdn.com/storespark/zQqGNM0gkiGw9j3r/images/essentials/discount/select-discount-amount.webp?fit=max&auto=format&n=zQqGNM0gkiGw9j3r&q=85&s=04276ee6ab43ec274f800a0694a90f10" alt="Select Discount" width="980" height="583" data-path="images/essentials/discount/select-discount-amount.webp" />

Next, you’ll land on the **Create new order discount rule** screen, where you can configure your rule.

### Rule configuration

To configure the rule, first optionally add a name such as "Discount order amount" to describe what it does if you want to apply an **"Automatic discount"**.

<img src="https://mintcdn.com/storespark/zQqGNM0gkiGw9j3r/images/essentials/discount/automatic-discount-name-discount-order-amount.webp?fit=max&auto=format&n=zQqGNM0gkiGw9j3r&q=85&s=8cb5c31807394fc0ce7e3afd3dbc7925" alt="Automatic Discount Name" width="969" height="232" data-path="images/essentials/discount/automatic-discount-name-discount-order-amount.webp" />

Or, if you prefer to apply the discount using a discount code, click **"Discount code"** and enter your desired code or generate one randomly by clicking **"Generate random code"**.

<img src="https://mintcdn.com/storespark/zQqGNM0gkiGw9j3r/images/essentials/discount/discount-code-discount-order-amount.webp?fit=max&auto=format&n=zQqGNM0gkiGw9j3r&q=85&s=24ed182db57e711ac864f8811d7fa0cc" alt="Discount Code" width="967" height="231" data-path="images/essentials/discount/discount-code-discount-order-amount.webp" />

Next, on the same screen, select the rule [status](/guides/en/get-started/concepts#status): Testing, Active, or Deactivated. Here we are going to choose **Testing** status, so we can quickly test the rule without affecting the checkout for actual customers.

<img src="https://mintcdn.com/storespark/I1UBjFyXWKs0eNGB/images/essentials/shipping/rule-status-discount-shipping-methods.webp?fit=max&auto=format&n=I1UBjFyXWKs0eNGB&q=85&s=b40acf4474dd3b95c751062dfadd56d6" alt="Rule Status" width="959" height="291" data-path="images/essentials/shipping/rule-status-discount-shipping-methods.webp" />

Next, on the same screen, configure the [Combinations](/guides/en/get-started/concepts#combinations) settings to control how this order discount interacts with **other discounts**. You can choose to allow it to combine with:

* **Product discounts** – This lets the order discount be used alongside any product level discounts. Make sure product discounts are also configured to combine with order discounts.

* **Order discounts** – This enables multiple order level discounts to be applied together. Ensure the other order discounts are also set to combine with order discounts.

* **Shipping discounts** – This allows the order discount to be used together with shipping level discounts. Confirm that shipping discounts are also set to combine with order discounts.

<img src="https://mintcdn.com/storespark/zQqGNM0gkiGw9j3r/images/essentials/discount/combinations-discount-order-amount.webp?fit=max&auto=format&n=zQqGNM0gkiGw9j3r&q=85&s=d36ff72b3e6b808595d7e80ad4e0c6b0" alt="Combinations" width="967" height="267" data-path="images/essentials/discount/combinations-discount-order-amount.webp" />

Next, on the same screen, configure the [Strategy](/guides/en/get-started/concepts#strategy) settings to control how the system handles multiple discount blocks. You can choose **First**, which applies only the first discount that meets the conditions, ignoring any better discounts that may come later, or **Maximum**, which evaluates all discount blocks and applies the one with the highest reduction.

<img src="https://mintcdn.com/storespark/8qTRK-A8nfquzM_u/images/essentials/discount/strategy-order-discount.webp?fit=max&auto=format&n=8qTRK-A8nfquzM_u&q=85&s=c32f10c6f90305756b84da20ee8c6d3f" alt="Strategy Order Discount" width="970" height="218" data-path="images/essentials/discount/strategy-order-discount.webp" />

Next, on the same screen, select the relevant [condition](/guides/en/get-started/concepts#conditions-when) and [action](/guides/en/get-started/concepts#action-what).

> As an example, here we are setting the rule to run Always and configuring it to apply a **10% discount** using the Percentage option. The discount message **"10% OFF"** will be shown to customers at checkout.

<img src="https://mintcdn.com/storespark/8qTRK-A8nfquzM_u/images/essentials/discount/condition-set-discount-order-amount.webp?fit=max&auto=format&n=8qTRK-A8nfquzM_u&q=85&s=46f0f8b7ace16c03757dbf7cde120126" alt="Condition Set Discount" width="981" height="490" data-path="images/essentials/discount/condition-set-discount-order-amount.webp" />

In the Action section, you can choose to apply the discount using **Percentage** or **Fixed amount off** without needing to select specific products. All other methods **Percentage excluding these products, Percentage for only these products, Fixed amount off excluding these products, and Fixed amount off for only these products** require you to select products for the discount to work.

<img src="https://mintcdn.com/storespark/8qTRK-A8nfquzM_u/images/essentials/discount/action-type-discount-order-amount.webp?fit=max&auto=format&n=8qTRK-A8nfquzM_u&q=85&s=f9df86d28718450586259d0574bef787" alt="Action Type Discount" width="936" height="236" data-path="images/essentials/discount/action-type-discount-order-amount.webp" />

Next, on the same screen, in the [Maximum Discount Uses](/guides/en/get-started/concepts#maximum-discount-uses) section, you can optionally enable a usage limit for the discount code, limit it to one use per customer, or apply both if a discount code is selected.

Finally, click the <b>Save</b> button at the top to create and save your rule.

<img src="https://mintcdn.com/storespark/ZoBcc0QT_aT_tX8T/images/shared/save-rule.webp?fit=max&auto=format&n=ZoBcc0QT_aT_tX8T&q=85&s=49b09a4f049059fd67144f92d10233ca" alt="Rule Save" width="713" height="184" data-path="images/shared/save-rule.webp" />

## Test the rule

Since, the rule is set to testing status, we have to use `test@testing.com` as the email, instead of the actual email, to run the rule at checkout.

<Warning>
  The image below shows the checkout page <b>before</b> the testing email
  address was used. Please note there is no discount applied yet.
</Warning>

<img src="https://mintcdn.com/storespark/8qTRK-A8nfquzM_u/images/essentials/discount/before-rule-apply-discount-methods.webp?fit=max&auto=format&n=8qTRK-A8nfquzM_u&q=85&s=49d5decd6614fb1ee2391bd2f411ebd0" alt="Before Rule Apply" width="1024" height="813" data-path="images/essentials/discount/before-rule-apply-discount-methods.webp" />

After setting the email, the checkout rule runs and applies the configured **10% discount** using the Percentage option. We can verify that the **"10% OFF"** discount message is visible at the checkout, as shown below.

<img src="https://mintcdn.com/storespark/8qTRK-A8nfquzM_u/images/essentials/discount/after-rule-apply-discount-order-amount.webp?fit=max&auto=format&n=8qTRK-A8nfquzM_u&q=85&s=54bcca16b98561e1d373adcc4b05c778" alt="After Rule Apply" width="1014" height="816" data-path="images/essentials/discount/after-rule-apply-discount-order-amount.webp" />

## Activate the rule

Once testing is done, we can activate the rule, so it can start making changes to the checkout for actual customers. Only activated rules can make changes to the checkout for all customers.

Click on **Rules** in the sidebar to view all rules. Select the rule you want to activate, then click the **Activate** button to activate it.

<Warning>
  Rule activation is only available on paid plans. If you haven't upgraded your
  plan yet, follow the instructions
  [here](/guides/en/get-started/installation#upgrade-your-plan) to upgrade.
</Warning>

<img src="https://mintcdn.com/storespark/8qTRK-A8nfquzM_u/images/essentials/discount/activate-the-rule-discount-order-amount.webp?fit=max&auto=format&n=8qTRK-A8nfquzM_u&q=85&s=82c5ae97e38b736060bd64c0c43ff6ad" alt="Activate The Rule" width="978" height="163" data-path="images/essentials/discount/activate-the-rule-discount-order-amount.webp" />

## Limitations

* This rule is incompatible with draft-order-based checkout and apps that use draft-order checkout.
* If your checkout URL includes `.../checkouts/do/...`, `do` stands for draft order. This rule won't run on that checkout.
