> ## 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 all

> Discount multiple types together, e-g, order or product or shipping amount based on the given conditions.

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

## Rule overview

This rule allows you to apply multiple types of discounts together based on defined conditions. You can combine order, product, and shipping discounts within a single rule, depending on the configured criteria. Each discount type can be customized to apply a percentage reduction, a fixed amount off, or other supported discount formats.

The rule evaluates the specified conditions, such as customer tags, product tags, shipping address, or any other configured conditions, and applies all eligible discounts accordingly. This provides flexibility to create comprehensive promotional offers that affect different parts of the checkout simultaneously while maintaining full control over how discounts are applied.

## Sample configuration

The following steps show how to create and configure a **Discount All** 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 all" → click “Select Rule”*.

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

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

### Rule configuration

To configure the rule, first optionally add a name such as "Discount all" 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-all.webp?fit=max&auto=format&n=zQqGNM0gkiGw9j3r&q=85&s=f41a4822a941fe484374832f89402d91" alt="Automatic Discount Name" width="974" height="235" data-path="images/essentials/discount/automatic-discount-name-discount-all.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-all.webp?fit=max&auto=format&n=zQqGNM0gkiGw9j3r&q=85&s=7e18c5abd50cdfa8c84c7b01e929ae8a" alt="Discount Code" width="968" height="232" data-path="images/essentials/discount/discount-code-discount-all.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 rule’s discount interacts with other discounts. You can choose to allow it to combine with:

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

* **Order discounts** – This enables the discount all rule to work together with overall order level discounts. Make sure order discounts are also set to combine with all discounts.

* **Shipping discounts** – This allows the discount all rule to be used together with shipping level discounts. Make sure shipping discounts are also set to combine with all 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 Discount All" 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). Choose the relevant condition from the dropdown.

> As an example, here we are setting the condition for this rule to **Always**, so it will run in all situations.

<img src="https://mintcdn.com/storespark/zQqGNM0gkiGw9j3r/images/essentials/discount/set-condition-set-discount-all.webp?fit=max&auto=format&n=zQqGNM0gkiGw9j3r&q=85&s=526031ff214a101f7b050798ee22919b" alt="Set Condition" width="933" height="102" data-path="images/essentials/discount/set-condition-set-discount-all.webp" />

After choosing a condition, check the order, product, or shipping discount checkboxes according to your requirements. You can select one or multiple checkboxes as needed.

<img src="https://mintcdn.com/storespark/Sok9oSe2WoHAMR4c/images/essentials/discount/action-checkboxes.webp?fit=max&auto=format&n=Sok9oSe2WoHAMR4c&q=85&s=7ee449dc77f42392bb436b2385f38cb2" alt="Action Checkboxes" width="940" height="707" data-path="images/essentials/discount/action-checkboxes.webp" />

After choosing the checkboxes, you need to select the action for that **discount type**.

**Order Discount:**

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" />

Then enter the discount value and discount message.

<img src="https://mintcdn.com/storespark/Sok9oSe2WoHAMR4c/images/essentials/discount/action-order-discount-operations.webp?fit=max&auto=format&n=Sok9oSe2WoHAMR4c&q=85&s=cca6dd28c13078cb1cc0449d2d14d7f6" alt="Action Order Discount Operations" width="905" height="92" data-path="images/essentials/discount/action-order-discount-operations.webp" />

> As an example, here we are setting the discount value to **14%** using the **Percentage** option. The discount message **14% OFF** will be shown to customers at checkout. This 14% discount applies to the order. You can see the settings in the image below.

<img src="https://mintcdn.com/storespark/Sok9oSe2WoHAMR4c/images/essentials/discount/action-example-discount-order-amount.webp?fit=max&auto=format&n=Sok9oSe2WoHAMR4c&q=85&s=8e1c971ba25fb5f91a3efd318a5dc026" alt="Action Example Discount Order Amount" width="937" height="270" data-path="images/essentials/discount/action-example-discount-order-amount.webp" />

**Product Discount:**

You can choose to apply the discount using **Percentage, Fixed amount off, Set fixed amount, or Set all products free** based on your requirements.

<img src="https://mintcdn.com/storespark/Sok9oSe2WoHAMR4c/images/essentials/discount/action-type-discount-product-amount.webp?fit=max&auto=format&n=Sok9oSe2WoHAMR4c&q=85&s=5a5b47096dc9bf275e17082ec1393069" alt="Action Type Discount" width="940" height="182" data-path="images/essentials/discount/action-type-discount-product-amount.webp" />

Then enter the discount value and discount message. Next, select a product or multiple products from the popup to apply the discount. You must add at least one product for the discount to take effect.

<Warning>
  Please note that <b>Set all products free</b> does not show any discount
  value, message, or product selection because all products are free.
</Warning>

<img src="https://mintcdn.com/storespark/Sok9oSe2WoHAMR4c/images/essentials/discount/action-product-discount-operations.webp?fit=max&auto=format&n=Sok9oSe2WoHAMR4c&q=85&s=75f556dbb96b3827dd2521b28e6d2dde" alt="Action Product Discount Operations" width="902" height="218" data-path="images/essentials/discount/action-product-discount-operations.webp" />

> As an example, here we are setting the discount amount to **15** using the **Fixed amount off** option. The discount message **15\$ OFF** will be shown to customers at checkout. We then select the product **"The Collection Snowboard: Liquid"** to apply the discount to that product. You can see the settings in the image below.

