diff --git a/inline_entity_form.module b/inline_entity_form.module
index 48e8f9f..08ddad3 100644
--- a/inline_entity_form.module
+++ b/inline_entity_form.module
@@ -59,7 +59,7 @@ function inline_entity_form_field_widget_info() {
 
   $widgets['inline_entity_form'] = array(
     'label' => t('Inline entity form'),
-    'field types' => array('commerce_product_reference'),
+    'field types' => array('commerce_product_reference', 'commerce_line_item_reference'),
     'settings' => array(),
     'behaviors' => array(
       'multiple values' => FIELD_BEHAVIOR_CUSTOM,
@@ -97,6 +97,16 @@ function inline_entity_form_settings($field, $instance) {
     }
   }
 
+
+  if ($field['type'] == 'commerce_line_item_reference') {
+    //#TODO figgure out what needs to be se for the bundles key here....
+    // right now its a hack.
+    // dsm($instance);
+    $settings['entity_type'] = 'commerce_line_item';
+    $settings['column'] = 'line_item_id';
+    $settings['bundles'] = array();
+  }
+
   // By default, allow entities of all bundles to be created.
   if (empty($settings['bundles'])) {
     $info = entity_get_info($settings['entity_type']);
