Ubercart compatible module.

Ubercart Restrict Qty lets you add a very basic Restrict Qty. to a product in your Ubercart store to limit the quantity of that product in the shopping cart to 1. This is useful for single purchase products or for instances where it just doesn't make sense for a customer to purchase more than one and you want to prevent it from happening.

Due to the way products are added to the cart, customers can add multiple variations of the same product to their carts (i.e. different attribute/option combinations) but never more than one of any given variation.


  1. Upload the module to your ubercart/contrib directory and enable it on your Drupal site.
  2. Browse to the product you want to have a quantity restriction as an administrator.
  3. Click on the product's Edit tab and then its Features secondary task tab.
  4. Choose Restrict Qty. from the select box and click Add.
  5. Test it out by adding the product to your cart!

If you already had a copy of that product in your shopping cart, you should empty your cart and add it again. Due to the way the module works, it won't restrict quantities on products already in customers' shopping carts.

Drupal 6

Only security issues. Minimally maintained.

Drupal 7

Port to Drupal 7 version has been implemented. All new features will go into the 7.x-1.x-dev version until a stable release is created. Only security issues will be back ported to Drupal 6.

Drupal 8

Port to Drupal 8 version is not still on work. Anyway an issue has been made to begin work on that as soon as we have a Drupal 7 stable version.

#2449455: Port to Drupal 8


Initial developed was sponsored by Flat World Knowledge.
Developed by Ryan (rszrama) of Commerce Guys.
Co-maintained and further developed by RaulMuroc
Co-maintained and further developed by Tom (mrfelton) of SystemSeed.
Many thanks to webservant316 who contributed with patches and code in many issues.

How can you get involved?

* Write a review for this module on drupalmodules.com.
* Report any bugs, feature requests, etc. in the issue tracker.
* Contact the maintainer with any comments, questions, or a quote for module customisations.
* Contact the co-maintainer with any comments, questions, or a quote for module customisations.

Project information