Make altering the order view optional

Created on 23 November 2016, over 8 years ago
Updated 28 February 2025, about 1 month ago

Currently registration info is always added to the order view due to commerce_registration_entity_view_alter().

However often it is not needed to show this info. It would be great to make this optional via (global and per product) settings.

Even better would be to not use this alter hook, but provide a pseudo field which then per view mode of the order can be set to visible or invisible.

In our case we send html mails of orders, and the table with registration data is full of links we don't want to see, and hiding it altogether is even preferable..

✨ Feature request
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands dmsmidt Amsterdam πŸ‡³πŸ‡±πŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024