diff --git uc_affiliate2.module uc_affiliate2.module
index 2bd26e1..62a33b2 100644
--- uc_affiliate2.module
+++ uc_affiliate2.module
@@ -262,6 +262,16 @@ function uc_affiliate2_init() {
   uc_affiliate2_click();
 }
 
+/**
+ * Implementation of hook_views_api().
+ */
+function uc_affiliate2_views_api() {
+  return array(
+    'api' => '2.0',
+    'path' => drupal_get_path('module', 'uc_affiliate2') .'/views',
+  );
+}
+
 /**
  * Get all of the selected products, used in affiliate/links after the form
  * has been submited.
diff --git views/uc_affiliate2.views.inc views/uc_affiliate2.views.inc
new file mode 100644
index 0000000..0e9c341
--- /dev/null
+++ views/uc_affiliate2.views.inc
@@ -0,0 +1,120 @@
+<?php
+// $Id$
+
+/**
+ * @file
+ * Views 2 hooks and callback registries.
+ */
+
+/**
+ * Implementation of hook_views_data().
+ */
+function uc_affiliate2_views_data() {
+  $data['uc_affiliate2_product_commission']['table']['group'] = t('UC Affiliate2');
+
+  $data['uc_affiliate2_product_commission']['table']['join'] = array(
+    'node' => array(
+      'left_field' => 'nid',
+      'field' => 'nid',
+    ),
+  );
+
+  $data['uc_affiliate2_commission']['commission_structure'] = array(
+    'title' => t('Product Commission Structure'),
+    'help' => t('The product commission structure.'),
+    'field' => array(
+      'handler' => 'uc_affiliate2_handler_field_commission_structure',
+      //'click sortable' => TRUE,
+    ),
+    'sort' => array(
+      'handler' => 'views_handler_sort',
+    ),
+    'filter' => array(
+      'handler' => 'views_handler_filter_string',
+    ),
+    'argument' => array(
+      'handler' => 'views_handler_argument_string',
+    ),
+  );
+
+  $data['uc_affiliate2_commission']['table']['group'] = t('UC Affiliate2 Order');
+
+  $data['uc_affiliate2_commission']['table']['join'] = array(
+    'uc_orders' => array(
+      'left_field' => 'order_id',
+      'field' => 'order_id',
+    ),
+    'users' => array(
+      'left_field' => 'uid',
+      'field' => 'aid',
+    ),
+  );
+
+  $data['uc_affiliate2_commission']['aid'] = array(
+    'title' => t('Affiliate ID'),
+    'help' => t('The ID of the affilite user.'),
+    'field' => array(
+      'handler' => 'views_handler_field_numeric',
+      'click sortable' => TRUE,
+    ),
+    'sort' => array(
+      'handler' => 'views_handler_sort',
+    ),
+    'filter' => array(
+      'handler' => 'views_handler_filter_numeric',
+    ),
+    'relationship' => array(
+      'base' => 'users',
+      'field' => 'uid',
+      'handler' => 'views_handler_relationship',
+      'label' => t('Affiliate User'),
+    ),
+  );
+  $data['uc_affiliate2_commission']['commission'] = array(
+    'title' => t('Order Commission'),
+    'help' => t('The order affiliate commission structure.'),
+    'field' => array(
+      'handler' => 'uc_views_handler_field_money_amount',
+      'click sortable' => TRUE,
+      'float' => TRUE,
+    ),
+    'sort' => array(
+      'handler' => 'views_handler_sort',
+    ),
+    'filter' => array(
+      'handler' => 'views_handler_filter_float',
+    ),
+  );
+  $data['uc_affiliate2_commission']['commission_notes'] = array(
+    'title' => t('Order Commission notes'),
+    'help' => t('The order affiliate commission notes.'),
+    'field' => array(
+      'handler' => 'views_handler_field_string',
+    ),
+    'sort' => array(
+      'handler' => 'views_handler_sort',
+    ),
+    'filter' => array(
+      'handler' => 'views_handler_filter_string',
+    ),
+  );
+
+  return $data;
+}
+
+
+/**
+ * Implementation of hook_views_handlers().
+ */
+function uc_affiliate2_views_handlers() {
+  return array(
+    'info' => array(
+      'path' => drupal_get_path('module', 'uc_affiliate2') .'/views',
+    ),
+    'handlers' => array(
+      'uc_affiliate2_handler_field_commission_structure' => array(
+        'parent' => 'views_handler_field',
+      ),
+    ),
+  );
+}
diff --git views/uc_affiliate2_handler_field_commission_structure.inc views/uc_affiliate2_handler_field_commission_structure.inc
new file mode 100644
index 0000000..226493d
--- /dev/null
+++ views/uc_affiliate2_handler_field_commission_structure.inc
@@ -0,0 +1,16 @@
+<?php
+// $Id$
+
+/**
+ * @file
+ * Views handler: Affiliate2 commission structure field.
+ */
+
+/**
+ * Return a value to display in the View.
+ */
+class uc_affiliate2_handler_field_commission_structure extends views_handler_field {
+  function render($values) {
+    return unserialize($values->uc_affiliate2_product_commission_commission_structure);
+  }
+}
