Are extra fields added with hook_entity_extra_field_info(). not available on product variation pages?

Created on 4 July 2023, about 1 year ago
Updated 5 July 2023, about 1 year ago

Is it generally impossible to render an extra field on product variation pages, because of how the variant fields are injected into product pages?

I added an extra field to the product variations with hook_entity_extra_field_info(). and I see it in the "Manage Display" Tab like it would appear on any other entity. But I can't output it. It is simply not available in the theme. If I do a {{ dump() }} in the product variation template it is not listed at all.

💬 Support request
Status

Closed: won't fix

Version

2.36

Component

Product

Created by

🇩🇪Germany marcusx

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @marcusx
  • Status changed to Closed: won't fix about 1 year ago
  • 🇮🇱Israel jsacksick

    With the abundance of support available in Drupal Answers, the Drupal focused Stack Exchange site, we are no longer answering support requests in the issue queue.

    Support requests opened here will be closed (won't fix), so please search for existing answers or post new questions at:

    https://drupal.stackexchange.com (using the drupal-commerce tag)

Production build 0.71.5 2024