We're implementing an RNG system for commerce on a particular site.
The current commerce_rng checkout workflow is quite cumbersome when bulk registering a bunch of registrants. For this particular site, the most common registration scenario is for a business admin to sign up a bunch of registrants, often without having their names ahead of time. We have RNG working to allow a purchase without filling all the slots on the registration, and the admin can come back to edit who is on the registration post-purchase.
However, there is no way to limit the number of registrants on a registration after purchase. And, the checkout flow is cumbersome if you want to add multiple attendees at once.
To improve these scenarios, I am thinking of adding a base field on the registration type of 'registrant_qty', which will be used as both a validation constraint, and for the identities tab.
That base field should only get set programmatically, and if unset, will not be used -- e.g. the behavior falls back to allowing registrations to add or remove based on other constraints, such as the max/min values for the event.
So I'm planning to make the following changes:
- Add base field "registrant_qty" to registration entity.
- Change RegistrationRegistrantEditForm to be actually editable, with the row count set to the registration_qty value, and fields shown from the Registrant entity -- for this client, we will be setting up fields for First Name, Last Name, Email Address, Cell phone, Company, Position.
- Support "stub" identities -- for identities not actually created, auto-generate a label and allow editing the identity later.
Comments
Comment #2
freelockMost recent push now gets this close to done --
- Registrants are now editable
- Registrations edit form now allows editing registratants, removing identities, setting field values
Right now, however, the only supported "identity" type is user, and "anonymous" -- e.g. no identity, registrant only.
Comment #3
freelockThis is fixed by the recent major push.