The default formatter defined for commerce_customer_profile_reference is commerce_customer_profile_reference_view but this formatter is not implemented by the module, the field formatter is actually called commerce_customer_profile_reference_display. If you use the customer profile reference field to, say, add a reference to shipping infomation to the order entitiy then it will not render.

The workaround is to use hook_field_info_alter to change the default formatter to commerce_customer_profile_reference_display but it should be fixed in commerce_customer.module.

Comments

rszrama’s picture

Status: Active » Fixed

Workaround not necessary - this obviously needed to be fixed in core. Nice catch! Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.