diff --git views/uc_views.views.inc views/uc_views.views.inc
index 3c382fe..fb5a661 100644
--- views/uc_views.views.inc
+++ views/uc_views.views.inc
@@ -1,5 +1,5 @@
 <?php
-// $Id: uc_views.views.inc,v 1.13.2.5.2.13 2010-02-27 00:14:24 hanoii Exp $
+// $Id: uc_views.views.inc,v 1.13.2.5.2.11 2009/12/16 08:30:45 madsph Exp $
 /**
  * @file
  * Views 2 hooks and callback registries.
@@ -160,6 +160,50 @@ function uc_views_views_data() {
     ),
   );
 
+  $data['uc_quote_shipping_types']['table']['group'] = t('Order product');
+  $data['uc_quote_shipping_types']['table']['join']['node'] = array(
+    'left_table' => 'uc_products',
+    'left_field' => 'nid',
+    'field' => 'id',
+    'extra' => array(
+      'field' => 'id_type',
+      'value' => 'product',
+    ),
+  );
+  $data['uc_quote_shipping_types']['table']['join']['uc_order_products'] = array(
+    'left_field' => 'nid',
+    'field' => 'id',
+    'extra' => array(
+      'field' => 'id_type',
+      'value' => 'product',
+    ),
+  );
+  $data['uc_quote_shipping_types']['table']['join']['uc_orders'] = array(
+    'left_table' => 'uc_order_products',
+    'left_field' => 'nid',
+    'field' => 'id',
+    'extra' => array(
+      'field' => 'id_type',
+      'value' => 'product',
+    ),
+  );
+
+  $data['uc_quote_shipping_types']['shipping_type'] = array(
+    'title' => t('Shipping type'),
+    'help' => t('The basic type of shipping method that will be used to deliver the product.'),
+    'field' => array(
+      'handler' => 'views_handler_field',
+      'click sortable' => TRUE,
+    ),
+    'filter' => array(
+      'handler' => 'views_handler_filter_in_operator',
+      'options callback' => 'uc_quote_shipping_type_options',
+    ),
+    'sort' => array(
+      'handler' => 'views_handler_sort',
+    ),
+  );
+
   //Make the uc_orders table visible for Views module
   //Thank you river_t for original patch (order_id, order_status and uid)!
   $data['uc_orders']['table']['group'] = t('Ubercart order');
