This module is a contributed module for the Drupal Commerce. I saw so many people complaining about the separation between Product and Product Display in Drupal Commerce module. This module is created in order to solve that problem. This module can simplify the Product Display creation process by providing option the create it at the same time with Product creation.
Features
Provide the Product Display creation form along with the Product creation form. User can fill that form to create Product Display at the same time with Product creation.
That form, which used to create Product Display, will be the same as the form when user try to create Product Display manually. So, If you have additional fields in your Product Display node type, those fields will also appear in the form.
If the product is referenced by only one Product Display, the Product Display content is displayed directly to the form, so it will be automatically updated when you save the product.
If the product is referenced by more than one Product Display, the referencing Product Displays will be displayed in list, so you can also update the Product Display by clicking the link from that list first.
The module extends the Views Fields display, so you can still assign fields and alter them using standard Views options: links, labels, booleans etc. The resulting template will have a $content variable available that contains an object with the mapped fields by field name.
Template function
Views resolves which template to use via theme hooks. This module adds 1 theme hook that starts with custom_template__. You don't include that part in the Template function field. The template file will have to include that part though: