Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This is a demo module showing how to enforce a maximum quantity a user can order per product (line item) using rules.
All the module does is create a new rule “max order quantity” that enforces a maximum quantity of 5.
You can use this approach to create more complex custom rules for controlling the quantities users can order.

Also checkout RSpliet's sandbox: Commerce Product limit for another approach based on the Commerce Stock.

Also note that in the future it version 2 of the stock module may open new approaches to quantity control, see Commerce_stock Roadmap for more information

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution No further development
    No longer developed by its maintainers.
  • Project categories: E-commerce, Automation
  • Created by guy_schneerson on , updated