<img src="https://mintcdn.com/storespark/Sok9oSe2WoHAMR4c/images/essentials/discount/action-example-discount-product-amount.webp?fit=max&auto=format&n=Sok9oSe2WoHAMR4c&q=85&s=2bcc15be451dc6443516ffa5640c76ce" alt="Action Example Discount Product Amount" width="941" height="448" data-path="images/essentials/discount/action-example-discount-product-amount.webp" />

**Shipping Discount:**

You can choose to apply the discount using **Percentage, Fixed amount off, Subtotal percentage, Set fixed price, or Set all shipping free** based on your requirements.

<img src="https://mintcdn.com/storespark/I1UBjFyXWKs0eNGB/images/essentials/shipping/action-type-discount-shipping-methods.webp?fit=max&auto=format&n=I1UBjFyXWKs0eNGB&q=85&s=9dac8144b64ccf18d26fa3dbe37cf2a1" alt="Action Type Discount" width="943" height="205" data-path="images/essentials/shipping/action-type-discount-shipping-methods.webp" />

The discount can also be applied only to specific shipping methods by selecting **"Apply this discount to only these shipping methods"** instead of "Apply this discount to all shipping methods", and then by entering the **names** of the shipping methods you want the discount to apply to.

<Warning>
  Please note that <b>Set all shipping free</b> does not show any discount
  value, message, or shipping method selection because all shipping methods are
  free.
</Warning>

<img src="https://mintcdn.com/storespark/I1UBjFyXWKs0eNGB/images/essentials/shipping/action-shipping-methods-selection-discount-shipping-methods.webp?fit=max&auto=format&n=I1UBjFyXWKs0eNGB&q=85&s=69374cf6503965373551b13907762f47" alt="Action Shipping Methods Selection" width="933" height="230" data-path="images/essentials/shipping/action-shipping-methods-selection-discount-shipping-methods.webp" />

> As an example, here we are setting the discount value to **16%** using the **Percentage** option. The discount message **16% OFF** will be shown to customers at checkout. We have also set **Apply this discount to all shipping methods** to apply the discount to all shipping methods. This 16% discount applies to the shipping methods. You can see the settings in the image below.

<img src="https://mintcdn.com/storespark/Sok9oSe2WoHAMR4c/images/essentials/discount/action-example-discount-shipping-methods.webp?fit=max&auto=format&n=Sok9oSe2WoHAMR4c&q=85&s=838e143be3b2195ebaa9ef1fce4ba80c" alt="Action Example Discount Shipping Methods" width="937" height="330" data-path="images/essentials/discount/action-example-discount-shipping-methods.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.

<img src="https://mintcdn.com/storespark/zQqGNM0gkiGw9j3r/images/essentials/discount/maximum-discount-uses.webp?fit=max&auto=format&n=zQqGNM0gkiGw9j3r&q=85&s=4ceef794ce2bb537768fedfd86ee7e67" alt="Maximum Discount Uses" width="973" height="180" data-path="images/essentials/discount/maximum-discount-uses.webp" />

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 that no discounts have been applied yet.
</Warning>

<img src="https://mintcdn.com/storespark/zQqGNM0gkiGw9j3r/images/essentials/discount/before-rule-apply-discount-all.webp?fit=max&auto=format&n=zQqGNM0gkiGw9j3r&q=85&s=3554a4f796be9e2e7665894eb45c4a75" alt="Before Rule Apply" width="1076" height="558" data-path="images/essentials/discount/before-rule-apply-discount-all.webp" />

After setting the email, the checkout rule runs and applies the configured discounts.
We can verify that the **14% order discount** has been applied at checkout, as shown below.

<img src="https://mintcdn.com/storespark/Sok9oSe2WoHAMR4c/images/essentials/discount/after-rule-apply-discount-order.webp?fit=max&auto=format&n=Sok9oSe2WoHAMR4c&q=85&s=81d7eca3c15722d9e942a7e514ed7216" alt="After Rule Apply" width="1044" height="494" data-path="images/essentials/discount/after-rule-apply-discount-order.webp" />

The **15\$ product discount** has also been applied at checkout on the product **"The Collection Snowboard: Liquid"**, as shown below.

<img src="https://mintcdn.com/storespark/zQqGNM0gkiGw9j3r/images/essentials/discount/after-rule-apply-discount-product.webp?fit=max&auto=format&n=zQqGNM0gkiGw9j3r&q=85&s=a9e38fcdd389f02c5e7fdf5f6c585361" alt="After Rule Apply" width="1046" height="492" data-path="images/essentials/discount/after-rule-apply-discount-product.webp" />

The **16% shipping discount** has been applied at checkout to **all shipping methods**, as shown below.

<img src="https://mintcdn.com/storespark/zQqGNM0gkiGw9j3r/images/essentials/discount/after-rule-apply-discount-shipping.webp?fit=max&auto=format&n=zQqGNM0gkiGw9j3r&q=85&s=fd388d7bed32c703df7d0122434bea8f" alt="After Rule Apply" width="879" height="750" data-path="images/essentials/discount/after-rule-apply-discount-shipping.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/Sok9oSe2WoHAMR4c/images/essentials/discount/activate-the-rule-discount-all.webp?fit=max&auto=format&n=Sok9oSe2WoHAMR4c&q=85&s=50f9fa1805ecc19c8a1352ad7571f432" alt="Activate The Rule" width="977" height="157" data-path="images/essentials/discount/activate-the-rule-discount-all.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.
