Beltoft Gift Cards for WooCommerce

Changelog

1.4.3

  • Fixed General settings tab missing on non-gift-card products.

1.4.2

  • Added GitHub Actions workflow for automated WordPress.org deployment.

1.4.1

  • Added width: 100% to gift card product fields container for better theme compatibility.
  • Added placeholder text to Predefined Amounts field on the product edit page.

1.4.0

  • Renamed plugin slug and folder to beltoft-gift-cards.
  • Renamed text domain to beltoft-gift-cards.
  • Replaced inline scripts with wp_add_inline_script().
  • Fixed double-escaping on gift card price display.
  • Improved input sanitization on all add-to-cart POST data.
  • Moved all inline styles to external CSS files.
  • Added wp_cache_delete() calls after custom table writes.
  • Updated author to beltoft.net.

1.3.0

  • Improved: MySQL advisory lock for concurrent balance deductions.
  • Improved: SQL-level pagination for My Account gift cards.
  • Improved: Bulk gift card code lookups in cart and Store API.
  • Improved: Expiry sync moved to WP-Cron (hourly) with composite DB index.
  • Fixed: Tax-inclusive discount amount in balance deductions.
  • Fixed: Refund safety guard requires prior deduction before restoring balance.
  • Added: Block checkout support — gift card codes identified via Store API extension.

1.0.0

  • Initial release.
  • Gift card product type with predefined and custom amounts.
  • Email delivery to recipients using WooCommerce email templates.
  • Auto-apply gift card from email “Shop Now” link.
  • Virtual coupon integration — gift card discounts display natively between subtotal and total with WooCommerce [Remove] link.
  • Optional dedicated “Apply Gift Card” field with automatic or shortcode-only placement.
  • Personal message displayed in cart and order details.
  • Price range display in shop catalog (e.g., “$25 – $100”).
  • Balance tracking with partial redemption.
  • My Account tab for viewing gift cards and transactions.
  • Admin dashboard, gift card list with bulk actions, and manual creation.
  • Order meta box showing created and used gift cards.
  • Automatic balance restore on cancel/refund with partial refund support.
  • Loyalty Rewards for WooCommerce integration — block or allow loyalty points for gift card purchases.
  • Atomic balance deduction to prevent race conditions.
  • Rate limiting on gift card code lookups.
  • HPOS compatibility.
  • Block checkout incompatibility declared (classic checkout required).
  • Portuguese (pt_PT) translation included.

Plugin Website
Visit website

Author
beltoftnet
Version:
1.4.3
Last Updated
April 6, 2026
Requires
WordPress 5.8
Tested Up To
WordPress 6.9.4
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.