Linux 软件免费装
Banner图

eGift.be

开发者 egiftbv
sanderdesait
更新时间 2026年11月10日 02:28
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce gift certificate gift card gift voucher cadeaubon

下载

0.1.1 0.1.2

详情介绍:

eGift lets Belgian merchants sell gift vouchers (cadeaubonnen) online. Buyers choose an amount or one of your experience vouchers, pay online and receive the gift voucher by e-mail. eGift handles the payment and the delivery, and pays you out. Your customers redeem it in your shop, with the eGift app or portal. This plugin brings that to your WordPress site, without pasting code into a page. Connect once. Under Settings > eGift, paste the code from the "Bon op uw eigen website" page in the eGift portal, or just your merchant ID. The plugin shows which eGift account it is connected to and what is still missing before buyers can buy your gift vouchers (company details, logo, banner), with a link to each step. Place the eGift Widget anywhere. The Widget is where buyers choose and pay for a gift voucher. Put it on a page with: Make it yours. Give the Widget's buttons the accent color of your site (in the block, the shortcode or the page button), and sell one of your experience vouchers on a page of its own. Accept gift vouchers in your WooCommerce shop. Create an API-sleutel (API key) in the eGift portal and paste it under Settings > eGift. Buyers then get a "Gift voucher" field in the cart and the checkout, classic or block-based. A voucher pays like a payment method, not a discount: it lowers the amount to pay, shipping included, and leaves the item lines and VAT as they are. Several vouchers can pay one order; the buyer pays the rest as usual. Once the order is paid, eGift takes the amount off each voucher and shows it with the order number in your eGift portal. Refunding the order puts the voucher part back on the voucher. The shop currency must be euro. The plugin is free. You need an eGift account, which you can create for free at egift.be. eGift charges its usual commission on each gift voucher sold. The plugin works with or without WooCommerce. The plugin's screens are in English. Their Dutch (Belgium) and Dutch (Netherlands) translations come through translate.wordpress.org.

安装:

  1. In WordPress, go to Plugins > Add Plugin, search for "eGift", then install and activate the plugin.
  2. Go to Settings > eGift. No eGift account yet? Click "Create a free account" there first.
  3. In the eGift portal, open "Bon op uw eigen website", copy the code and paste it under Settings > eGift. Your merchant ID alone works too. Click Save.
  4. Finish any steps the plugin lists as still missing, in the eGift portal.
  5. Click "Create a Gift voucher page" and add the page to your menu, or add the eGift Widget block to a page of your choice.
  6. WooCommerce shop? In the eGift portal, create an API-sleutel under Verkoop > API-sleutels and paste it under Settings > eGift, in the Webshop part.

屏幕截图:

  • Once everything is done, one click creates a "Cadeaubon" page with the eGift Widget in your accent color.
  • The eGift Widget block in the editor, with its accent color and experience voucher settings.
  • The gift voucher page on your site: buyers choose and pay for a gift voucher in the eGift Widget.

常见问题:

Do I need an eGift account?

Yes. The plugin places the eGift Widget of your eGift account on your site. Creating an account is free: use the "Create a free account" link under Settings > eGift, or register at egift.be.

What does it cost?

The plugin is free. eGift charges its usual commission on each gift voucher sold through the Widget, exactly as for a sale on egift.be. See the eGift merchant terms.

Where do I find my code?

In the eGift portal, on "Bon op uw eigen website", under "Plak deze code op uw pagina". Your merchant ID alone works as well.

Does it work with my page builder?

Use the eGift Widget block in the block editor. In page builders without blocks, put the shortcode [egift] in a text or shortcode element.

Can I sell one experience voucher on a page of its own?

Yes. Choose it in the block's settings, or add its ID to the shortcode: [egift experience="12"]. The IDs are on the "Bon op uw eigen website" page in the eGift portal.

Where do buyers pay, and what does my site store?

Buyers choose and pay inside the Widget, which egift.be shows in a frame on your page. No payment or buyer data passes through your site. The plugin stores your merchant ID, your API-sleutel and which page it created, and nothing about your visitors.

Why does the Widget not show on my page?

Check Settings > eGift. If the site is not connected yet, logged-in administrators see a hint on the page and visitors see nothing. If steps are still missing in your eGift account, finish them in the eGift portal first.

What if a gift voucher has less credit left when the order is paid?

eGift takes what is left, and the order goes on hold with a note of the amount still to collect from the buyer.

Can a developer keep some products from being paid with a gift voucher?

Yes, with the egift_eligible_amount filter; there is no setting for it. It receives the part of the cart total that gift vouchers may pay (the whole total with shipping and taxes) and the cart, and can only lower that part. For example, to leave out the category "wine": add_filter( 'egift_eligible_amount', function ( $eligible, $cart ) { foreach ( $cart->get_cart() as $item ) { if ( has_term( 'wine', 'product_cat', $item['product_id'] ) ) { $eligible -= $item['line_total'] + $item['line_tax']; } } return $eligible; }, 10, 2 ); The buyer pays the rest with another payment method.

A gift voucher pays a different amount than I expect. How do I find out why?

Turn on the diagnostics mode under Settings > eGift. Logged-in administrators then see in the cart and the checkout each step from the cart total to the amount to pay, and the active plugins. A discount or pricing plugin is the usual cause. Buyers never see it.

更新日志:

0.1.2 0.1.1