Coupon Lock for WooCommerce
Spot rings of linked accounts and block repeat welcome coupons at WooCommerce checkout.
Install in
Some shoppers create many accounts to claim your first-order discount again and again. Coupon Lock for WooCommerce links orders that share an email, phone number or address, even through other orders, and lets you stop the repeat coupon at checkout.
- Per-coupon rules. Choose which details a coupon checks: email, phone, address or IP address. If the shopper matches an earlier order on any chosen rule, the coupon is refused. Gmail dots and
+tagsare treated as the same address. Set rules from the Rules tab or from the coupon’s Usage restriction tab. - Rings. WooCommerce > Coupon Lock lists groups of orders linked to each other. A shares a phone with B and B shares an address with C, so all three show as one ring.
- Order notes. An order that matches earlier orders gets a note naming them, with links to those orders and to the ring. When a coupon is refused, the order the shopper then places gets a “Coupon Lock System Alert” note naming the coupon.
- Hold for review. Under Plugin Settings, switch from refusing the coupon to holding the order. The shopper keeps the discount, but the order is set to On hold until you release it by changing its status. Rings you block by hand stay refused.
- Import past orders. One click indexes the last 12 months so rings show up on day one.
- Works with classic and block checkout, and with High-Performance Order Storage.
- If details are missing the coupon is allowed, so a checkout is never broken.
Privacy
Coupon Lock for WooCommerce stores one-way HMAC-SHA256 hashes of each order’s billing email, phone, address and IP address in a table on your own site. The hashes cannot be reversed. Nothing is sent to any external server. Data is removed when an order is deleted or cancelled, through the WordPress personal data export and erase tools, and when the plugin is deleted. The plugin adds suggested text to your site’s privacy policy page.
Support
Questions or bug reports: contact@twinspotlab.com. Built by Twinspot Lab, https://twinspotlab.com.
Source code and third-party libraries
The admin screen is a React app. The files in build/ are compiled from the readable source in src/, available at https://github.com/NiharRan/coupon-lock. To rebuild: run npm ci && npm run build.
The build bundles these libraries, all GPL-compatible: @radix-ui/react-dialog, @xyflow/react, motion, clsx and tailwind-merge (MIT); d3-force and lucide-react (ISC); class-variance-authority (Apache-2.0). Their licenses are in the repository’s package-lock.json and in each package on npm.
Written by Joobi from the project's own listing. See the source page
0.5.2
- Added Twinspot Lab support contact (contact@twinspotlab.com).
- Removed the Coupon Lock Pro admin note.
0.5.1
- New Coupon Lock logo.
- Choose per coupon which details to match: email, phone, address or IP address. Coupons that used “New customers only” keep matching email, phone and address.
- The Rules tab lists every coupon, with search, filters and rule editing.
0.5.0
0.4.0
- Add
Api::set_ring_stateandApi::ring_state_for_orderso add-ons can allow, block or clear a ring.
0.3.0
- Add
Api::component,Api::edge_rows, a ring detail filter and generic map hubs for add-ons.
0.2.0
- Add a PHP API for add-ons and start on plugins_loaded.
0.1.0
- First release.
Follow this listing's changes (Atom feed)