At the moment I'm not seeing any check for capacity at the add to basket stage. As just an authenticated user, no special roles, I can add a quantity of 300 registration product to my basket where that product only has a remaining capacity of 1. Is that expected behaviour?

Comments

maxplus’s picture

Issue summary: View changes

I only see a check when adding items to the cart when the event is fully booked (no spaces available).
In every other situation, starting from one available space, you can simply overbook (see also ttps://www.drupal.org/node/2126417)

That is my experience with the current stable and dev version.

maxplus’s picture

In My use case, I think I will just work with Commerce Stock.
Then I will set the default capacity to unlimited and let the Commerce Stock module control the capacity.

Maybe a better approach then using the capacity-field from Registration

blacklabel_tom’s picture

Hi maxplus,

I agree that the capacity settings should stop people over booking, but that stock may do this in a more robust way.

If you could provide steps to re-produce on overbooking I'll try to take a look at it.

Cheers

Tom

blacklabel_tom’s picture

Version: 7.x-3.x-dev » 7.x-2.x-dev

Hi Maxplus,

The latest 2.x dev should now prevent overbooking.

Cheers

Tom

blacklabel_tom’s picture

Status: Active » Closed (works as designed)