Promotion codes: money off for a code
A promotion code is a code a buyer gives for money off: SPRING10 for 10%
of the goods, WELCOME50 for $50 off a first order. You key it once under
Settings → Promotion codes (/settings/coupons); a person at the sales
desk types it into Promotion code on a draft quote or order, and it goes on
as a discount line under the COUPON charge code.
- Opening the screen needs
coupon.read; adding and changing codes needscoupon.manage(a manager, by default). Giving a code on an order needssales_order.manage.
What a code holds
| Field | What it does |
|---|---|
| Code | What the buyer types. Letters, digits, hyphens and underscores; any case. Never changes once added. |
| Name | What the order line says, beside the code: Spring sale (SPRING10) (10%). |
| Takes off | % of the goods, kept as a percentage so it follows the lines as they change, or an amount, never more than the goods: $50 off $20 of goods is $20 off, and taking goods off the order takes the code down with them. |
| Minimum order | The goods must come to this much. |
| Starts on, ends on | The days it can be used, by the order's date. |
| Orders in all, orders per customer | How many confirmed orders may use it. Empty is no limit. |
| Where it can be used | The sales desk and the online store, or only one of them. |
| First order only | Only for a customer with no confirmed order yet: a welcome code. |
| Goes with other codes | Off (the default): an order with this code takes no other code. Two codes go together only when both say so. |
| On | A code switched off cannot be given. |
When it is checked, and when it counts
- Given: checked at once. A refusal says why: no such code, not running, not started or ended, the wrong channel, another customer's, a first-order code for a customer who has ordered, the goods under the minimum (and how much more is needed), used up in all or by this customer, already on the order, or with another code it does not go with.
- Confirmed: counted as used, and checked once more. A code used up or ended since it was given refuses the confirm: take the line off, or change the order.
- Cancelled: given back. A code on a draft nobody confirmed spends nothing.
- Quoted, then ordered, or copied: the code goes with its line onto the order a quote becomes and onto a copy of an order, and is checked and counted when that order is confirmed.
- Two orders at once: when two orders using a code's last use are confirmed at the same moment, one goes through and the other is refused as used up.
The list shows each code's use: how many confirmed orders, against its limit, and how much it took off in all.
In the online store
A buyer types the code under Promotion code on the cart and presses Apply. The cart keeps it, and each company in the cart checks it with the buyer's account there: the cart says what it takes off (It takes $3.00 off), or that company's reason (SPRING10 ended on 31 March). A code for the sales desk only is refused online. At Place order the code goes on each company's order that took it, checked once more; if it stopped applying since the review, the buyer is asked to review again, as for any changed price.
How it posts
The line is a discount like any other: spread over the goods, lowering their
tax, and posted to Reduces sales revenue through the COUPON code (or the
discount code the code names). It shows in the Charges and fees income
report under that code.
Common mistakes
- A percentage over the minimum, then lines taken off. The minimum is checked again at confirm; the order is refused until it is met again or the code is taken off.
- A code meant for one customer. Leave the code general and set Orders per customer instead, unless it really is one account's.