Used custom module, where I have restricted the add to cart and update cart.
ubercart 3 Restrict total cart quantity amount needed to checkout (e.g. no more than 8 bulk bags)
Pergunta
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
Solução
Outras dicas
The Ubercart Product Minimum & Maximum may fit your needs. Enables per-product minimums and maximums on add to cart cart and on checkout:
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow