diff --git a/uc_cart/uc_cart.module b/uc_cart/uc_cart.module
index 8cd2947..d0f5f61 100644
--- a/uc_cart/uc_cart.module
+++ b/uc_cart/uc_cart.module
@@ -1354,7 +1354,7 @@ function uc_cart_get_contents($cid = NULL, $action = NULL) {
 
   if (!isset($items[$cid])) {
     $items[$cid] = array();
-    $result = db_query("SELECT c.*, n.title, n.vid FROM {node} n INNER JOIN {uc_cart_products} c ON n.nid = c.nid WHERE c.cart_id = '%s' ORDER BY c.cart_item_id ASC", $cid);
+    $result = db_query("SELECT * FROM {uc_cart_products} WHERE cart_id = '%s' ORDER BY cart_item_id ASC", $cid);
 
     while ($item = db_fetch_object($result)) {
       $items[$cid][] = uc_cart_get_item($item);
@@ -1417,7 +1417,7 @@ function uc_cart_get_total_qty($cid = NULL) {
  */
 function uc_cart_get_item($item) {
   if (!is_object($item)) {
-    $item = db_fetch_object(db_query("SELECT c.*, n.title, n.vid FROM {node} n INNER JOIN {uc_cart_products} c ON n.nid = c.nid WHERE c.cart_item_id = '%d'", $item));
+    $item = db_fetch_object(db_query("SELECT * FROM {uc_cart_products} WHERE cart_item_id = '%d'", $item));
   }
 
   if (empty($item)) {
@@ -1425,6 +1425,8 @@ function uc_cart_get_item($item) {
   }
 
   $product = node_load($item->nid);
+  $item->vid = $product->vid;
+  $item->title = $product->title;
   $item->cost = $product->cost;
   $item->price = $product->sell_price;
   $item->weight = $product->weight;
