This is an example implementation of how an integration between RNG and Commerce could work.
It makes the following assumptions:
- The Commerce product type is called 'event'.
- For RNG only a single identity type is configured.
- A customer adds a product of type 'event' to their cart.
- The customer continues to checkout.
- When arriving at the step 'Event registration', the customer can add, edit and remove registrants for each event in the cart.
- The customer completes checkout.
- Commerce 8.x-2.12 or later.
- RNG 8.x-1.5 or later with a patch applied (see section "Patches" below).
When using RNG 8.x-1.5 (the latest release at the time of writing), you'll need to apply the patch "rng-152-event-type-get-identity-type-entity-form-mode.patch" to RNG.
- When adding, editing or removing registrants on checkout via AJAX, the checkout panes are not updated.