This is meant to support commerce workflows, where a customer may purchase a fixed number of registrations, and provide registrant info after purchase. By setting a value on this new field, the registration entity can prevent more registrants getting added to a registration than have been purchased.

Generally this value should get set programmatically, rather than exposed on an editing form where a user might update it.

Comments

freelock created an issue. See original summary.

freelock’s picture

Status: Active » Fixed

Added new base field, methods, and validation that throws an error if the qty is exceeded. Also checks for the max and min registrants on the event.

  • freelock committed 3ae021c on 8.x-2.x
    Issue #3102991 by freelock: Add optional "registrant_qty" field to...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.