hook_field_extra_field

Define extra fields (display) in code for Drupal Commerce products with auto AJAX handling and product+product node types handling

Today I had the challenge to add some extra (programatically calculated) fields to show in ‎Drupal Commerce‎ product display nodes. In our specific case it was a "base price" that should be shown additionally to calculated SALE prices.