Customer Purchase Limits
Limits how much of a product, a variation or a category one customer may buy over a period of time, counted from real order history with refunds subtracted, shown on the product page before the cart fills up.
by George Vasiliades · github.com/poseidonas/customer-purchase-limits · website
★ 0stars
1release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/poseidonas/customer-purchase-limits/releases/download/v1.0.0/customer-purchase-limits.zipDeclares an update source (https://github.com/Poseidonas/customer-purchase-limits), so updates arrive through the plugin's own updater.
From the readme
Customer Purchase Limits
Limits how much of a product, a variation or a whole category one customer may buy over a period of time. The count comes from real order history, refunds are taken back off it, and the customer is told how many are left on the product page rather than at the checkout.
- Author: George Vasiliades - https://github.com/Poseidonas
- License: GPL-2.0-or-later
- Requires WordPress 6.7 or newer
- Requires PHP 8.0 or newer
- Requires WooCommerce 9.0 or newer, tested up to 11.0
- Compatible with High-Performance Order Storage and with the cart and checkout blocks
- Settings live in WooCommerce Purchase Limits
Nothing is limited until you set a limit.
What was measured before writing this
Measured on WooCommerce 11.0.1 with a stock store:
| Question | Result |
| --- | --- |
| What does the core offer? | wccustomerboughtproduct(), which answers yes or no and never how many. A per-customer limit exists only for coupons |
| Is there a ready table with the numbers? | wcorderproductlookup carries productqty and customerid, exactly what is wanted |
| Is that table current? | No. After an order was created it still held 0 rows, with 13 jobs waiting in Action S
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.0.0 | Aug 19, 2026 | customer-purchase-limits.zip | 1 |