Articles on: Madgic Order Limit

Auto-adjust order limit on low stocks

Why use this feature?

Have you ever faced one of these situations?

  • A customer buys most of your remaining inventory in a single order.
  • A popular product is almost sold out, but customers can still purchase large quantities.
  • You want to keep products available for more customers as inventory gets lower.
  • You manually adjust purchase limits every time stock changes.

Dynamic Purchase Limits solves this problem automatically. Instead of using one fixed maximum quantity for a product, you can create inventory-based purchase limits that automatically adjust according to your current stock level.

How to Set Up Dynamic Purchase Limits Based on Inventory


Step 1: Create a Product Quantity Rule
  1. Open Validation Rules
  2. Create a new rule or edit an existing one
  3. Set Target Type to Product
  4. Configure your rule


Note: This rule is only available for Product target in this release


Step 2: Enable Auto-adjust Purchase Limits

Enable "Apply Stock Thresholds for your product rule". Once enabled, a threshold configuration table will appear.



Step 3: Create Your First Inventory Threshold

Each threshold contains:

  • When stock ≤: the inventory level that will trigger the rule
  • Max limit: the maximum quantity customers can purchase when inventory reaches the stock level

Example:

When Stock ≤

Max Limit

100

5

This means: When product inventory reaches 100 units or lower, customers can purchase a maximum of 5 units per order.


Step 4: Save and Activate
  1. Review all threshold levels
  2. Save the rule
  3. Ensure the rule is active

Best Practices

  • Product Launches: Prevent a small group of customers from purchasing all available inventory during new product releases.
  • Limited Edition Products: Gradually reduce purchase limits as stock decreases to maximize customer reach.
  • Seasonal Promotions: Protect promotional inventory from being depleted too quickly.
  • High-Demand Products: Keep products available longer by automatically tightening purchase limits when stock becomes scarce.

Frequently Asked Questions

  1. Does this work for collections or cart rules?

No. Dynamic Purchase Limits only work with rules targeting individual products.

  1. What happens when inventory is above all thresholds?

Your original rule will continue to apply.

  1. Can I create multiple inventory levels?

Yes. You can create as many threshold tiers as needed.

  1. Can two thresholds use the same stock level?

No. Each stock level must be unique.


  1. Can the maximum limit be higher than the stock threshold?

No. The maximum limit must always be less than or equal to the stock threshold value.

  1. What happens if inventory changes?

The app automatically evaluates current inventory and applies the appropriate purchase limit without requiring manual updates.

Updated on: 14/06/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!