Linux 软件免费装
Banner图

Australcode Loyalty Program, Points and Rewards for WooCommerce

开发者 australcode
更新时间 2026年8月16日 04:10
PHP版本: 8.2 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

points loyalty program loyalty points and rewards reward points

下载

1.3.0 1.1.0 1.2.0 1.0.3 1.0.1 1.0.2

详情介绍:

Australcode Points and Rewards is a loyalty plugin for WooCommerce with one design goal: a points program that stays fast and predictable as your store grows. Every customer gets a points wallet backed by dedicated, append-only ledger tables, and they redeem points at checkout straight from that balance — no coupon codes to manage. Customers earn on every order and you control earning, redemption and display from a clean WordPress admin. Switching from another loyalty plugin? A built-in importer migrates your customers' point balances from YITH WooCommerce Points and Rewards — from the admin or with a WP-CLI command, dry-run included. Requires: WordPress 6.5+ · PHP 8.2+ · WooCommerce 9.0+ (WooCommerce must be active). Free features Pro features (unlocked with a license) Get Pro → External services This plugin uses Freemius to handle Pro licensing, checkout and plugin updates. Freemius is the Merchant of Record for the Pro plan. Service provider: Freemius, Inc. Terms of Service: https://freemius.com/terms/ Privacy Policy: https://freemius.com/privacy/

安装:

  1. Upload the australcode-points-rewards folder to /wp-content/plugins/, or install it from the Plugins screen.
  2. Activate the plugin through the "Plugins" menu in WordPress. WooCommerce must be active.
  3. Go to Australcode Rewards → Settings to configure earning, redemption and display options.
  4. (Pro) Go to Australcode Rewards → Upgrade to buy or activate a Pro license — checkout and activation are handled in-dashboard by Freemius, and you can manage the license later under Australcode Rewards → Account.

屏幕截图:

  • My Account rewards area — customers see their balance, redeem points straight onto the current cart (no coupon code involved) and review their full earn/redeem history.
  • Settings — configure earning, redemption and display, with inline guidance and a recommendation for each non-obvious option.
  • VIP tiers — reward your most loyal customers with higher earning multipliers (Pro).
  • Customers — per-customer balances and activity, all read from fast custom tables.
  • Campaigns — schedule limited-time earning multipliers, like a double-points weekend, that stack on your base rate (Pro).
  • Import — migrate your customers' point balances from YITH WooCommerce Points and Rewards, with a dry-run preview before anything is written.

升级注意事项:

1.3.0 Partial refunds now adjust points in proportion, both the points an order earned and the points spent on it. Until now they adjusted nothing. Nothing to reconfigure, but partial refunds you issue from now on will take points back where they used to take none. 1.2.0 Adds redemption directly in the block-based cart, so customers no longer leave the cart to spend points. Fixes a bug where saving Settings on the free version switched off a Pro review setting. The display name changes — display only, nothing to reconfigure. No breaking changes. 1.1.0 Adds a free-product reward (Pro) and fixes the free version presenting Pro as active after a purchase, before the Pro download is installed — settings you set there never took effect. Also restores the keyboard focus outline on admin buttons. No breaking changes. 1.0.3 Adds a "Support Forum" link to the plugin menu and fixes the License screen, which showed an empty page to Pro owners. No breaking changes. 1.0.2 Pro: fixes the birthday field in My Account, which silently failed to save. If you offer a birthday reward, update — until now no customer could record a birthday for it. No breaking changes. 1.0.1 Fixes redemption discounts being inflated by the tax rate in tax-inclusive stores. No breaking changes. 0.4.0 New Display & Widgets settings, shortcodes and blocks for every rewards surface, a Pro referrals report, and UI fixes. No breaking changes. 0.3.2 Pro-only features now ship only in the Pro version; the free version stays fully functional. Internal compliance and styling fixes. 0.3.0 Mobile-friendly tables across the admin and refreshed styling. No breaking changes. 0.2.0 Edit tiers and campaigns in place, block-aware asset loading and complete es_CL/es_ES translations. 0.1.0 Initial release.

常见问题:

Does this plugin require WooCommerce?

Yes. Australcode Points and Rewards extends WooCommerce and will show a notice if WooCommerce is not active.

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

Yes. It uses the WooCommerce order CRUD API and declares HPOS compatibility.

How are points stored?

In dedicated custom tables (balances and an append-only transaction ledger), so reads stay fast as your store grows.

Can customers spend points on any order?

You set the redemption rate, a minimum number of points required to redeem, and the maximum percentage of a cart that can be paid with points.

Can customers redeem points at checkout?

Yes — that is the default. The redeem box sits in the cart and in the My Account rewards area, and the points come straight off the order total, like a payment. Nothing generates a coupon code you then have to send, chase or clean up.

Does it work with the block-based Cart and Checkout?

Yes, and the redeem field is in the cart itself in both. In the block-based cart it sits in the Cart totals panel, below the order total and the coupon accordion; in the classic cart it sits above the totals. The My Account rewards area works with both as well, and the points come off the order total either way.

When do points expire?

Never, by default. With a Pro license you can set an expiration window; points are then swept by a daily task.

Can a points balance go negative?

Yes, and it is meant to. If a customer earns points, spends them, and the order is then cancelled or refunded, the points they already spent are taken back — which can leave the balance below zero. The plugin leaves it there instead of rounding up to zero, because the balance is an honest record of what the customer owes the programme, and quietly forgiving it would let anyone reset their debt by cancelling an order. They earn their way back up; redeeming stays unavailable while the balance is at or below zero.

Can customers see their whole points history?

