Product Order Limiter
Set order limits per product
Product Description
Product Order Limiter is a powerful module that allows you to set order limits per product, controlling how many times a customer can order a specific product. This is particularly useful for limiting trial products, special offers, or promotional items to prevent abuse and ensure fair distribution.
How It Works
The module checks a customer's order history when they attempt to place an order. You can configure each product with a specific order limit (e.g., 1 time, 2 times, etc.) and choose which order statuses to check (any status, only active orders, or only completed orders). If a customer has already reached the limit, they will see a customizable error message preventing the order.
The system automatically tracks all orders and enforces limits in real-time during the checkout process. You can use placeholders like {product} and {limit} in error messages to provide clear feedback to customers. The module includes a beautiful red alert box with icon and title for displaying error messages.
Key Features
- Per-Product Limits: Set different order limits for each product (1 time, 2 times, etc.)
- Order Status Filtering: Choose which order statuses to check (any, active, completed)
- Custom Error Messages: Create personalized error messages with {product} and {limit} placeholders
- Beautiful Error Display: Red alert box with icon and title for clear error presentation
- Easy Admin Interface: Simple configuration for each product
- Automatic Tracking: System automatically tracks all orders and enforces limits
- Real-Time Enforcement: Limits are checked during checkout process
- License Protected: Secure module with license protection
- Data Preservation: Order data is preserved when module is deactivated
How to Use
- Install the module by uploading files to your WHMCS installation directory
- Activate the module in Setup > Addon Modules > Product Order Limiter
- Navigate to the module configuration page
- For each product you want to limit:
- Select the product from the dropdown
- Set the order limit (e.g., 1 for one-time only, 2 for twice maximum)
- Choose which order statuses to check:
- Any - checks all orders regardless of status
- Active - only checks active service orders
- Completed - only checks completed orders
- Customize the error message (optional):
- Use {product} placeholder for product name
- Use {limit} placeholder for the limit number
- Example: "You have already ordered {product} {limit} time(s). Please contact support if you need assistance."
- Save your settings
- Test by attempting to order the same product multiple times
- The system will automatically prevent orders that exceed the limit
This module is essential for managing trial products, promotional offers, and special deals, ensuring fair distribution and preventing abuse of limited-time offers.
Frequently Asked Questions
What is this module used for?
This module allows you to limit how many times a customer can order a specific product. It's perfect for limiting trial products, special offers, or promotional items to prevent abuse.
How do order limits work?
You set a limit for each product (e.g., 1 time, 2 times). When a customer tries to order, the system checks their order history. If they've reached the limit, they see a customizable error message and cannot complete the order.
Which order statuses are checked?
You can choose to check: Any status (all orders), Active status (only active services), or Completed status (only completed orders). This gives you flexibility in how limits are enforced.
Can I set different limits for different products?
Yes, you can set different order limits for each product. For example, you might limit a trial product to 1 order, while allowing a regular product to be ordered multiple times.
What if a customer needs to order again?
If a customer has reached their limit but needs to order again (e.g., for a legitimate reason), you can manually create the order in WHMCS admin area, or contact support to discuss exceptions.
Can I customize the error message?
Yes, you can fully customize the error message. You can use placeholders like {product} for the product name and {limit} for the limit number to create personalized messages.
Does this work with recurring subscriptions?
The module checks order history, not subscription renewals. If a customer has an active subscription that renews, that doesn't count as a new order. Only new order placements are checked.
What happens to existing orders when I add a limit?
Existing orders are not affected. The limit only applies to new orders placed after you configure the limit. Past orders are counted when checking if a customer has reached their limit.
Can I temporarily disable a limit?
Yes, you can remove the limit configuration for a product at any time. This will allow unlimited orders for that product. You can add the limit back later if needed.
Will this prevent all duplicate orders?
This module prevents customers from ordering the same product multiple times based on your configured limits. However, it doesn't prevent other types of duplicate orders - it only enforces per-product order limits.
Related Products
Giveaways Module
Fully integrated giveaway system
- Fully integrated WHMCS addon module
- Clients can join giveaway with one click ("Vote Now")
- Auto-collects participants (name & masked ID) in a live list
- Admin can schedule giveaway period (e.g., every 30 days)
- + 7 more features
Channels List
Automatic channel list management
- Works with all IPTV panels
- Sync Live Channels automatically
- Sync Movies & Series
- Supports multiple DNS for flexibility
- + 5 more features
Stream One Panel
Stream One panel integration
- Get Subscription Username/Password
- Clients Can Change Line Password
- Download M3U URL or Playlist file
- Download IPTV Applications
- + 5 more features