Skip to content

Discount Conditions

Discount conditions let you trigger checkout customizations based on whether a discount is active and how large it is — both in absolute amount and percentage.

Condition key: absoluteTotalDiscountExShippingAndTaxes

Checks the total discount amount applied to the order, excluding shipping discounts and taxes.

Operators: Has discount, No discount, At least (≥), At most (≤)

Use cases:

  • Hide a payment method when a coupon code is active (to prevent abuse)
  • Show a “discount customer” payment option when any discount is applied
  • Require bank transfer for heavily discounted orders (discount ≥ £50)

Example: Hide COD when a discount over £20 is applied:

  • Condition: Discount amount → At least → 20
  • Action: Hide → Cash on Delivery

Condition key: totalDiscountExShippingAndTaxesPercentage

Checks the total discount as a percentage of the order value, excluding shipping and taxes.

Operators: Has discount, No discount, At least (≥), At most (≤), Is (==), Is not (!=)

Use cases:

  • Restrict payment options when a large percentage discount is applied
  • Offer free shipping only when a specific percentage discount is active
  • Apply different rules for flash-sale orders (e.g. discount ≥ 30%)

Example: Hide express shipping when discount is 50% or more:

  • Condition: Discount percentage → At least → 50
  • Action: Hide → “Express Delivery”

Is and Is not next to an automatic discount

Section titled “Is and Is not next to an automatic discount”

At least and At most compare the total percentage of all discounts in the cart. Is and Is not also compare the order discount on its own, so a code that takes a percentage off the whole order is recognised even when an automatic product discount is in the same cart.

Example: a free cable (£14) is added automatically with a charger (£110), and the customer enters a 10% order code. The total discount is 20%, the order discount is 10%. Discount percentage → Is → 10 matches. With the free cable alone it does not.

This works for codes set up as Amount off order. A percentage code set up as Amount off products cannot be told apart from other product discounts in the same cart.


Hide a payment method for one discount code

Section titled “Hide a payment method for one discount code”

For a code such as BANK10 (10% off the order for bank transfer):

  1. Condition: Discount percentage → Is → 10
  2. Action: Hide → Cash on Delivery

Do not add Discount amount → At least to the same rule with OR: an automatic discount (a free gift) reaches the amount on its own and hides the method without the code. If another discount in your store also takes exactly 10% off the order, the rule applies to it too.