ubercart 3 Restrict total cart quantity amount needed to checkout (e.g. no more than 8 bulk bags)

StackOverflow https://stackoverflow.com/questions/13943484

  •  10-12-2021
  •  | 
  •  

Question

I am trying to accomplish a task in Drupal 7 with Ubercart 3. The task is to Restrict total cart quantity amount needed to checkout (e.g. no more than 8 bulk bags). This applies only to few items, where if item 1 is 8, do not allow to add more items(which have the max of 8 bulk bags as well) but allow to add other items. Item 1 have max quantity of 8 and item2 as well. In the cart if item1 have 5 then allow to add 3items to item2 or item3. Thanks in advance

Was it helpful?

Solution

Used custom module, where I have restricted the add to cart and update cart.

OTHER TIPS

The Ubercart Product Minimum & Maximum may fit your needs. Enables per-product minimums and maximums on add to cart cart and on checkout:

http://drupal.org/project/uc_product_minmax

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top