Skip to main content

Creating a quantity discount

You can create a campaign where customers get a discount for every X amount of money they spend.

Let's imagine that we are a furniture store, and we want to encourage our customers to buy more products from us. To do this, we can offer them a $50 discount for every $500 value in their cart. This way, a customer who is buying an $800 sofa might add a $200 end table to their cart to get a $100 discount.

Issuing a discount for every X cart value

In a standard campaign, let's build a rule and name it $50 discount for every $500 cart value. It has one condition and one effect.

Condition

Always trigger effects.

Effect

Discount session total:

  • Discount name is $50 discount for every $500 cart value.

  • Discount value is ROUND_DOWN([Session.CartItemTotal] / 500) * 50

    tip

    To display the rounding options, in the Discount value field, select the line of text ([Session.CartItemTotal] / 500).

Rounding down discount values

We use ROUND_DOWN to ensure [Session.CartItemTotal] / 500 is always rounded down to a whole number. In our case, this whole number is the intended qualifying cart value. That way, a customer buying an $800 sofa gets a $50 discount as intended:

ROUND_DOWN(800 / 500) = 1

1 * 50 = 50

In contrast, not rounding down the number means customers get a discount for any cart value. For example, that same customer buying an $800 sofa gets an $80 discount:

(800 / 500) = 1.6

1.6 * 50 = 80