Linux 软件免费装
Banner图

Giftvane - Gift Cards and Store Credit for WooCommerce

开发者 motylanogha
更新时间 2026年10月24日 04:00
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce store credit coupon code gift card gift voucher

下载

1.2.8 1.3.1 1.4.0

详情介绍:

Giftvane sells a gift card or gift voucher as an ordinary WooCommerce product. Tick the "Gift card" box on any product and set its price to the card value. When the order is marked complete, the plugin generates a unique store credit code worth that price, records its balance in its own table, and emails the code to the recipient the buyer named, or to the buyer's order email address. WooCommerce leaves a paid order for virtual products in Processing. With the "Complete gift-card-only orders automatically" setting on (the default on new installs), a paid order whose every item is a virtual gift card goes straight to Completed, so the recipient gets the code without the shop stepping in. Orders with any other product keep the usual flow. To spend a card, the customer enters the code in a field on the checkout. The balance is applied as a discount on that order. If the order costs less than the card is worth, the leftover stays on the code for a later purchase, so one card can cover several orders until it runs out. The buyer also sees the code(s) their order issued on the order-confirmation page and in their WooCommerce order emails, so they have the code in hand without hunting through their inbox. The code is built and tracked on GitHub. Source and bug reports: github.com/wppoland/plogins-giftcards Documentation and links What it does

安装:

  1. Upload the plugin to /wp-content/plugins/giftvane, or install it from Plugins > Add New.
  2. Activate it. WooCommerce must be active.
  3. Edit a product, tick Gift card on the General tab, and set its price to the value of the card.
  4. Set the code prefix and the recipient email under WooCommerce > Gift Cards.

屏幕截图:

  • Redeeming a gift card at checkout, where a shopper applies a code to their order.
  • The Gift Cards settings page under WooCommerce.

升级注意事项:

1.4.0 Gift-card-only orders can complete automatically after payment (off on existing sites, turn it on under WooCommerce > Gift Cards), and checkout shows the balance left on the card. 1.2.7 The gift card email shows the amount with a real currency symbol, the checkout gift card field is nonce-checked, plain-text emails list codes as text, and uninstall cleans every site of a network. 1.2.6 Security release. The product gift-card status ability checks access to that specific product. Update recommended.

常见问题:

Does it need WooCommerce?

Yes. WooCommerce 8.0 or later must be installed and active.

How do I set the value of a gift card?

The value is the price of the gift-card product. Buying two of a $50 card issues two $50 codes.

Who receives the code?

The buyer can fill in a recipient name, recipient email and a personal message (up to 500 characters) on the gift card product page. All three are optional. With a recipient email the code goes to that address, greeting the recipient by name and carrying the message; without one it goes to the order's billing email address. The buyer also sees the code on the order-confirmation page and in their order emails.

How does redeeming a code work?

The customer types the code into the field at checkout. The balance comes off that order as a discount, and anything left over stays on the code for next time.

Why did the recipient not get the code after payment?

Codes are issued when the order is Completed, and WooCommerce leaves paid orders for virtual products in Processing. Turn on "Complete gift-card-only orders automatically" under WooCommerce > Gift Cards: a paid order made only of virtual gift card products then completes on its own. Mark the gift card product as Virtual for this to apply. Orders that also contain other products, or a gift card that ships, still need you to complete them. It applies when the payment method reports the payment, as card and wallet gateways do; bank transfer and cheque orders wait on hold for you, and you complete them yourself. The setting is on by default for new installs; sites that installed an earlier version keep it off until they turn it on.

Can a gift card be used more than once?

Yes. If checkout uses only part of the balance, the remaining store credit stays on the same code for a later order.

Does each quantity create a separate code?

Yes. Buying two units of a gift card product issues two separate store credit codes with the product price as each value.

Can I customise the email?

Yes. Set the email subject and body under WooCommerce > Gift Cards, with tokens for the code and amount.

Does it work with WooCommerce checkout blocks?

Yes, including HPOS. On the block cart and checkout the shopper types the gift card code into the coupon field. It is applied as a discount of up to the card balance and the card is debited when the order is placed, with the balance checked again at that moment. On the classic checkout the gift card field works as before, and the coupon field accepts a code too. Through the coupon field a card covers products, not shipping. In a store that adds tax on top of its prices the discount is the net share of the balance, so the discount plus its tax stays within the card. One gift card can be used per order, and the same card cannot be applied twice. A shop coupon with the same code as a gift card takes precedence.

Does this plugin work on WordPress Multisite?

Yes. This plugin is compatible with WordPress Multisite. Network activate it or activate it on individual sites; each site keeps its own settings and data.

更新日志:

1.4.0 1.3.1 1.3.0 1.2.9 1.2.8 1.2.7 1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.4 1.0.3 1.0.2 1.0.1 0.2.1 0.2.0 0.1.0