
外掛標籤
開發者團隊
原文外掛簡介
LAFU Gift Cards turns any simple WooCommerce product into a gift card. Customers choose the amount, see the card in the shop’s design, and send the card by email right away or on the day they pick. Shops sell cards at the till too, and every card has a complete history of where its money went.
Everything below is free, with no account, licence key or upsell screens.
Selling
Ready amounts and an own amount with your lowest and highest limit.
Three ready designs: Colour in your own brand colour, Gift ribbon and Christmas, drawn so the amount, code and QR code stay readable.
One design per product, with its colour, picked on the product’s Gift card tab. The card shows your shop name.
A live preview of the card while the buyer fills in the form, which stays in view while they scroll.
Change the heading of the card per product, for example to your own language. Card texts come in 19 languages.
Every card carries a QR code for quick lookup at the till.
Send to someone else with their name, your name or anonymously, a message and a delivery date.
Several recipients in one go: each address gets its own card.
Printed cards that you ship instead of email.
Gift cards are sold without VAT and cannot be bought with coupons.
In the shop
Sell a card at the till (cash or card) from WooCommerce > Gift cards. It is saved as a normal paid order, so it appears in your sales and bookkeeping.
Give a card away without payment, for example as compensation.
Print any card, with its code and design.
Paying with a card
Customers enter the code in the cart or checkout. Works in the classic pages and in the cart and checkout blocks.
Partial use: whatever is not spent stays on the card.
The card pays like a payment method. Product prices and VAT stay as they are, which is how most multi-purpose vouchers are booked.
Several cards on one order, and cards can cover the whole order.
Cancelled and refunded orders put the money back on the card automatically.
Partly refunded order? Return to card on the order screen puts back what the card paid.
Customers
My Account > Gift cards lists their cards with balances, and they can save a card they received to use it with one click.
Balance check anywhere with the [lafu_gift_card_balance] shortcode.
Control
Every change of balance is one row in the card history, written under a database lock, so a card can never be spent twice.
Change a balance with a reason, edit the recipient or expiry date, resend the email, or cancel a card.
Import existing cards (for example paper cards) from CSV with their own codes and balances. Export all cards to CSV.
Optional expiry after a number of months, with a daily job that closes expired cards.
Code lookups are rate limited, and codes have about 79 bits of randomness.
Works with WooCommerce High-Performance Order Storage, the cart and checkout blocks and the Add to cart with options block.
Personal data export and erase through the WordPress privacy tools. Codes and balances are kept, because they are money.
Accessible: WCAG 2.1 AA checked.
For developers
Hooks: lafu_gift_cards_issued, lafu_gift_cards_balance_changed, lafu_gift_cards_designs, lafu_gift_cards_default_expiry.
Orders paid with gift cards carry the meta _lafu_gc_redemptions (card, masked code, amount), so accounting tools can book them as a payment.
Email templates can be overridden in your theme like any WooCommerce email.
LAFU Gift Cards Pro
Everything above is free and stays free. For shops that want more, the separate LAFU Gift Cards Pro add-on adds:
Designer: your own words and colours on every design, the style of the gift card page, and designs made from your own photo or printed card, with the amount placed anywhere
Ten illustrated occasion designs and buyer photo cards
Till for the counter with QR scanning
Printed card batches and bulk orders for companies
Store credit from refunds, top-ups and bonus cards
Group gifts: several people chip in for one card
Text message and WhatsApp delivery
Limits by category or product
Expiry reminders and reports
REST API and webhooks
Credits
The gift card page bundles the Fraunces and Manrope fonts (SIL Open Font License 1.1, licence files in assets/fonts). No fonts are loaded from other servers.