Yes. The Rewards tab in My Account lists every movement, twenty per page, with pages to reach the rest. The ledger keeps every entry — nothing is trimmed or rolled up — so what a customer sees is the same record the shop sees.

I already refunded part of an order before updating. Will points be adjusted for those?

No. Proportional adjustment applies to refunds issued from the moment you update onwards; orders you refunded before that are left exactly as they are, and no balance changes on update. If you want to settle an old case, adjust that customer by hand from the Customers screen — the change is recorded in the ledger like any other.

I'm switching from YITH WooCommerce Points and Rewards — can I migrate?

Yes. The plugin ships a dedicated YITH importer: an Import page in the admin and a wp acrwd import yith WP-CLI command, both with a dry-run preview. It reads your customers' existing balances and writes them into the plugin's ledger, so nobody loses their points when you switch.

How is this different from other WooCommerce loyalty plugins?

A few deliberate choices set it apart:

  • Redeem from a wallet, not a coupon. Customers spend points directly at checkout — no auto-generated coupon codes to manage or clean up.
  • Built on custom tables, not user meta. Balances and history live in dedicated, append-only ledger tables, so reads stay fast as your customer base grows.
  • Generous free tier. Earning with per-product and per-category rates, wallet redemption, the My Account area, product/cart messaging, shortcodes and blocks, the YITH importer and dark mode are all free; Pro adds automation (an earning-rules engine, bonus events, VIP tiers, campaigns, referrals and expiration).
  • Clean, focused admin. A single, uncluttered settings area rather than a sprawl of options.

Can I restyle the rewards surfaces to match my theme?

You mostly don't have to. The customer-facing surfaces inherit your theme: text color, fonts and the hairlines/backgrounds derive from whatever the surrounding page is using, so they follow a light or a dark theme on their own. Where a block theme publishes a brand color (primary, accent or accent-1), it is picked up too. To go further, add CSS variables on .acfk.acrwd-scope — the class every rewards fragment carries: .acfk.acrwd-scope { --acrwd-accent: #b3005e; }

  • --acrwd-accent — accent for figures, the tier multiplier, the progress bar and the focus ring. Also settable without code in Settings → Display. Leave it unset and the theme's own brand color is used.
  • --acrwd-fg — text color for the rewards surfaces. Unset means "inherit from the page", which is almost always what you want.
  • --acrwd-muted — secondary text: the points value under a balance, timestamps in the history table, help lines. Unset inherits from the page at reduced emphasis.
  • --acrwd-border — the hairlines around cards and between history rows.
  • --acrwd-surface — the card background behind the balance, the redemption list and the history table.
  • --acfk-radius, --acfk-gap, --acfk-hairline, --acfk-wash — corner radius, spacing and the neutral lines/backgrounds shared by every Australcode plugin on the storefront.
The last three are the same four variables the built-in dark mode sets, so if you are theming a dark surface on a light theme you can set them directly instead of enabling dark mode. The floating widget keeps its own fill (--acrwd-accent, or the plugin's green) rather than inheriting the theme's, because it carries text on top and an inherited color cannot be checked for contrast in advance.

Which actions and filters can I hook into?

The full catalogue, with argument lists, is on the plugin's Help screen (Rewards → Help). Hooks marked (Pro) fire only when the Pro version is installed; the rest are in the free version: Filters:

  • acrwd_earning_multiplier — ( int $points, int $user_id, WC_Order $order ) — stack an extra multiplier on top of the base and per-role amounts.
  • acrwd_role_earning_multiplier — ( float $multiplier, int $user_id, string[] $roles ) — customise the per-role earning multiplier.
  • acrwd_earning_bonus_points — ( int $bonus, int $user_id, WC_Order $order ) — add flat bonus points after every multiplier has been applied.
  • acrwd_order_earned_points — ( int $fallback, WC_Order $order ) — read what an order earned (the ledger amount once awarded, otherwise a preview), to show the figure on your thank-you page.
  • acrwd_account_endpoint — ( string $endpoint ) — change the My Account "Rewards" endpoint slug.
  • acrwd_enqueue_frontend — ( bool $should ) — force-load the storefront CSS where the plugin cannot detect its own output, which happens with some page builders.
  • acrwd_tier_label — ( string $label, string $tier_id ) — supply the display label for a VIP tier if you render tiers yourself.
Actions:
  • acrwd_points_earned — ( int $user_id, WC_Order $order ) — fires after an order's points are awarded.
  • acrwd_points_adjusted — ( int $user_id, int $points ) — fires after you adjust a balance by hand; the points are signed.
  • acrwd_myaccount_after_summary — ( int $user_id, Balance $balance ) — fires in the My Account "Rewards" tab after the balance summary, so you can add your own panel.
  • acrwd_tier_changed (Pro) — ( int $user_id, ?Tier $tier ) — fires when a customer's VIP tier changes; $tier is null when they drop below the lowest one.
  • acrwd_email_points_expiring (Pro) — ( int $user_id, int $points, string $expires ) — fires per customer when the expiry reminder runs, to send your own notification.

What happens if my Pro license lapses?

The free version keeps running and your points, ledger and history stay untouched — the Pro features switch off until you renew. Pro is one site: an annual subscription, or a one-time lifetime license that never expires. Refunds are handled by Freemius, our Merchant of Record, with a 14-day money-back guarantee.

Do you offer support?

Free users can ask questions in the WordPress.org support forum. A Pro license includes email support — write to info@australcode.io and we'll help you get your rewards program running.

更新日志:

1.3.0 1.2.0 1.1.0 1.0.3 1.0.2 1.0.1 1.0.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.2 0.3.1 0.3.0 0.2.0 0.1.0