Adding extra input fields to Checkout page based on product Quantity
I'm using Drupal Commerce to 'sell' places on workshops. Everything works well except I need to gather a little information about everyone booked on the workshop.
For instance, if one person books four places on a course, I need to get their contact details plus the details of the other three attendees.
I can manually assign a set of fields for the Main Contact using a fieldgroup but is there a way to dynamically create an input field for the name and number of the other people attending (based on the quantity purchased)?
Has anyone seen or tried anything like this before?
Any help or suggestions would be greatly appreciated.