Skip to main content

Refer a friend and earn on the Thank You page

Show a "Refer a Friend" block on your checkout Thank You page, so customers can share their personal referral link right after buying and earn rewards when their friends make a purchase.

Written by Vinay Kumar

Overview

The Thank You page is a good moment to ask for a referral, because customers have just completed a purchase. The Refer Friends After Checkout extension adds a block to that page with:

  • Heading: a short headline and invitation message

  • Referral link & copy: the customer's personal referral link with a one-click Copy button

  • How it works steps: a simple three-step explanation of the referral flow

By default, customers see this flow:

  1. Share your referral link with friends.

  2. Your friend makes their first purchase.

  3. You both receive your rewards.

Before you begin

  • The Casa Loyalty app must be installed on your Shopify store.

  • You need access to the Shopify checkout editor.

Step 1: Customize the block in Casa Loyalty

  1. In your Shopify admin, go to Apps > Casa Loyalty.

  2. Click Branding in the left menu.

  3. Scroll to On-site content and extensions.

  4. Find Refer Friends After Checkout and click Setup.

  5. On the Extension Banner Customization page, open the Thank You Referral tab.

  6. Under Block sections, choose which parts of the block to show:

    • Heading

    • Referral link & copy

    • How it works steps

  7. Check the Live Preview on the right to see how the block will look. The preview shows a representative layout, and storefront copy is translated automatically.
    ​


​

Tip: To undo your changes, click Reset to defaults under Reset. You can preview the result before saving.

Step 2: Add the block to your Thank You page

After you save, your changes apply to all storefronts automatically. The block still has to be added to your Thank You page in the checkout editor.

  1. On the Thank You Referral tab, scroll to Apply to storefront.

  2. Click Open in Checkout Editor.

  3. In the checkout editor, open the Apps panel on the left.

  4. Find Casa Loyalty > Refer a friend.

  5. Click the + icon next to it, then choose Thank you under Add to.

  6. Drag the block to where you want it on the page, or use the up and down arrows in the block toolbar.

  7. Click Save.
    ​

The editor shows a Preview Mode note with sample data. Customers won't see it on your live store.

Managing the block later

In the checkout editor, select the Refer a friend block on the Thank You page. From there you can:

  • Manage app: jump back to Casa Loyalty settings

  • Hide the block with the eye icon in the toolbar

  • Remove block: delete it from the page

To change the text or sections, return to Casa Loyalty > Branding > Refer Friends After Checkout.
​

FAQ

Do I need to add the block every time I change settings? No. Once the block is on your Thank You page, changes saved in Casa Loyalty apply automatically.

I don't see "Refer a friend" in the Apps panel. Make sure Casa Loyalty is installed and enabled, then reload the checkout editor. If you're still stuck, contact support.

Can I show only the referral link? Yes. In Block sections, uncheck Heading and How it works steps.

Can I change the reward amounts? Reward rules are configured in the Program section of Casa Loyalty, not in Branding.

Did this answer your question?