Thank you page offers and discount codes
Offers and codes bring buyers back: products that go with what they just bought, their order again in one click, a code for their next order, or a link that gives their friends a discount.
Requires: any Shopify plan except Starter (no Shopify Plus needed), and the Thank you page app block in Shopify’s checkout editor. Thank you page blocks come with the Deals & Rules and Buddy plans, or count as the Free plan’s one customization. See set up thank you page blocks.
These are thank you page blocks, for after the order is placed. For upsells, add-ons and free gifts while the buyer is still shopping, in checkout or on your product and cart pages, see Product offers.
| Block | What it shows | Can go |
|---|---|---|
| Product offers | Products you pick, ones that go with their order, or their order again, each one click from a new checkout with your code | Thank you page, Under customer information, Under the items |
| Discount code | A code for their next order to copy or scan, or a link to share with friends | Thank you page, Announcement bar, Header, Under customer information, Under the items |
Add a next-order discount code
Section titled “Add a next-order discount code”- In Shopify, create the code under Discounts, for example 10% off, once per customer. Checkout Buddy doesn’t create it.
- In Checkout Buddy, on the Thank you tab of the Customizations page, click Create customization and choose the Discount code card. Pick a template, such as Next-order code with QR or First-order thank you code, or Start blank.
- In Discount code, replace the template’s code with yours, and check that the heading and text describe your discount.
- Turn on the switch in the Status card so it says Published, then save.
- If you haven’t yet, add the Thank you page app block in Shopify’s checkout editor. See set up thank you page blocks.
For products after the purchase, follow the same steps with the Product offers card and its Complete the set or Order again in one click template.
Product offers
Section titled “Product offers”| Setting | What it does |
|---|---|
| Heading, Text | Optional heading and message, for example “Take 10% off these with code THANKYOU10.” |
| Which products | Products I pick: click Choose products. Goes with what they bought: Shopify’s complementary products for this order’s items, from the Search & Discovery app. Similar to what they bought: Shopify’s related products. This order again: the same items and quantities, for consumables they’ll run out of. |
| Most products to show | 1 to 8. The default is 3. |
| Layout | Rows: one product per row with a small picture. Side by side: tiles with the picture on top, up to three a row. |
| Buy goes to | Their cart, to keep shopping, Straight to checkout or Shop Pay. |
| Discount code | Optional. Applied to the new cart. |
| Button text | The button beside each product. Empty shows Add to cart, or Buy now when it goes straight to checkout or Shop Pay. |
| Add-all button text | Optional. A button under the products that buys them all at once. Leave it empty for no add-all button. |
| Buyers can choose the variant | On for new blocks. Buyers pick the size, color or other option of each product. Off: the variant they bought, or the first one in stock. |
| Buyers can choose the quantity | Buyers pick how many of each product. Off: 1 of each, or the quantity they bought for This order again. |
| Star ratings | On for new blocks. Your reviews app’s rating and review count under each product’s name, such as “4.6 (18)”. See star ratings. |
| Record sales for Analytics | On for blocks made since November 8, 2026. Counts the orders placed with this block’s buttons, and what buyers paid for its products, in Analytics. The new order gets a hidden attribute, _buddy_offer_link, which you’ll see in its Additional details. |
Each product shows its image, its name (a link to its page in your online store), its price and compare-at price in the buyer’s currency, and the button. Prices are your store’s own, for the market the buyer shopped in.
- Sold-out products are skipped. If none are left, the block doesn’t show.
- Recommendations skip what’s already in the order. Goes with what they bought and Similar to what they bought look up products for up to three items in the order. Set up complementary products in Shopify’s Search & Discovery app.
- This order again adds each item in the quantity they bought, so a buyer who ordered 3 bags of coffee gets 3 again. Subscriptions are added as one-time purchases.
- Products I pick needs at least one product.
- Variant and quantity choice shows as one short line under the price, like “Size: Medium · Qty 1”. Tapping it opens the option list and the quantity. Only variants in stock are listed, and a product with one variant shows just the quantity, or nothing. Buy and the add-all button use what the buyer picked.
Templates: Complete the set (goes with what they bought) and Order again in one click (this order again, under the items).
If the discount code isn’t in your store’s Discounts, has expired or hasn’t started yet, the editor warns you. Codes with personal text aren’t checked.
Discount code
Section titled “Discount code”| Setting | What it does |
|---|---|
| Show it as | A code for their next order: the code to copy, a button that applies it, and an optional QR code. A link to share with friends: a link that applies the code, with share buttons. |
| Discount code | Required. Create the code in Discounts in Shopify first. Personal text works here too. |
| Heading, Text | Optional heading and message. In the announcement bar, the heading is the Lead and there’s no text. |
| Button text | For a code: the button that applies it. Empty shows Shop now. |
| Then go to | Where the code’s link lands after applying it, such as /collections/sale. Empty goes to your home page. |
| Share buttons | For a link: Email, Text message, WhatsApp, Facebook and X. |
| Share message | For a link: text sent before the link, such as Here's a discount for {{ shopName }}:. Personal text works here. |
| Show a QR code of the link | Buyers on a computer can scan it to shop on their phone. Not in the announcement bar. |
A code for their next order shows the code with a Copy code button, and the button that opens your store with the code applied. A link to share with friends shows the link with a Copy link button and the share buttons. Each share button opens the buyer’s email, messages, WhatsApp, Facebook or X with your message and the link. Facebook only takes the link.
The link looks like your-store.com/discount/FRIEND15?redirect=/collections/sale. Opening it applies the code in that browser, so it’s used at the next checkout.
In the announcement bar, the block shows one line: the lead, the code, and a Shop now link.
Every buyer sees the same code. Set its limits in Discounts, for example one use per customer or first orders only. If the code is empty, for example because personal text in it has no value, the block doesn’t show.
Templates: First-order thank you code (first orders only), Next-order code with QR, Next-order code in the announcement bar and Share with friends. The Next-order code, everywhere recipe, under Templates → Discounts, creates the code (WELCOME10, 10% off, once per customer), then this block and a customer account block showing it.
Things to know
Section titled “Things to know”- Offers start a new cart. Shopify doesn’t let apps change an order after it’s placed.
- One code for everyone. Unique codes per order aren’t available yet.
- Codes apply through a link. Shop now, Buy and shared links carry the code, so buyers don’t have to type it.
- Check the code in Discounts. A code that isn’t active doesn’t apply. See discount not applying.
