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.

Instructions:

  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 7

Development has begun on a Drupal 7 version. All new features will go into the 7.x-1.x-dev version until a stable release is created. Eventually the new features could be backported to the Drupal 6. New features will include:

#348049: Configurable Qty
#416422: Add Default Qty Restrictions Per Each Product Class
#416424: Add Life Time QTY Restriction Feature

Credits:

Initial developed was sponsored by Flat World Knowledge.
Developed by Ryan (rszrama) of Commerce Guys.
Co-maintained and further developed by Tom (mrfelton) of SystemSeed.
Co-maintained by Raul (RaulMuroc) of Metaverso S.L.

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

Downloads