How to make a coffee shop website with a digital loyalty card
Replace the paper stamp card that lives in a wallet with a digital one that lives on a phone. Here is how a coffee shop can build a menu and loyalty card with one prompt.
For a coffee shop that needs a menu and a digital loyalty card, the best website builder is one that has customer sign-in and a database built in, because a loyalty card is just a login plus a counter. I'd build it with Swarmz from one prompt. I founded Swarmz, so I'm clearly the biased narrator here, and I'll say plainly where a person still has to do the work.
Built from one prompt
A coffee shop site with a menu and a digital loyalty card
Free plan, no card neededNames, prices and reviews in the example are placeholders
At the end you'll have a site where a customer signs in on their phone, sees ten circles, and watches them fill up one flat white at a time. No more paper cards that went through the wash.
What a coffee shop site actually needs
A coffee shop sells a habit. The site is there to make the habit easier and to bring the regulars back, not to impress a stranger once.
A menu that sells the top five. Espresso drinks, filter, cold drinks, a couple of bakes. Prices, sizes, and plant milk surcharges stated openly.
A loyalty card with simple rules. Buy 9 drinks, get the 10th free is easy to explain. Decide which drinks count (any size? only hot drinks?) and whether the free one has a price cap.
Customer sign-in. Email is enough. People need an account for the card to remember them.
A way to add a stamp that can't be faked. This is the whole design problem, so it gets its own section below.
Opening hours and a location block. Include the odd rules: "Close at 3 on Sundays."
Beans for sale. If you roast or stock beans, show them with tasting notes and let people reserve a bag for pickup.
A gallery with your actual counter. Faces matter in a shop where the barista knows your name.
A clear "who we are" blurb. Where the beans come from, who roasts, one human sentence.
The example
This is a site generated from a single prompt. Change the prompt for your shop and build your own.
Step by step
1. Make a free account and paste the prompt
Sign up at swarmz.net. The free plan includes 5 credits a day with no card. Paste the prompt, swap in your name and city, and build.
2. Write your menu in
Paste your real menu: "Espresso $3, flat white $3.80, filter $3.20, oat milk +$0.50..." Group it into Hot, Cold, Beans and Bakes. If you sell bags of beans, add weight, roast level and tasting notes. People like reading "dark chocolate, orange peel" more than "medium roast".
3. Define the loyalty rules in plain words
The prompt names ten stamps. Be explicit about the rest: "One stamp per drink, any size. The 10th stamp is a free drink up to $5. Stamps never expire." Swarmz will build a card page for signed-in customers with a row of circles and a "free drink" state when the card is full. Think about edge cases now, such as what happens when a customer has 10 stamps and orders a $7 drink. Write the rule down and put it on the card page.
4. Decide how stamps get added
You have three realistic options:
Staff page with a customer lookup. The barista opens a staff page, types the customer's email or short code, and taps "add stamp".
A code on the customer's phone. The customer shows a short code or QR on their card page and the barista types or scans it.
A daily code at the counter. Customers type today's code into their phone themselves. It's convenient, and it's the easiest to cheat, so I wouldn't start there.
Start with option 1 or 2. Ask Swarmz to build the staff page behind a login so only your team can add stamps, and to log who added each one and when. That log is your anti-fraud system and your answer to "I'm sure I had 8".
5. Add the menu extras that earn their keep
Add one page that explains the card, one "Today's bake" strip, and a short note about plant milks. If you'd like ordering ahead on top of the card, ask for click and collect and connect Swarmz Payments (it runs on Stripe, Stripe's usual fees apply, and Swarmz takes a small platform fee on each payment). That's optional; the loyalty card works without it.
6. Test with a friend
Make two accounts, collect nine stamps on one, and redeem the free drink. Try to add a stamp from the customer's account, and confirm it fails. The staff page should do things the customer page can't.
7. Publish and put a QR code on the counter
Publish with one click to a swarmz.cloud address. A custom domain like yourshop.com needs Pro at $25/month. Put a small sign by the till: "Scan to get your digital card." Then set up your Google Business Profile, and read how to get your AI app indexed by Google for the next steps.
Follow-up prompts
Add a 'Beans' page with each bag's roast level, tasting notes and weight, and a 'Reserve for pickup' button.Show a 'Your card' page after sign-in with the stamp circles, the date of the last stamp and a progress line like '3 more to your free drink'.Add a staff page, only for team members, that finds a customer by email, adds or removes a stamp, and logs who did it and when.Add a birthday field to sign-up, and give signed-in customers a free small drink in their birthday week.Add a 'Today at the counter' banner I can edit from the staff page, for the seasonal drink or a closed-early notice.What it costs
Swarmz is free to start: 5 credits a day, no card, unlimited projects, and sign-in and a database are included. Pro is $25/month for a custom domain, and a registrar charges a yearly domain fee. If you take payments online, Stripe's fees apply plus a small Swarmz platform fee. New accounts can try Pro free for 3 days with 25 credits (card needed, becomes Pro unless cancelled). A freelancer usually quotes for the whole project, and loyalty platforms often charge a monthly fee on top of a website. Building the card into your own site means it's your customer list.
Making a loyalty card that people actually use
A digital loyalty card fails for dull reasons, not technical ones. A few choices matter more than any code.
Make signing up take ten seconds. Email and a password, or a sign-in link, nothing more. Don't ask for a birthday on day one.
Make the first stamp instant. When someone signs up at the counter, add the stamp right then. A card with one circle already filled is more likely to get used than an empty one.
Don't hide the rules. "10th drink free" fits on the card page and on a sign by the till. Long terms make people suspicious.
Pick a reward that costs you less than it looks. A free drink costs you ingredients and a minute, not the menu price. Think about what you can give without wincing.
Own the cheating question. Someone will ask for a stamp for a drink they didn't buy. A staff-only page with a log means the barista can say "the system tracks it" instead of saying no with their own face.
Respect their data. You're collecting emails. Tell people what you'll do with them, and send only what you promised.
Say what a loyalty card isn't. It's a web page on a phone, not an Apple Wallet or Google Wallet pass. If you want that later, ask Swarmz about options, but don't promise it on day one.
For a wider view on tools, see best website builder for small business. And if you're curious about customer lists, best AI CRM builder covers it.
More guides like this
FAQ
What's the best website builder for a coffee shop with a loyalty card?
Pick a builder with customer sign-in and a database, because a loyalty card needs both. Swarmz has those built in, so a stamp card is a page you describe rather than a plugin you buy. You still need a person at the counter to add stamps.
Can I add a digital loyalty card to my coffee shop website?
Yes. Customers sign in, see their stamp count, and your staff add stamps from a staff page. The count lives in the built-in database.
Is there a coffee shop website template?
The example on this page works as one. Edit the prompt to match your menu and loyalty rules, then build your own copy.
How much does it cost to make a coffee shop website?
You can start free with 5 credits a day. A custom domain needs Pro at $25/month plus a yearly domain fee. Stripe's fees apply if you add online ordering.
What should a coffee shop website include?
A short menu with prices, opening hours, location, a few real photos, and a reason to return, like a loyalty card. Beans for sale and ordering ahead can come later.
Try it
The paper cards in your regulars' wallets are begging for an upgrade. Paste the prompt into Swarmz, fill in your shop's details, and have a card running by the weekend.
How did this land?
About the author

Founder of swarmz.net
Jordan founded Swarmz, the AI app builder at swarmz.net.


