Index: uc_aac.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/uc_aac/uc_aac.module,v
retrieving revision 1.24
diff -u -p -r1.24 uc_aac.module
--- uc_aac.module	9 Aug 2010 17:59:07 -0000	1.24
+++ uc_aac.module	10 Feb 2011 09:48:17 -0000
@@ -1,5 +1,5 @@
 <?php
-// $Id: uc_aac.module,v 1.24 2010/08/09 17:59:07 cyu Exp $
+// $Id: uc_aac.module,v 1.10.2.21 2010/08/09 17:59:35 cyu Exp $
 
 /**
  * @file
@@ -125,7 +125,12 @@ function uc_aac_form_alter(&$form, $form
               }
             }
             else {
-              $price = $option->price - $product->attributes[$aid]->options[$selected_oid]->price;
+				$price = $option->price; 
+				//Removed below line as this updates the prices dynamically, 
+				//however this is not needed as prices already set.
+				
+				
+				// - $product->attributes[$aid]->options[$selected_oid]->price;
             }
 
             // Rebuild option text
@@ -133,12 +138,16 @@ function uc_aac_form_alter(&$form, $form
             if ($price != 0) {
               $oid_text = ', ';
               if ($price > 0) {
-                $oid_text .= '+'. uc_price($price, $context);
-              }
-              else {
-                $oid_text .= '('. uc_price($price, $context) .')';
-              }
-            }
+                $oid_text .= uc_price($price+$form['node']['#value']->cost, $context); //Will show price as (Val), $(cost+attribute)
+              }                                                     
+              else {                                                
+                $oid_text .= uc_price($price+$form['node']['#value']->cost, $context); //Will show price as (Val), $(cost-attribute)
+              }                                                       
+            }                                                         
+			else {                                                    
+				$oid_text = ', ';                                     
+				$oid_text .= uc_price($price+$form['node']['#value']->cost, $context); //Will show price as (Val), $(cost)
+			}
             $options[$option->oid] = $option->name . $oid_text;
           }
         }
