Was having some trouble with the way #drupalcommerce injects product variation fields into the product entity (what was product display).
I wrote a little module to get around it. https://github.com/andybroomfield/commerce_injected_fields_display
#drupal #webdev