TotalApp Docs

Discounts & Coupons

Create coupon codes that customers type into the cart of your website: percentage, fixed amount or free shipping.

What it does

A coupon is a code, such as WELCOME10, that a customer types into the cart of your website to get a discount. You create the coupons in Discounts & Coupons and set the rules: what it gives, from which amount, for how long and how many times it can be used.

Creating a coupon

  1. Select New coupon.
  2. Type the coupon code: 3 to 30 letters, digits, - or _. It is saved in capitals and customers can type it in any case. Two coupons cannot have the same code.
  3. Choose the discount type and the value (see below).
  4. Optionally set the minimum cart amount, the total usage limit and the valid from / valid until dates.
  5. Set the status to Active and select Save.

Discount types

TypeWhat the customer gets
Percentage (%)A percentage of the goods in the cart, from 1 to 100. Shipping is not discounted.
Fixed amountA fixed amount in the store currency. It never exceeds the value of the goods, so an order cannot become negative.
Free shippingThe shipping fee is removed. The goods are not discounted.

Rules

RuleHow it works
Minimum cart amountThe goods in the cart (before shipping) must reach it. Empty means no minimum.
Total usage limitHow many orders may use the coupon altogether. Empty or 0 means unlimited. When it is reached, the coupon is shown as Limit reached and no longer works.
Valid from / untilBoth days are included. Dates are in UTC, so a coupon that ends on the 15th works until the end of the 15th UTC.
StatusInactive coupons do not work, whatever their dates.

The list shows each coupon with its state (Active, Inactive, Scheduled, Expired or Limit reached), its value, minimum, dates and Used count. Reset to 0 in the edit form sets the counter back to zero; deleting a coupon does not change orders that already used it.

What the customer sees

  • The cart of your website has a coupon code box with an Apply button. The discount appears as its own line in the totals, with the code.
  • The code is kept in the visitor's browser together with the cart, so it is still there after a page change. It is checked again whenever the cart changes.
  • If the code is not valid the customer reads why: not found, not active, not valid yet, expired, below the minimum or limit reached.

How it is checked

The cart only asks the server: the discount shown in the cart is worked out by the server from your real prices. When the customer places the order, the server checks the code again (active, dates, minimum, limit) and works out the discount itself; the browser's numbers are ignored. Only then the order is accepted and the coupon's Used count goes up by one. An order that is refused does not use up the coupon. Guessing codes is slowed down: a visitor can check only a limited number of codes per minute.

In Orders Manager

An order that used a coupon shows the discount line with the code between the subtotal and the shipping, and its total already includes the discount.

Good to know

  • The coupon box appears in the cart after the next Website Publish; coupons themselves work as soon as you save them.
  • One coupon per order. Coupons cannot be combined with each other.
  • A coupon is not limited per customer, only in total.
  • Cancelling an order does not give the use back.

Frequently asked questions

Can I give one customer a personal code?
Yes, create a coupon with a code only that customer knows and a usage limit of 1.
A customer says the code does not work.
Check the state in the list: it must be Active, inside its dates, below its usage limit, and the cart must reach the minimum amount.