? 956348-price.patch
Index: uc_node_checkout.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/uc_node_checkout/uc_node_checkout.module,v
retrieving revision 1.8.2.12
diff -u -p -r1.8.2.12 uc_node_checkout.module
--- uc_node_checkout.module	26 Oct 2010 18:48:58 -0000	1.8.2.12
+++ uc_node_checkout.module	29 Oct 2010 14:36:58 -0000
@@ -494,7 +494,18 @@ function uc_node_checkout_product_select
 
   // Loop through the query results and add options for the select list.
   while ($node = db_fetch_object($result)) {
-    $options[$node->nid] = check_plain($node->node_title);
+    // If the view includes the product's price,
+    // display that in the list of options.
+    if (isset($node->uc_products_sell_price)) {
+      $context = array(
+        'revision' => 'formatted',
+        'type' => 'product',
+        'class' => array('product', $node->uc_products_sell_price),
+        'field' => $node->uc_products_sell_price,
+      );
+      $price = ' - '. uc_price($node->uc_products_sell_price, $context);
+    }
+    $options[$node->nid] = check_plain($node->node_title) . $price;
   }
 
   // If no nodes were found but a single nid was specified...
