OpenCart 2.3–4.1 extension

Supreme Purchase Limits

Cap how many of a product, or of a whole category, one order and one customer can buy. For limited stock, trial offers and rationed items. A cart over a limit shows a clear message on the cart page and cannot go to the checkout. No monthly fee, no outside service, no core files changed.

$20
Supreme Purchase Limits — overview

What you set up

  • A rule for one product or one category (with its sub categories).
  • Most per order, and most per customer (0 means no limit).
  • For the customer limit: count all earlier orders, or only the last number of days you choose.
  • Optional: one customer group only, and your own message.

What shoppers see

  • "You can buy at most 2 of iPhone in one order. You have 3, please remove 1."
  • "You can buy at most 5 of iPhone in total. You bought 4 before and have 2 in the cart, please remove 1."
  • Up to 50 rules; several broken rules are listed together. The checkout (and One Page Checkout) sends the cart back to the cart page until it is fixed.
  • All sentences are in a language file you can translate.

Safe

  • Rules are checked when saved: a product or category must be picked, whole numbers only, no negatives, plain-text names and messages.
  • Orders that are missing (no status) and other customers' orders are never counted.
  • Switch the module off and the cart is untouched. No database tables, nothing left behind.

Good to know

  • Guests are held only to the per-order limit: there is no account to count earlier orders for.
  • It checks the cart page and the checkout, it does not stop the add-to-cart click.
  • Tested on the four versions with the real admin installer, 68 to 73 checks each: limits at, over and under, categories, customer groups, earlier orders, days, other customers, messages, status off, uninstall and reinstall. Not checked in a real browser.

Screenshots

Supreme Purchase Limits — Admin settings part 1
Admin settings part 1
Supreme Purchase Limits — Backend settings
Backend settings

More modules

You May Also Need.

See all OpenCart modules