# Next-order Discounts

> Give every buyer a unique code for their next order and track redemptions

Source: https://help.pasilobus.com/checkout-blocks/next-order-discounts
App: Checkout Studio
Shopify App Store: https://apps.shopify.com/checkout-blocks-pasilobus
App help: https://help.pasilobus.com/checkout-blocks
Section: Features
Support: email support@pasilobus.com or send a request from https://cloud.pasilobus.com/support (no chat)

A next-order discount gives every buyer a unique code for their next purchase, right on the Thank you and Order status pages. It turns a first order into a reason to come back, and the app shows how many codes are used and the revenue they bring. Next-order discounts are part of the Pro plan.

## Set the offer

The discount itself is set in the app, not in the block, so nobody can change it from the browser.

1. Open **Discounts** in the app's menu.
2. Under **Discount offer**, turn on **Give buyers a next-order code**.
3. Choose the **Discount type**: **Percentage** or **Fixed amount** in your store's currency.
4. Enter the **Value**: 1 to 100 for a percentage, or the amount off.
5. Set **Expires after (days)**: 1 to 365 days from the day the code is shown.
6. Optionally set a **Minimum order**: the next order's subtotal needed to use the code.
7. Click **Save**.

Changes apply to codes issued from then on; codes already given out keep their terms.

## Add the block

1. Open the checkout editor and switch to the **Thank you** page (or **Order status**).
2. Click **Add app block** and search for **Next-order Discount**.
3. Optionally set a **Heading**, such as "10% off your next order", and a **Text** shown above the code. Leave the text empty for a default in the buyer's language.
4. Click **Save**.

In the editor the block shows a sample code. If no offer is set yet, it shows a placeholder that reminds you to set the amount on the Discounts page.

## How the codes work

- Each order gets its own code, usable once. Reloading the page or opening the Order status page later shows the same code.
- The code appears in your Shopify admin under **Discounts**, so you can see or end it there like any other discount.
- Buyers copy the code with one tap and enter it at their next checkout.
- Codes are issued for orders up to 90 days old, so an old Order status page does not create new codes.
- With the offer turned off, the block shows nothing and no codes are issued.

## Track results

The **Discounts** page shows:

- **Codes issued** and **Codes redeemed**, and the **Redemption rate**.
- **Revenue from redeemed orders** - The total of the orders that used a code.
- **Latest codes** - Each code with its discount, the order it came from, when it was issued, when it expires and whether it was redeemed.

Redemptions are checked with Shopify when you open the page and once a day.
