How to apply a product stock quantity based min/max rule

With this feature, you can apply minimum and maximum purchase quantity limits for products based on their available stock levels. This helps manage inventory effectively, ensuring customers can only buy a reasonable amount of items based on current stock availability.

Steps to Create Product Stock Quantity-Based Rules:

  1. In the plugin settings, navigate to the "Manage Rules" page and click the "Add New" button to start creating a new rule.
  2. Under the "Configuration" section, set the rule status to Active or Inactive. Assign a descriptive name to the rule, such as "Product Stock-Specific Rule", to easily identify it later.


    Admin: Set rule status and name
  3. In the "Advanced Rules > Conditions" section, select the Stock Quantity option. Here, you can set conditions based on the product’s stock, such as: Equal to a specific quantity, Greater than or less than a defined stock level, etc.
  4. In the "Advanced Rules > Action" section, set the minimum and maximum purchase quantity limits for the product based on the stock condition you've defined. This ensures customers can only order within the specified quantity range if the stock condition is met.


    Admin: Set stock quantity based condition and min/max limit
  5. Save your changes to apply the product stock-based min/max quantity rule.


    Front: Product with quantitly limit based on the available stock

Example Use Cases:

Limited Edition Products: For limited edition products, you may want to set a maximum quantity rule to prevent bulk purchasing. For example, you can limit each customer to purchasing only 2 units of a product when the stock drops below 20 units.

Bulk Purchases for High Stock: If you're running a promotion for products with high stock levels, you can set a minimum quantity rule to encourage bulk purchases. For instance, if the stock of a product is greater than 50 units, you can enforce a minimum purchase of 10 units to take advantage of a discount.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.