I don't know on how to validate the quantity, meaning if user add the quantity more than In stock, it should not allow the user to add more quantity than In stock(quantity available), I think it can be achieved in rules, but Im not sure to do that any pointer would be helpful!


commerce stock module check the quantity and prevent add max than stock,also if the stock be 0 it change add to cart button to out of stock.

Also if you want to implement it by yourself you can do it with rules

| improve this answer | |
  • I already installed commerce stock module, but it is not preventing the quantity! any idea ? – Bala Sep 11 '14 at 7:26
  • I think this is a bug in commerce stock module – Bala Sep 11 '14 at 7:41
  • 1
    Sorry its my mistake, I forget to enable the commerce simple stock rules module. – Bala Sep 11 '14 at 8:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.