Linux 软件免费装

Afileasy for WooCommerce

开发者 afileasy
uellpalma
更新时间 2026年11月3日 22:03
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce commissions referrals affiliates

下载

1.3.0 1.3.1

详情介绍:

Afileasy for WooCommerce connects your store to your Afileasy affiliate program without writing a single line of code: Events are delivered through Action Scheduler (already bundled with WooCommerce), so checkout is never blocked and failed deliveries are retried automatically. External services This plugin connects your store to Afileasy (https://afileasy.com), an affiliate program management service. The plugin does not work without that connection, and no data leaves your store until you paste your connection key under WooCommerce → Afileasy. Once connected, the integration communicates with Afileasy at four moments: 1. Tracking script (every storefront page) The plugin adds a <script> loaded from the Afileasy servers to every public page of your store. That script reads the referral parameter from the URL (?ref=...) and stores it in the afileasy_ref cookie in the visitor's browser, so the sale can be credited to the right affiliate. When the affiliate has a coupon, Afileasy also returns it and the script stores it in the afileasy_coupon cookie, which is what lets this plugin apply the coupon to the cart. Loading the script tells Afileasy the address of the page being visited and the visitor's IP address, as with any HTTP request. 2. Leads (when a referred visitor creates an account) When a visitor who arrived through an affiliate link creates a customer account — from My Account or from checkout — the plugin sends their email address and name to Afileasy, along with the referral identifier stored in the cookie, so the affiliate is credited with the lead. Accounts created without a referral send nothing. Developers can disable this with the afileasy_capture_leads filter: add_filter( 'afileasy_capture_leads', '__return_false' ); 3. Order events (when an order is paid or refunded) On those two events, and only on those, the plugin sends the following to Afileasy: This data is required to calculate, create and reverse affiliate commissions. By using this plugin you share your customers' personal data with Afileasy — make sure your store's privacy policy covers it. 4. Coupons (when you connect the store) So that the coupons you create in Afileasy become real coupons in your store, the plugin creates a WooCommerce REST API key (visible under WooCommerce → Settings → Advanced → REST API) and sends it to Afileasy together with your store address. Afileasy then uses the WooCommerce REST API to create, update and expire only those coupons. The key is deleted when you uninstall the plugin, and you can revoke it at any time in WooCommerce — coupon synchronization stops, everything else keeps working.

安装:

  1. Install and activate the plugin.
  2. In your Afileasy dashboard, go to Settings → Integrations → WooCommerce and click "Generate connection key".
  3. Copy the key and paste it under WooCommerce → Afileasy.
  4. Click "Test connection" to confirm it works.

屏幕截图:

  • Launch your affiliate program in minutes: group partners, set each group's commission, and have the affiliate link apply the coupon to the cart.
  • Customizable campaign page with your logo, colors and images — private by invitation or open to everyone, on your own domain.
  • Exclusive affiliate portal: affiliates follow clicks and conversions of their links and coupons, copy product links and download brand materials.
  • Fraud analysis for suspicious commissions, automatic reversal of commissions on cancelled and refunded orders, and a holding period before commissions are released.

常见问题:

Do I need an Afileasy account?

Yes. The plugin is a client for the Afileasy service and needs a connection key generated in the Afileasy dashboard.

When is a lead registered?

When a visitor arrives through an affiliate link and creates a customer account, either from My Account or by opting to create an account at checkout. Guest checkouts are not leads — those orders are attributed directly. Other forms (newsletter, contact) can be captured by adding data-afileasy-lead to the form in your theme.

Does it work with block checkout?

Yes. The referral is read server-side when the order is created, so both the classic checkout and the block (Store API) checkout are supported. Coupon autofill runs when the cart totals are calculated, which covers both checkouts as well.

Why was the affiliate's coupon not applied?

The coupon has to exist in this store: coupons created in Afileasy before you connected the integration are only published here after you sync them (Afileasy → Coupons → select → "Sincronizar com as integrações"). Autofill is also skipped when the shopper already applied a coupon of their own, when they removed the affiliate's coupon, or when the cart does not meet the coupon's own rules.

Is it compatible with High-Performance Order Storage (HPOS)?

Yes. The plugin declares compatibility with WooCommerce custom order tables.

更新日志:

1.3.1 1.3.0 1.2.1 1.2.0 1.1.0 1.0.0