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.
It'd be nice to have an option to display the Registration Type only.
We have a View with multiple registration types per entity (in this case, a commerce product) with an Add to Cart form for each Registration row. The view is on a Product display node and displays all the products and registration types for each product. Showing the Registration Type let's the user select the appropriate type to add to the cart. (Member, non-member, early bird etc.)
It'd also be handy to show registration types on the site for anonymous users.
Questions
- What access checks would be required? The user shouldn't need access to create a registration.
- Should it provide an option to display the machine name instead of the label?
Comment | File | Size | Author |
---|---|---|---|
registration_add_registration_type_display_formatter-0.patch | 837 bytes | imclean |
Comments
Comment #1
imclean CreditAttribution: imclean commentedComment #2
Greg BoggsLooks like a small change.
Comment #3
levelos CreditAttribution: levelos at ThinkShout commentedComment #4
imclean CreditAttribution: imclean commentedGreat, thanks. How was this fixed? Was the patch committed or is this now achieved some other way?
Main reason I ask is we're using this patch and need to know if we need to make any changes after switching to a release.