# Shopify Loyalty Program: How to Set One Up

> A Shopify loyalty program rewards repeat orders with points spent as store credit or discount codes. Learn the rules to set and how LoyalXP runs them.

By Smaran Challapalli. Updated for 2026, 2 Nov 2026. First published 8 Oct 2026.
Canonical: https://loyalxp.com/guides/shopify-loyalty-program/

A Shopify loyalty program gives customers points for orders and lets them spend those points on a later purchase. [LoyalXP](https://loyalxp.com/) runs that loop inside Shopify admin: points are earned on what the customer actually paid, held until delivery, and spent as Shopify store credit or discount codes, with every movement on a ledger.

## What is a Shopify loyalty program?

A loyalty program is a set of rules: what earns points, when points become usable, what they can buy, and when they disappear. The app you install turns those rules into a points balance for each customer and shows it on your storefront.

Shopify has no built-in points system, so stores add an app. The app reads each order, records points, and pays the reward back through something Shopify already understands: [store credit](https://help.shopify.com/en/manual/customers/store-credit) or a discount code. Customers then see their balance in the store, in their account and at checkout.

The decisions below shape every program, in any app. Make them on paper before you open one. Most of the mistakes stores make later come from skipping a question here, not from the software.

## What should customers earn points on?

Earn points on the money you actually collected. If a customer buys a 2,000 rupee item with a 500 rupee discount, the points belong on 1,500, not 2,000. Paying points on the pre-discount price means every sale event quietly costs you extra.

In LoyalXP, discounts are subtracted before points are counted. Gift cards, store credit and gift-card payments never earn. Tax, shipping and other charges such as cash on delivery fees or tips each earn only if you switch them on. You choose a flat rate or spend slabs, and you can exclude products or collections picked from your store. The longer version is in [points on what customers paid](https://loyalxp.com/blog/points-on-what-customers-paid/).

## When can customers use their points?

Points that can be spent the moment an order is placed are exposed to returns. A customer orders, spends the points, returns the goods, and you have paid out a reward on a sale that no longer exists.

LoyalXP keeps new points pending at purchase and releases them after delivery, or after a fallback number of days that you choose. If an order is refunded or cancelled, the points that order earned are taken back. Where the customer has already spent them, the balance goes into debt and the next earn clears it. Nothing is silently written off. See [loyalty points and refunds](https://loyalxp.com/blog/loyalty-points-refunds/) for the cases.

## How do customers spend points?

You have two routes, and the right one depends on your customer accounts.

> Store credit isn't available for legacy customer accounts.
>
> Source: [Shopify Help Center, Store credit](https://help.shopify.com/en/manual/customers/store-credit)


- **Shopify store credit** works as a payment method at checkout and needs new customer accounts. The cart shows one "Apply store credit" button, capped at the cart total.
- **Discount codes** work on classic accounts too, so a store that has not moved to new customer accounts can still redeem points.

Both are set in the Redeeming step of setup, together with a minimum number of points to redeem. You can change the choice after launch. The [Shopify store credit guide](https://loyalxp.com/guides/shopify-store-credit/) covers the trade-offs in detail.

## Should points expire?

Expiry is a business decision, and it has an accounting side: unspent points are a liability on your books. LoyalXP offers three settings: never, on a fixed date such as the end of the financial year, or a number of months after earning.

The part most apps skip is changing the rule later. In LoyalXP a new expiry rule starts on a date you pick, applies to existing points or only new ones, and shows who is affected before you confirm. Nobody's expiry gets shorter without your explicit confirmation. More in [loyalty points expiry](https://loyalxp.com/blog/loyalty-points-expiry/).

## What about levels and referrals?

Levels reward lifetime loyalty. Customers earn XP from paid orders, XP is never spent, and each level carries a multiplier on base points. You choose whether levels are lifetime or requalified each period, and whether a refund takes XP back.

Referrals work on any Shopify plan, with no Shopify Plus requirement and no checkout extension. The invite link sits on your own domain, a friend can claim a code, and the reward is a discount code. Self-referrals are blocked on a shared email, phone or shipping address. You can cap rewards per referrer per period, and large rewards are held for your review. The [Shopify referral program guide](https://loyalxp.com/guides/shopify-referral-program/) goes further.

## What does the setup look like in practice?

Setup runs inside Shopify admin as nine steps with autosave and a preview: Brand, Earning, Bonuses & referrals, Redeeming, Expiry, Levels, Existing customers, Theme and Launch. Each step opens with a short note on what it decides, and most answers have a sensible default. The [step-by-step setup post](https://loyalxp.com/blog/set-up-shopify-loyalty-program/) walks through the fields.

After launch the app has tabs for Home, Settings, Appearance, Customers, Claims, Reports, Triggers and Plan. Every answer you gave in setup is still editable under Settings.

## What does the arithmetic look like?

Here is one order with clearly invented numbers. These are an EXAMPLE, not results from any store.

Say the example rate is 1 point for every 10 rupees, and each point is worth 0.50 rupees when redeemed. A customer buys a 2,000 rupee item with a 500 rupee discount. Tax and shipping are switched off.

- Earning base: 2,000 minus 500 = 1,500 rupees.
- Points: 1,500 divided by 10 = 150 points.
- Worth at redemption: 150 times 0.50 = 75 rupees, which is 5 percent of the 1,500 paid.

Now the refund case. The order is delivered, the 150 points are released, and the customer spends 100 of them. Then the order is refunded and the 150 points are taken back. The balance is 150 minus 100 minus 150 = minus 100. The customer is 100 points in debt. Their next order, say 120 points, brings the balance to 20. The ledger shows each of these movements with a reason.

If the same program paid points on the 2,000 pre-discount price, the first order would earn 200 points, a third more than the money you collected justified. That gap is what "points on what the customer paid" prevents.

## What goes wrong in a first program?

- **A rate set from habit.** Pick the rate by the rupee value you are willing to give back per order, then work backwards. The setup shows a worked order as you change the rate.
- **Points usable before delivery.** Returns then become a leak. Keep points pending until delivery or a fallback number of days.
- **Expiry copied from a competitor.** Choose the rule you are comfortable explaining to a customer, then write it where they will read it.
- **Switching on every bonus at once.** Welcome points, repeat-order bonus and referrals each cost money. Start with one and watch the [liability report](https://loyalxp.com/blog/loyalty-program-liability-accounting/).
- **Starting at zero with regulars.** Existing customers who see an empty balance on launch day assume nothing is happening.

## How do you launch with existing customers?

A program that starts at zero feels empty. In the Existing customers step LoyalXP can credit past orders on day one using your live earning rates, a one-time history rate or a flat number of points per customer, over the last 3, 6 or 12 months or all history. It shows the total before anything is credited. Read the [backfill post](https://loyalxp.com/blog/backfill-points-past-orders/) for the details. If your balances live in another app, the CSV import has layouts for Smile.io, Joy and Yotpo exports and auto-detection, with a dry run before commit.

Guest checkouts can claim their points too: a signed-in customer enters the order number and the email or phone on it, and LoyalXP checks the order, rate-limits the attempts and credits it once. See [guest order claims](https://loyalxp.com/blog/guest-order-points-claims/).

## What does a Shopify loyalty program cost?

LoyalXP is $15 a month with every feature, including 250 paid orders. Each further 250 orders is $5 as a Shopify usage charge, up to a cap you set, and there is a 14-day free trial. Billing goes through Shopify in US dollars. That makes 250 orders $15, 1,000 orders $30 and 5,000 orders $110. The app fee is only half of the cost: the rewards you give away are the other half, covered in [how much a loyalty program costs](https://loyalxp.com/blog/loyalty-program-cost/).

To compare with other apps, read the [best Shopify loyalty apps](https://loyalxp.com/guides/best-shopify-loyalty-apps/) list and the [LoyalXP and LoyaltyLion comparison](https://loyalxp.com/compare/loyalxp-vs-loyaltylion/).

## How do you know the program is working?

Watch the liability report. LoyalXP shows points customers hold now, what they are worth in store credit, and points issued, redeemed, expired and reversed by month, so your accountant sees what the program owes. Every point movement is a ledger line with a reason, and customers see the same history you do. If a balance is questioned, you can read how it got there. Balances can be rebuilt from the ledger.

Setup happens inside Shopify admin with autosave and a preview, and every answer can be changed after launch. When you are ready, [Request early access](https://loyalxp.com/#early-access).

## Related guides and posts

- [How to set up a loyalty program on Shopify](https://loyalxp.com/blog/set-up-shopify-loyalty-program/)
- [Shopify Flow and loyalty events](https://loyalxp.com/blog/shopify-flow-loyalty-triggers/)
- [Guest checkout points and order claims](https://loyalxp.com/blog/guest-order-points-claims/)
- [Backfill points for past orders](https://loyalxp.com/blog/backfill-points-past-orders/)
- [Loyalty program software: what to look for](https://loyalxp.com/guides/loyalty-program-software/)
- [Loyalty points explained](https://loyalxp.com/guides/loyalty-points/)

## Frequently asked questions

### Does Shopify have a built-in loyalty program?

No. Shopify provides store credit and discount codes, and a loyalty app sits on top of them to track points and pay rewards through those tools.

### Do I need Shopify Plus for a loyalty program?

No. LoyalXP referrals and points run on any Shopify plan, with no checkout extension needed.

### Should points be earned before or after discounts?

After. Counting points on the amount actually paid keeps sale events from inflating the program's cost.

### Can I start a program when I already have customers?

Yes. Backfill past orders on day one, or import balances by CSV from another loyalty app, and see the total before it is committed.

## Related guides and posts

- [Backfill Points for Past Orders at Launch](https://loyalxp.com/blog/backfill-points-past-orders/)
- [Shopify Flow and Loyalty Events](https://loyalxp.com/blog/shopify-flow-loyalty-triggers/)
- [Guest Checkout Points: How Order Claims Work](https://loyalxp.com/blog/guest-order-points-claims/)
- [How to Set Up a Loyalty Program on Shopify](https://loyalxp.com/blog/set-up-shopify-loyalty-program/)

[Request access](https://loyalxp.com/#early-access): 14 days free, then $15 a month with every feature.
