Description
Giftlark adds WooCommerce gift cards to your store. Shoppers pick an amount, add the recipient’s name, email and a personal message, and pay as usual. As soon as the payment is confirmed, a unique, unguessable code is emailed to the recipient. They enter it in the regular coupon field of the cart or checkout — it works with both the classic and the block-based cart and checkout, with no extra fields or theme changes.
Features
- Gift card product type with preset amounts (for example 25, 50, 100).
- Recipient name, email and personal message on the product page, with a live card preview.
- Unique codes emailed after payment — codes are created only once an order is paid (processing or completed), never for pending orders. Cash-on-delivery gift card orders can be held until you confirm the payment.
- Redeem at cart and checkout through the coupon field, classic and block checkout alike. The discount can never exceed the card balance and a gift card cannot pay for another gift card.
- Partial redemption: unused balance stays on the card for later orders. You can switch this off in the settings to make every card single-use.
- Balance tracking: the used value is deducted when the order is placed for real (on-hold, processing or completed) and given back automatically if the order is cancelled, refunded or fails.
- Admin list of issued cards with balance, status, recipient and order, search and filters, a full history per card, manual balance adjustment, disable/enable and an email preview.
- Brute-force protection: wrong code attempts are rate-limited per visitor IP with an atomic database counter, so parallel requests cannot get past the limit.
Every feature listed above works in this plugin with no key, account or time limit. A separate paid plugin, Giftlark Pro, adds PDF vouchers, custom amounts, scheduled delivery, bulk generation, expiry reminders and in-store redemption: Giftlark Pro.
External services
This plugin does not connect to any external service and sends no data anywhere. Gift card emails go through your own site’s WordPress mail setup.
Screenshots



Installation
- Upload the
giftlarkfolder to/wp-content/plugins/, or install the zip from Plugins Add New Upload. - Activate Giftlark. WooCommerce must be active.
- Create a product and choose Gift card as the product type. Enter the amounts you offer (e.g.
25, 50, 100) and publish. - Check Gift Cards Settings. Make sure coupons are enabled in WooCommerce Settings General.
FAQ
-
Where do customers enter the gift card code?
-
In the normal WooCommerce coupon field on the cart or checkout page. It works with the block checkout and the classic shortcode checkout.
-
When is the gift card code sent?
-
When the order reaches Processing (or Completed, if you choose that in the settings). Codes are never created for pending or failed payments. With cash on delivery, Giftlark puts the order on hold until you mark it as paid.
-
Can a gift card be used for more than one order?
-
Yes. With “Keep the remaining balance on the card” switched on (the default), whatever is not spent stays on the card for the next order. Switch it off under Gift Cards Settings if you want single-use cards; the gift card email tells the recipient which rule applies.
-
Can a gift card cover shipping?
-
No. Like a WooCommerce fixed cart coupon, the card value is applied to the products in the cart. Shipping and fees are paid normally.
-
What happens to the balance if an order is cancelled or refunded?
-
The value used on that order goes back onto the card automatically. Partial refunds are not reversed automatically; adjust the balance from the card screen if needed.
-
Can customers use a gift card to buy another gift card?
-
No. Gift card products are excluded from the discount.
-
Are codes secure?
-
Codes are 16 random characters from a 31-character alphabet (about 79 bits), generated with
random_int, stored with a unique index, and wrong guesses are limited per IP (10 per 15 minutes by default) with an atomic counter. -
Does it support HPOS?
-
Yes. Giftlark is compatible with High-Performance Order Storage and the cart/checkout blocks.
-
Is my data kept if I delete the plugin?
-
Yes, unless you tick “Delete all plugin data when the plugin is deleted” in the settings.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Giftlark — Gift Cards for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Giftlark — Gift Cards for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.0
- Partial redemption is now a normal setting in this plugin (on by default): unused balance stays on the card for later orders.
- Code guessing protection now uses an atomic database counter, so parallel requests cannot get past the limit.
- The product editor script is now enqueued with wp_enqueue_script instead of being printed inline.
1.0.0
- Initial release.
