Skip to main content
Customers redeem points as a checkout discount. You do not need Shopify Scripts. A Shopify Function applies the discount.

Where customers redeem

The customer must be signed in. Guest checkouts cannot spend points or attach a referral code to a customer account.

Customer flow

1

Meet the minimum

The balance must be at least Minimum points to redeem.
2

Apply points

In cart (every plan) or checkout (Plus), the customer chooses how many points to spend. Habit caps that against Max % of order payable with points on the subtotal.
3

Pay

On a successful paid order, those points leave the ledger. If both cart attributes and checkout metafields are set, the checkout value wins.
Referral codes use the same two surfaces. See referrals.

If redemption is missing

1

Confirm billing

A trial or Standard plan must be active so the app stays installed and the Function discount can run.
2

Confirm the cart embed

On non-Plus stores, enable Redeem points in cart in theme App embeds. The checkout points field will not appear.
3

Test as a logged-in customer

Place a test order with a customer account that has a points balance.
If it still does not appear, email support@gethabitloyalty.com with the shop domain.

After a refund

Refunding items claws back a proportional share of the points the order earned and returns a proportional share of the points spent on it. See points.