[WordPress] 外掛分享: HDWebmobile Loyalty Points & Store Credit

首頁 › 外掛目錄 › HDWebmobile Loyalty Points & Store Credit
WordPress 外掛 HDWebmobile Loyalty Points & Store Credit 的封面圖片
全新外掛
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 6.9+ PHP 7.4+ v1.0.0 上架:2026-10-12

內容簡介

HDWebmobile Loyalty Points & Store Credit 外掛可讓顧客在每次完成訂單後獲得積分,這些積分可用於未來購物的折扣。顧客可以在其帳戶中的「Loyalty Points」標籤查看積分餘額及完整歷史紀錄。

【主要功能】
• 可配置的積分獲得率和訂單狀態
• 可配置的積分兌換率和最低兌換門檻
• 購物車頁面的即時積分兌換框
• 「Loyalty Points」標籤顯示當前餘額和交易歷史
• 自動撤銷已取消或退款的訂單積分
• 管理員手動調整積分工具

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「HDWebmobile Loyalty Points & Store Credit」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

HDWebmobile Loyalty Points & Store Credit rewards customers with points for every completed order, which they can redeem for a discount on a future purchase. Customers see their balance and full history on a new “Loyalty Points” tab in their account.
Security by design
Store credit and coupon tools hold real monetary value, so broken access control in them (CWE-284) can let attackers generate high-value credit through insufficient authorization checks — forging value that was never actually earned. A points balance is exactly the same kind of value, and needs the same discipline. This plugin closes that vulnerability class by construction:

There is no “balance” field anywhere that gets directly written. Every award, redemption, and admin adjustment is a signed row in an append-only ledger table, and a customer’s balance is always the live sum of their own rows — never a cached number that could drift or be overwritten by a bad request.
Every redemption re-checks the customer’s current live balance at the exact moment of redemption, both when the discount is shown in the cart and again when the order is actually created — never a points figure the checkout form sent back to the server.
Every earn and redemption is tied to a specific order and only ever happens once for that order, so a page refresh, retried request, or duplicate status-change event can never double-award or double-redeem.
If an order is later cancelled, refunded, or fails, any points it awarded or redeemed are automatically reversed — so a cancelled order can never leave a customer with free points, or a lost balance, on the books.
Manual adjustments (for customer service) always record which admin made the change.

Key Features

Configurable points-earning rate (points per currency unit spent) and the order status that triggers earning
Configurable redemption rate (points required per currency unit of discount), a minimum-points-to-redeem threshold, and a maximum percentage of any single order that can be paid with points
A simple redemption box on the cart page showing the customer’s live balance, with an amount they can apply as a discount
“Loyalty Points” tab in My Account showing current balance and full transaction history
Automatic point reversal on cancelled, refunded, or failed orders
Admin manual adjustment tool (grant or deduct points for a specific customer by email) plus a recent-activity ledger view, both under WooCommerce > HDWebmobile

Limitations (please read before installing)

Points can only be earned by logged-in customers with an account — guest checkouts don’t accrue points, since there’s no account to credit them to
No expiry date on points in this version
The cart redemption box uses a plain form submission (not AJAX) — applying or removing a redemption reloads the cart page

Enjoying this plugin?
If it helps your site, please consider leaving an honest review on WordPress.org — it helps other WordPress users find it. Found a problem or have an idea? Please open a support topic first so it can be fixed.
How to Use
1. Customers earn points automatically
As soon as an order reaches the configured “earning” status (Completed, by default), the customer’s account is credited with points based on the order total. Nothing else to configure.
2. Customers redeem points on the cart page
Once a customer has enough points (the configured minimum), a box appears on the cart page showing their balance and an amount to redeem. Applying it adds a discount, capped at the configured maximum percentage of the order.
3. Customers track their balance
“Loyalty Points” appears in the My Account menu, showing the current balance and a full history of every point earned, redeemed, or adjusted.
4. Customer service adjustments
Under WooCommerce > HDWebmobile > Loyalty Points, an admin can grant or deduct points for any customer by email, with a note — useful for compensating a delayed order or correcting an issue.

延伸相關外掛

文章
Filter
Mastodon