A loyalty and referral programme is worth building into an online store when customers have a natural reason to buy again within a few months, and when the rules are designed from the margin backwards: set an earning rate that costs a known percentage of revenue, pay referral rewards only after the friend's first order has been delivered and kept, and measure the result against customers who were left out. In ecommerce website development in Pune, most D2C stores do not need a complicated tier system. They need one clear points or store-credit rule, a referral link that cannot be gamed, honest terms, and a report that shows whether repeat purchases went up.
This guide is for founders of small and mid-sized Shopify or WooCommerce stores who are tired of running a site-wide sale every month.
When a programme makes sense, and when it does not
A loyalty programme rewards a second, third and fourth purchase. If your product does not produce those on its own, points will not create them.
It usually fits when:
- the product is consumed and replaced: coffee, tea, snacks, skincare, supplements, pet food, baby products;
- the catalogue is wide enough that a buyer of one item has a reason to try another;
- the gross margin leaves room for a reward of a few percent.
It usually does not fit when:
- the purchase is rare: mattresses, furniture, wedding wear. A referral reward can still work here, because a happy buyer has friends even if they will not buy again for years;
- every order already carries a coupon. Points on top of a 20% code are a second discount, not loyalty;
A simple test: in your last twelve months of orders, count what share of customers ordered twice or more. If almost nobody returns, the problem is upstream of loyalty.
Points, tiers, store credit or a simple referral
Most small stores should pick one model, run it for six months and only then add another.
| Model | How it works | Suits | Watch out for |
|---|---|---|---|
| Points | Earn points per rupee spent and for chosen actions; convert points into a discount | Frequent, lower-value orders | Customers cannot do the conversion in their head unless you show the rupee value |
| Store credit (cashback) | Earn a rupee balance directly, used on a later order | Stores that want the plainest message | A rupee balance feels like money, so expiry and reversal rules must be very clear |
| Tiers | Spend thresholds unlock a higher earning rate or perks | Stores with a visible group of heavy buyers | Extra build and support effort; tiers nobody reaches are decoration |
| Referral only | Customer shares a link; friend gets an offer, customer gets a reward when the friend's order completes | Any store, including rare-purchase categories | Self-referral and fake accounts |
Points and store credit are the same idea with different labels. If you choose points, always show the rupee equivalent next to the number.
Designing earning and redemption rules: the maths
Design the rules in a spreadsheet first. Five numbers define a points programme: the earning rate (points per rupee spent), the redemption value (rupees per point), the minimum balance that can be redeemed, the cap on how much of a cart points can pay for, and the expiry period.
The first two multiplied give the nominal reward rate: one point per rupee, with 100 points worth ₹5, is 5% on paper. The real cost is lower, because some points are never redeemed.
A worked example (illustrative)
This is an illustration with made-up numbers, not a client case.
A Pune store sells speciality tea and coffee with an average order of ₹1,200 and a gross margin of 55%.
- Earning: 1 point per ₹1 of product value paid, after discounts, excluding delivery charges.
- Redemption: 100 points = ₹5, a nominal 5%.
- Minimum: 500 points (₹25).
- Cap: points can pay for at most 20% of the cart subtotal.
- Expiry: 12 months after the customer's last order.
A ₹1,200 order earns 1,200 points, worth ₹60 on a future order. If the store assumes, as a planning figure to be replaced by its own measured number, that 40% of points are eventually redeemed, the expected cost is ₹24 per order, or 2% of member revenue. A blanket 10% code costs ₹120 on the same order and also goes to people who would have bought anyway.
On the second order, the customer returns with 1,200 points and a ₹1,400 cart. The cap would allow ₹280 from points, but the balance is only ₹60, so the customer pays ₹1,340 and earns 1,340 new points. The store gave up ₹60 to win an order carrying roughly ₹770 of gross margin. That is a good trade only if the order would not have come without the programme, which is a measurement question covered below.
Rules that protect the margin
- Earn on the amount paid, not on list price, and exclude delivery charges, gift cards and clearance items.
- Cap redemption per order so no order goes out nearly free.
- Keep bonus actions small and one-time, such as a few rupees' worth of points for creating an account. WooCommerce's Points and Rewards extension, for example, awards review points only for a customer's first review of a product.
- Decide when points are credited. For prepaid orders, on payment is common. For cash on delivery, credit after delivery, ideally after the return window has closed.
Expiry and the terms page, done fairly
Expiry is legitimate. It becomes a problem when it is hidden or used to manufacture panic.
What the rules say
The Central Consumer Protection Authority's Guidelines for Prevention and Regulation of Dark Patterns, notified on 30 November 2023 under section 18 of the Consumer Protection Act, 2019, list thirteen specified practices and apply to platforms offering goods or services in India, and to advertisers and sellers. Several bear on how a loyalty programme is presented:
- False urgency: a "your points expire in 2 hours" banner is acceptable only if it is true for that customer.
- Basket sneaking: do not pre-add a paid membership or "VIP club" fee to the cart.
- Confirm shaming: no decline button that reads "No thanks, I don't like saving money".
- Forced action: let people check out without joining or handing over extra personal details.
- Interface interference and bait and switch: do not obscure the conditions, or advertise "₹500 for referring a friend" that turns out to be 500 points worth ₹25.
- Nagging: no repeated pop-ups after a customer has dismissed the request to join.
The Consumer Protection (E-Commerce) Rules, 2020 also bar e-commerce entities from unfair trade practices, and rule 7 requires an inventory e-commerce entity to display, clearly and prominently, accurate information on returns, refunds and exchange and "any other similar information which may be required by consumers to make informed decisions". How these rules apply to your store's rewards programme is a question for your own legal adviser; in practice, a customer should be able to find and understand the conditions before relying on them. See also our article on checkout design and the CCPA dark pattern guidelines.
What a fair terms page contains
Write one page, linked from the footer, the account area and every place a reward is advertised. State in plain language:
- who can join, and that it is free;
- how points are earned, with a rupee example, and what does not earn;
- what a point is worth, the minimum to redeem and the per-order cap;
- when points are credited and when they expire;
- what happens on cancellation, return and refund, and whether points combine with coupons;
- how referral rewards work and what counts as misuse;
- how you may change or close the programme, and whom to contact about a wrong balance.
Then build the system to behave exactly as the page says, and send an expiry reminder a few weeks ahead.
Where the programme appears on the site
- Product page: a line under the price, "Earn 1,200 points (₹60) on this order".
- Cart: points this cart will earn, the balance, and a control to apply points.
- Checkout: the reward as a visible line in the order summary. On Shopify, native store credit appears in the payment section for signed-in customers, and Shopify's documentation states that only the full balance can be applied, not a partial amount.
- Order confirmation page and email: points earned, total balance and the referral link.
- Account area: balance in points and rupees, a dated history of every credit and debit, the expiry date, referral status ("2 friends ordered, 1 pending") and a link to the terms.
- Emails and WhatsApp: points credited, reward available, expiry reminder. These belong inside your existing email and WhatsApp lifecycle flows, not in a separate stream.
Consent for those messages
"Double points this weekend" is marketing and needs permission for that channel. WhatsApp's Business Messaging Policy requires that you have "received opt-in permission from the recipient" and that you respect every request to opt out, on or off WhatsApp. India's Digital Personal Data Protection Rules, 2025 were notified on 14 November 2025, with the notice and consent rules scheduled to take effect 18 months after publication, which points to mid-2027; confirm the dates and what they require of your store with your adviser. Build now as if they apply: an unticked checkbox per channel, a stored consent record and an easy way to withdraw. If you send through the WhatsApp Business API, keep reward notifications and promotions as separate templates.
Referral mechanics that hold up
Links and codes
Give every customer a unique link (yourstore.in/?ref=AB12CD) and a matching short code. The link sets a first-party cookie and stores the referrer against the visitor's cart; the code is the fallback when the cookie is lost between phone and laptop. Point the canonical tag at the clean URL so referral parameters do not create duplicate pages. If you later pay bloggers or creators for links on their own sites, Google's guidance is that paid placements should be marked rel="sponsored".
Reward on the first delivered order
The most important rule: the referrer's reward is released only when the friend's first order is delivered and the return window has passed. Until then it shows as "pending". A cancelled or returned order pays nothing, which removes most of the incentive to cheat. Limit the friend's offer to new customers above a minimum order value, and pay both rewards as store credit, never cash.
Self-referral and fake-account checks
- Existing customer check: the friend's email and phone must not match a previous order. WooCommerce's AutomateWoo Refer A Friend add-on, for instance, checks the billing email against earlier orders and blocks the referral coupon on a match.
- Same-device check: if the browser already carries the referrer's own cookie or login, the coupon is refused.
- IP match: flagged and held for manual approval, not auto-rejected. WooCommerce's documentation makes the fair point that a matching address is not always fraud, since colleagues share an office network.
- Address or phone match with the referrer: manual review, since flatmates and family are legitimate.
- Caps: a maximum number of rewarded referrals per customer per month.
State in the terms that rewards obtained through self-referral or fake accounts can be withheld.
Coupons, cancellations and returns: the reversal logic
Decide each case below and write it into the terms.
Coupons and points together. Either allow one or the other per order, or allow both with points earned only on the amount paid. On Shopify, if the app issues the reward as a discount code, Shopify's combination settings apply: each discount must be set to combine with the other's class, and where they cannot combine Shopify applies the best overall discount. On WooCommerce, the Points and Rewards extension needs coupons enabled for redemption to work, and has its own maximum-discount caps. Our guide to discount codes, coupons and gift cards covers stacking in detail.
Cancellation or refund. Points redeemed on the order go back to the customer; points earned from it are removed, in proportion for a partial return.
Earned points already spent. A customer earns 1,200 points on order A, spends them on order B, then returns order A. The WooCommerce documentation says plainly that this can leave a negative balance, because the discount already given cannot be reversed. Either let future earnings fill the negative balance, or floor it at zero and absorb the loss. Crediting points only after the return window closes avoids most of these cases.
Because points and store credit are promises of future discounts, ask your accountant how the outstanding balance should be recorded in your books before launch.
Platform options for ecommerce website development in Pune stores
The costs below are indicative ranges for agency set-up work as of late 2026. They exclude app or plugin subscriptions, which change often; confirm those on each vendor's own listing.
| Route | What you get | Indicative set-up cost | Typical timeline |
|---|---|---|---|
| Shopify: loyalty app, standard set-up | Points, referral links, account widget, emails, theme blocks placed and styled | ₹15,000 to ₹45,000 | 1 to 2 weeks |
| Shopify: app plus custom work | Plus custom product and cart messaging, native store credit issued by API, WhatsApp notifications, fraud review rules | ₹60,000 to ₹1,50,000 | 3 to 5 weeks |
| WooCommerce: official extensions | Points and Rewards, a referral add-on, account pages, messages on product, cart and checkout | ₹25,000 to ₹70,000 | 2 to 3 weeks |
| WooCommerce: extensions plus custom rules | Plus delayed crediting after the return window, custom reversal logic, tiers, reporting | ₹70,000 to ₹1,80,000 | 4 to 6 weeks |
| Fully custom module | Your own points ledger, rules engine, referral tracking and reports | ₹2,00,000 to ₹6,00,000 or more | 6 to 12 weeks |
Included in these ranges: rule design, configuration, placement on product, cart, account and confirmation pages, email templates, terms page layout, cancellation and refund testing, and a basic report. Not included: app or plugin subscriptions, SMS or WhatsApp message charges, legal review of your terms, and ongoing campaign management.
Shopify notes
- Shopify has native store credit: a balance held against a customer account that staff can issue from the customer profile or choose as a refund method, with an optional expiry date per issuance. Shopify's documentation says it is not available for legacy customer accounts.
- Shopify has no native points system. The App Store's loyalty and rewards category listed 479 apps when we checked in November 2026, several with a free plan. Shortlist on how rewards are issued, referral fraud controls, data export, and what happens to balances if you uninstall.
- Store credit can be credited and debited through Shopify's Admin GraphQL API. The Shopify Flow actions reference we reviewed lists customer tags, customer metafields and a "Send Admin API request" action but no dedicated store credit action, so a custom cashback rule usually needs an API call from Flow or a small private app.
WooCommerce notes
- WooCommerce Points and Rewards (developed by Woo, listed at $179 a year when we checked) provides earn and redemption conversion rates, partial redemption, discount caps, expiry, points for sign-up and reviews, and a points log.
- AutomateWoo Refer A Friend (listed at $99 a year; it requires AutomateWoo, licensed separately) offers coupon-based and link-based campaigns, auto or manual approval once the order completes, and IP, cookie and email checks.
Go fully custom only when an offline counter must share one balance with the website, or the rules are unusual. A bespoke checkout build is where custom redemption usually sits.
Measuring whether it works
Judge the programme by whether members buy again more often than they would have, not by sign-ups or points issued.
The numbers to track
- Repeat purchase rate: of customers whose first order was in a given month, the share who ordered again within 90 or 180 days.
- Redemption rate: points redeemed divided by points issued. Very low means customers do not value the reward; very high with no lift in repeat rate means you are discounting orders that would have happened anyway.
- Reward cost as a percentage of member revenue, and the outstanding balance in rupees.
- Referral funnel: links shared, first orders, orders delivered and kept, rewards released or rejected.
- Referral cost per new customer: both rewards together, against what a new customer costs through paid ads.
Cohorts and a holdout
Members are, by self-selection, your keenest customers, so comparing them with non-members will always flatter the programme. Two better comparisons:
- Before and after cohorts. Compare the 90-day repeat rate of customers who first ordered in the three months before launch with those from the three months after, allowing for a festival season or price change.
- A holdout. For the first three months, withhold the programme's prompts and emails from a randomly chosen 10% to 20% of new customers, tagged in the store, and compare their repeat rate and margin per customer with everyone else.
Launch checklist
- Rules agreed in a spreadsheet, with cost modelled at two or three redemption-rate assumptions.
- Terms page written in plain language and linked from every reward message.
- Placements tested on a mid-range Android phone; guest checkout still works.
- Test orders run for prepaid, cash on delivery, coupon plus points, cancellation, full return, partial return, and return after points were spent.
- Referral tested across two devices, including self-referral.
- Marketing consent captured separately; no pre-ticked boxes or untrue countdowns.
- Holdout tag in place and baseline repeat rate recorded.
Building this with Govindani Infotech
Govindani Infotech designs and builds online stores on Shopify, WooCommerce and custom stacks from our office on Satara Road in Pune. For loyalty and referral work we start with the rule spreadsheet and the cancellation cases, then configure or build the programme, place it across the store, and set up the holdout report so that after three months you can see whether it paid for itself. To talk through your repeat-purchase numbers and which route fits, call 092019 58274 or contact us.
Frequently asked questions
How do I add a loyalty points programme to my Shopify store?
Shopify does not include a points system, so most stores install a loyalty app from the Shopify App Store and place its blocks on the product, cart and account pages. Shopify does have native store credit, which staff can issue and customers apply at checkout.
How much should a loyalty programme give back to customers?
There is no single correct figure; it depends on your gross margin and how often customers reorder. A common starting point is a nominal reward of a few percent of the amount paid, with a cap on how much of a cart points can cover.
Can loyalty points expire in India?
Stores commonly set an expiry, but it should be stated in the terms before the customer earns the points and shown in the account area. The CCPA's dark pattern guidelines list false urgency among specified practices, so expiry warnings must be true. Ask your own legal adviser to review the terms.
How do I stop customers from referring themselves?
Release the referrer's reward only after the friend's first order is delivered and the return window has passed. Check the friend's email and phone against past orders, and send matching IP or address cases to manual review.
What happens to loyalty points when an order is returned or cancelled?
The usual rule is that points redeemed on the order are returned to the customer and points earned from it are deducted. If the earned points were already spent, the balance can go negative, so decide in advance how to handle it.
Sources
- Shopify Help Center: Store credit
- Shopify Help Center: Combining discounts
- Shopify Help Center: Shopify Flow actions reference
- Shopify App Store: Loyalty and rewards category
- WooCommerce documentation: Points and Rewards
- WooCommerce Marketplace: Points and Rewards
- WooCommerce Marketplace: AutomateWoo Refer A Friend
- Legal 500: CCPA issues Guidelines for Prevention and Regulation of Dark Patterns, 2023
- Consumer Protection (E-Commerce) Rules, 2020: gazette text (PDF)
- WhatsApp Business Messaging Policy
- SCC Online: Digital Personal Data Protection Rules, 2025, key highlights
- Google Search Central: Qualify your outbound links to Google
About the author: written by the Govindani Infotech e-commerce build team in Pune, who set up and customise Shopify and WooCommerce stores, including the points, referral and store-credit rules that sit behind them.