Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Now you can just have one file field. It would be great to be able to create more than one... Wouldn't make more sens to activate the license functionality when you add a file field on a product type?
Comments
Comment #1
bojanz CreditAttribution: bojanz commentedNobody is stopping you from creating additional file fields on your products.
They just won't be used for licensing.
No.
Comment #3
isaac.niebeling CreditAttribution: isaac.niebeling commentedAllow me to present a use case for allowing multiple fields:
Say we've got a conference that they're buying registration to. As part of their registration cost, they get access to the presentation files and audio recordings from sessions at the conference. I'd like to be able to have a separate field for MP3s vs PDFs, for ease of use for the site editor, for organization on the file system, and so that the files can be ordered in some fashion on the frontend for registrants. Multiple fields would solve all of these issues.
Without having looked at the code yet, I have no idea what amount of effort it would take to enable this. That's my next step, though I'd welcome feedback on my use case (and possible alternative methods of achieving my goals -- I may be missing something).