Issue #2779467 by jsacksick, nicoloye, rszrama: only perform product field injection when the referencing entity's view mode has one or more product fields visible.