? uc_webform_productize.module-451856.patch
Index: uc_webform_productize.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/uc_webform_productize/Attic/uc_webform_productize.module,v
retrieving revision 1.1.2.7
diff -u -p -r1.1.2.7 uc_webform_productize.module
--- uc_webform_productize.module	3 Apr 2009 21:30:57 -0000	1.1.2.7
+++ uc_webform_productize.module	4 May 2009 16:05:58 -0000
@@ -138,9 +138,23 @@ function uc_webform_productize_nodeapi(&
       case 'view':
         $ids = uc_webform_productize_lookup($node->nid);
         $pnode = node_load($ids->pid);
+        $context = array(
+        	'location' => 'product-view',
+        	'class' => array(
+        		'product',
+        		'sell',
+        	),
+        	'subject' => array(
+        		'node' => $pnode,
+        		'field' => 'sell_price',
+        	),        
+        );
+        $options = array(
+        	'label' => TRUE,
+        );
         $node->content['display_price'] = array(
 //Might be a better way of doing this?
-          '#value' => '<div class="display_price">$'. $pnode->sell_price .'</div>',
+          '#value' => theme('uc_product_price', $pnode->sell_price, $context, $options),
           '#access' => 1,
           '#weight' => -1,
         );
@@ -309,4 +323,4 @@ function uc_webform_productize_order($op
       //drupal_set_message('<pre>'. print_r($arg2, TRUE) .'</pre>');
   }
 }
-*/
\ No newline at end of file
+*/
