1. Home
  2. Docs
  3. Cresta Checkout for WooCo...
  4. Pro features
  5. Next order coupon

Next order coupon

A personal discount code for the next purchase. It’s made when the order is paid, shown on the order received page and sent with the order emails, so buyers have a reason to come back.

The coupon on the order received page, with a button to copy the code.

Set it up

  1. In the builder, click Order received at the top, open Blocks and add Next order coupon.
  2. Choose the Discount type and the Discount. Turn on Free shipping too to add it to the discount.
  3. Set how many days it’s Valid for. It ends at 23:59 on the last day, in the timezone of WordPress. Use 0 for no expiry, but a deadline gets more coupons used.
  4. Decide the conditions: a Minimum spend to use it, a Minimum order to earn it, and whether it’s only for the buyer’s email, not combinable with other coupons, or not valid on products on sale.
  5. Click Save.

In the Text, {amount} is the discount, {expiry} the last day and {days} how many days it lasts.

Codes look like THANKS-K7Q2MX: the Start of the code you choose, then six random characters. Letters and digits that are easy to confuse, such as O and 0 or I and 1, are never used.

Tip

Free shipping too only works if your Free shipping method accepts coupons. In WooCommerce → Settings → Shipping, open the method and set Free shipping requires to A valid free shipping coupon, or to one of the options with a coupon.

When the coupon is made

A coupon is made when the order is paid, which in WooCommerce means the order status becomes Processing or Completed. An order that is never paid gets nothing.

  • Cards, wallets and cash on delivery usually set the order to Processing straight away: the coupon is on the order received page right after the purchase.
  • Bank transfer and cheque leave the order On hold until the money arrives. Meanwhile the page says the code will come by email. When you set the order to Processing, the coupon is made and goes out with the Processing order email.
The block while a bank transfer is on its way.

Some more rules:

  • One coupon per order, even when the order goes from Processing to Completed.
  • With a Minimum order to earn it, orders below it get no coupon. The amount is compared with the subtotal of the order, before discounts and shipping.
  • The coupon is made even if the buyer never opens the order received page. It only needs the block in the saved layout of that page, and the page turned on in Settings → Use on the order received page.
  • The settings are read when the order is paid. Changing them later doesn’t change the coupons already made.

What the buyer gets

On the order received page, the block shows the code, a Copy button and a line with the conditions, such as “Valid until December 4, 2026, once, with your email address.” If the buyer comes back to the page later, the block says when the code has been used or has expired.

With Add it to the order emails on, the coupon also appears under the order table of the Processing order and Completed order emails sent to the customer. It never appears in the emails sent to the shop.

In your admin

Every coupon is a normal WooCommerce coupon, in Marketing → Coupons. Its description says which order earned it, and you can edit it like any other coupon. It can be used once, and once per customer.

The order gets a note with the code. If the order is later Cancelled, Refunded or Failed, an unused coupon goes to the trash and the order gets a second note. A coupon already used stays where it is.